Clarify Tab files/filter focus copy#121
Conversation
Greptile SummaryThis PR is a focused copy-and-behaviour-consistency cleanup. It introduces a single Key changes:
The bug fix here is subtle but meaningful: previously, pressing Tab while the filter was focused correctly toggled, but pressing Tab while the files pane was focused (or invoking the menu action) would always switch to Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Key event: Tab] --> B{focusArea}
B -->|"files"| C[setFocusArea → filter]
B -->|"filter"| D[setFocusArea → files]
C --> E[toggleFocusArea helper]
D --> E
F[Menu: Toggle files/filter focus] --> E
G[Key event: /] --> H[setFocusArea → filter directly]
I[Menu: Focus filter] --> H
style E fill:#4a90d9,color:#fff
style H fill:#888,color:#fff
Reviews (1): Last reviewed commit: "clarify Tab files/filter focus copy" | Re-trigger Greptile |
|
Thanks @ferologics! |
9bc1e14 to
64a4817
Compare
https://pi.dev/session/#8a410a9ef0ac846d8452317507dd6a14
Summary
Toggle files/filter focusTabkeybindingTesting
bun run typecheckbun run lintbun run format:checkbun test test/ui-lib.test.ts test/ui-components.test.tsx test/app-interactions.test.tsxbun test(all suites passed locally, then Bun 1.3.9 segfaulted after completion)