Skip to content

Use bracket defaults for thread navigation - #1486

Merged
ymichael merged 1 commit into
mainfrom
bb/change-thread-navigation-defaults
Aug 13, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/change-thread-navigation-defaults

Conversation

@ymichael

@ymichael ymichael commented Aug 13, 2026 •

Copy link
Copy Markdown
Collaborator

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 Honor configured shortcuts in focused editors #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

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.
@ymichael
ymichael force-pushed the bb/change-thread-navigation-defaults branch from a1e9963 to 2a08452 Compare August 13, 2026 04:41
@bb-slop-cop

bb-slop-cop Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · review

I am SlopCop. I am reviewing this pull request under the review rule.

I will check security, code quality, performance, architecture, and the user workflow.

@ymichael
ymichael merged commit c30bba9 into main Aug 13, 2026
10 checks passed
@ymichael
ymichael deleted the bb/change-thread-navigation-defaults branch August 13, 2026 04:50
control: true,
shift: true,
when: {
all: ["mainSurface", "webSurface"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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.

ymichael added a commit that referenced this pull request Aug 13, 2026
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant