You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix(ui): with Vim mode off, nothing on screen names a Vim key
A user with Vim mode off clicked a folder in the sidebar and got a pane
ring around the whole sidebar and an `m` chip on the row, for a key that
did nothing. The same shape was everywhere a surface hints at its keys:
the note list's ring, the connections panel's strip and cursor card
(`j/k`, `p`), the comments panel's strip and the badges under a comment
(`n a e r d`), and tooltips promising `(a)`, `(o)`, `(x)`, `(c)`, `(3)`,
`(or m)` and `:w`. Each was gated on "panel focused and cursor row" but
never on Vim mode, while every one of those keys lives in VimNav, which
stands down entirely with Vim off. To someone who never asked for Vim it
read as a terminal.
Every such hint now reads `vimMode` next to where it renders (or takes
it as a prop where the component has no store: TasksRow, TaskStateBox
and the Kanban card, whose checkbox tooltip now names the list's real
toggle binding through `toggleKey` and nothing with Vim off). The
comments strip is no longer mounted with Vim off, so it does not hold a
blank row open under the header. The cursor styling stays in both
modes: the highlighted row is the row you clicked; only what names a
key goes. With Vim on nothing changes.
Two Tasks surfaces were the exception to the rule the lists follow
(with Vim off, single-letter keys are disabled and only arrows, Enter,
Escape, Tab and Space navigate): the Kanban board and the Tasks
calendar kept h/l, j/k, x, g, the bracket and angle keys and the
calendar's e, m, dd, T and a live with Vim off, and their hint lines
said so. They now get the same one-line guard the lists have, and their
lines name what is live: arrows, Space, Enter, Tab, drag and
right-click. The calendar panel beside a note does the same, since its
`m` grab mode showed an "h/j/k/l pick a day" banner. TasksCalendar's
handler effect also lists `vimMode` in its dependencies, which the
existing `i`/`c` gating had missed.
Verified over CDP in the built app with both stores isolated
(docs/releases/v2.55.0/tools/check-vim-off-hints.mjs, local): two
launches, Vim off then on, 28 checks reading the DOM and, for the
board, the note file after `x` and Space. app-core suite and
`npm run typecheck` clean.
0 commit comments