Skip to content

Add keyboard and mouse navigation for sidebar tabs - #60181

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/39ccb40f40560d1be850397f9597e765caa996a3
Nov 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/39ccb40f40560d1be850397f9597e765caa996a3

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Add keyboard and mouse navigation for sidebar tabs

What changed

  • Add configurable sidebar_up and sidebar_down actions to cycle through tabs with wraparound while the sidebar has focus. Default leader shortcuts use Shift-Tab / Tab, Up / Down, and k / j.
  • Support mouse-wheel tab switching over the tab strip and clickable overflow arrows when tabs do not fit.
  • Show previous/next tab shortcuts in the leader HUD and keymap picker, and preserve pane zoom when switching tabs.

Testing

Extend sidebar interaction tests and snapshots to cover overflow arrows, mouse-wheel navigation, leader shortcuts, repeated custom bindings, draft preservation, and scroll handling where the leader HUD overlaps the tab strip.

## What changed

- Add configurable `sidebar_up` and `sidebar_down` actions to cycle through tabs with wraparound while the sidebar has focus. Default leader shortcuts use `Shift-Tab` / `Tab`, `Up` / `Down`, and `k` / `j`.
- Support mouse-wheel tab switching over the tab strip and clickable overflow arrows when tabs do not fit.
- Show previous/next tab shortcuts in the leader HUD and keymap picker, and preserve pane zoom when switching tabs.

## Testing

Extend sidebar interaction tests and snapshots to cover overflow arrows, mouse-wheel navigation, leader shortcuts, repeated custom bindings, draft preservation, and scroll handling where the leader HUD overlaps the tab strip.

GitOrigin-RevId: 39ccb40f40560d1be850397f9597e765caa996a3
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/39ccb40f40560d1be850397f9597e765caa996a3 branch from 1c2ca21 to 8044c68 Compare November 7, 2026 23:18
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-07T23:18:51.127131Z 1c2ca21 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 8044c68 into main Nov 7, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/39ccb40f40560d1be850397f9597e765caa996a3 branch November 7, 2026 23:18
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 8044c686 Deployed Nov 7, 2026 by filsta1 via Generate label suggestions #62146
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants