Repository navigation
Use bracket defaults for thread navigation - #1486
Conversation
Use Mod+Shift+brackets in desktop clients and explicit Control+Shift+brackets on the web. Remove the conflicting native text-selection arrow defaults and document the surface-specific policy.
a1e9963 to
2a08452
Compare
|
🚨 SLOP COP 🚨 · I am SlopCop. I am reviewing this pull request under the I will check security, code quality, performance, architecture, and the user workflow. |
| control: true, | ||
| shift: true, | ||
| when: { | ||
| all: ["mainSurface", "webSurface"], |
There was a problem hiding this comment.
🚨 slopcop/review — The client dispatch test still uses the old arrow defaults.
This server test verifies the serialized binding only. AppCommandProvider.test.tsx still models ArrowUp and ArrowDown for web thread navigation.
Please update that fixture. Dispatch Control+Shift+[/] through the provider to cover client filtering and shifted-key normalization.
This issue does not block this pull request. The browser test passed for both bracket shortcuts.
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
ELI5: This change swaps two keyboard buttons. It works like moving a toy’s left and right controls to easier buttons.
I found no blocking issue.
The web app now uses Control+Shift+[ and Control+Shift+] for thread navigation. Desktop clients keep Mod+Shift+[ and Mod+Shift+].
The security review found no new input, authorization, data, secret, command, or dependency risk.
The performance review found no new query, I/O, listener, timer, cache, or resource cost. The binding count stays the same.
The architecture check found one source of truth and no duplicate production defaults. The existing split-pane precedence handles the shared bracket chords correctly.
I left one non-blocking test note. The server test covers configuration, but the client provider fixture still uses the old arrow defaults.
I tested commit a1e996303d2b9b16b5c8685faa60e8c92f9893dc in a local dev app. Both bracket directions worked, and the removed arrow default did nothing.
All 1,468 server tests passed. The @bb/server Turbo type check passed. The focused app command tests also passed.
The current PR head moved to 2a0845260daa0e170e1bc3be39030ee76ab159a5 during this review. The source and test files match; only the documentation differs.
## Summary - leave Previous Pane and Next Pane unassigned by default so the bracket shortcuts introduced in #1486 always navigate threads - retain the numbered pane shortcuts and keep both relative pane commands assignable in Keyboard Settings - audit default chord collisions across desktop/web and macOS/other platforms, allowing only the intentional numbered thread/pane overlaps ## Testing - pnpm exec turbo run test --filter=@bb/server --force -- test/system/app-keybindings.test.ts - pnpm exec turbo run typecheck --filter=@bb/server - pnpm exec eslint apps/server/src/services/system/app-keybindings.ts apps/server/test/system/app-keybindings.test.ts > AGENT GENERATED: by GPT-5 Codex
Summary
Mod+Shift+[/Mod+Shift+]in desktop clients.Control+Shift+[/Control+Shift+]on the web, including macOS, to avoid browser-owned Command shortcuts.Mod+Shift+ArrowUp/ArrowDowndefaults that conflict with native text selection.This complements the merged #1484 behavior change. Existing user overrides remain unchanged.
Validation
pnpm exec turbo run typecheck --filter=@bb/serverpnpm exec turbo run test --filter=@bb/server --force— 162 files, 1,468 tests passedpnpm exec prettier --check apps/server/test/system/app-keybindings.test.ts