zulip-terminal
zulip-terminal copied to clipboard
TRACKING: Improve hotkey descriptions, categories & accuracy
Description
The current help is organized into categories, with each hotkey falling into one of these, with a matching description.
As hotkeys have developed over time, they have been placed into best-fit categories, and the placement and categories themselves have been slowly reworked in the past as hotkeys become more widespread. We've now reached a significant set of documented hotkeys, where placement and description has become in need of reworking to improve the utility of the help system.
Improving hotkey category placement has benefits for the general help menu. Hotkey description improvements also have long-term benefits for supporting development work on the contextual help system (#515, #290), with which this work may overlap.
- [ ] Find hotkeys missing or not listed in the help
- [x] urwid-readline keys (#1494)
- [ ] Lint for missing hotkeys
- [ ] POSSIBLE adjusting autocorrect hotkey?
(
ctrl f=autocorrect, overridingright;ctrl bnot documented)
- [ ] narrow and composing/replying from user list (#1515)
- [ ] narrow from left panel (buttons, not search) (POSSIBLE to combine button activation with hotkey COMMAND?)
- [x] urwid-readline keys (#1494)
- [ ] Indicate/lint hotkeys whose presence in
keys.pyis for help only- [ ] urwid-readline [library handles all of this] (#1498 ?)
- [ ] exiting app via
ctrl c? [implicitly handled by signal-handler] - [ ] DISCUSS linting generally for COMMANDS not directly used?
- [ ] Clarify hotkeys which are too general
- [x] 'Enter' [Do-search vs New-line vs Trigger-widget] (#1497)
- [x] 'Esc' [Clear-search vs Exit-compose vs Exit-popup] (#1514)
- [ ] Use unambiguous consistent verbs/nouns in descriptions (possibly similar to web app?)
- [ ] Migrate away from confusing API-specific narrow (noun) + narrowing (verb) usage
- [ ] Capitalize Nouns (#1496, )
- [ ] Related work: Glossary to support use across ZT ('popup' vs 'menu', user card/profile?, panels?, Compose 'box'?)
- [ ] Add categories: limit users reading long disconnected category lists, avoid parentheses
(avoid too many very short categories (< 4 items))
- [x] Editing/urwid (#1494)
- [ ] "Narrowing" commands (#1516)
- [ ] "Entering compose" commands (#1520)
- [ ] DISCUSS Per-popup categories (remove popup parentheses) (#1515)
- [ ] DISCUSS right-panel (remove user-list parentheses) (#1515)
- [ ] DISCUSS left-panel (for narrowing)
- [ ] DISCUSS allowing hotkeys to appear in multiple categories? (raised by Niloth via #1519)
- [ ] DISCUSS prioritizing presence of text-entry commands in help, or not?
- [ ] backspace (not present) demonstrates behavior of
ctrl h(present) - [ ] enter (present) demonstrates behavior of multiline text entry (vs enter-to-send)
- [ ] backspace (not present) demonstrates behavior of
- [ ] Improve synchronization with urwid widget hotkeys
- [x] Indicate
spaceactivates/triggers widgets (#1497) - [ ] POSSIBLE integration of urwid commandmap's? (can we benefit from them?)
- [x] Indicate
- [ ] POSSIBLE key adjustments
- [ ] Remove
S? (no longer in web app?) Retain command but hide, for existing users?
- [ ] Remove
- [ ] DISCUSS Include contextual vs next-unread narrowing in descriptions?
NOTE:
- Initial discussion in zulip-terminal > Re-Categorization of Hotkeys started by @Niloth-p
- The above tasks/aspects are inspired by the above discussion and subsequent related PRs
- As work progresses, tasks may be added/removed/edited/closed as-appropriate
DISCUSSis intended to suggest this (or sub-tasks) likely needs further discussionPOSSIBLEare more speculative points- Due to the above points, not all tasks will likely be completed before this issue is closed
Further summarized points to ensure are integrated:
- from @Niloth-p's follow-up points: (https://github.com/zulip/zulip-terminal/pull/1516#issuecomment-2187568271)
- All Messages -> Combined Feed everywhere
- All DMs -> your DM feed or equivalent
- Replace "narrow" with "message view" or others in user-facing documentation like the user tutorial (similarly "narrowing", in some way)
- Consider casefix changes to parts of the UI like - All Messages and Direct Messages, possibly when starting to use "feed" terminology
- Add a new key binding mentioning that 'Enter' activates narrowing buttons, vs current ACTIVATE_BUTTON (maybe in a context, since it doesn't fit in an obvious category? See #zulip-terminal>Restructure Key Bindings and Supporting Help Multi-categories #T1519).
-
Also clarify
s/Swork in stream/topic, but whileszooms in with DMs,Sdoes not zoom out - this is a benefit ofz. -
Possible FAQ entry for different hotkeys from web app, explaining history/why?
Hello @zulip/server-hotkeys members, this issue was labeled with the "area: hotkeys" label, so you may want to check it out!