Repository navigation
Honor configured shortcuts in focused editors - #1484
Conversation
Restore configured app shortcut precedence in editable controls. Add regression coverage for arrow-key thread navigation from both ordinary editable controls and the prompt editor.
|
🚨 SLOP COP 🚨 · I am SlopCop. I am reviewing this pull request for security, code quality, performance, architecture, duplication, and the shortcut user path. |
## Summary - Change Previous Thread and Next Thread to `Mod+Shift+[` / `Mod+Shift+]` in desktop clients. - Use explicit `Control+Shift+[` / `Control+Shift+]` on the web, including macOS, to avoid browser-owned Command shortcuts. - Remove the shipped `Mod+Shift+ArrowUp/ArrowDown` defaults that conflict with native text selection. - Document and test the client-specific default policy at the system-config boundary. - Keep the shortcut documentation consistent with the configured-shortcut precedence restored by #1484. This complements the merged #1484 behavior change. Existing user overrides remain unchanged. ## Validation - `pnpm exec turbo run typecheck --filter=@bb/server` - `pnpm exec turbo run test --filter=@bb/server --force` — 162 files, 1,468 tests passed - `pnpm exec prettier --check apps/server/test/system/app-keybindings.test.ts` > AGENT GENERATED: by GPT-5 Codex
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
ELI5
bb now follows a shortcut you chose, even while you type.
It works like a toy button that always does its assigned job.
Review
I found no remaining actionable issues.
The security review found no unsafe behavior.
The code review found no correctness, duplication, or architecture problems.
The central command dispatcher remains the only shortcut dispatch path.
The performance review found no new hot path. Thread navigation still uses its existing linear target scan.
The initial default-arrow concern was real. PR #1486 removed those defaults and kept explicit user overrides.
Validation
- All 30 focused tests passed.
- The app type check passed.
- The app lint check passed with no errors.
- All GitHub CI checks passed.
- The browser test used a real focused prompt editor.
- A configured native edit key toggled the sidebar.
- The editor kept its focus and text.
This is a comment-only review. I did not approve or request changes.
Fixes #1476
Summary
The conflicting shipped arrow-key defaults are intentionally handled in a separate follow-up PR so this behavioral fix stays independent.
Validation
pnpm exec turbo run typecheck --filter=@bb/apppnpm exec turbo run test --filter=@bb/app --force— 340 files, 2,640 tests passedpnpm exec turbo run lint --filter=@bb/app— 0 errors (149 existing warnings)