Repository navigation
fix(web): Tab from a new thread's composer reaches the project picker - #10
Merged
Merged
Conversation
JoshuaHayesWasHere
force-pushed
the
main
branch
from
November 19, 2026 21:10
ef87d68 to
822cd86
Compare
JoshuaHayesWasHere
force-pushed
the
t3/new-thread-tab-focus-project-picker
branch
from
November 19, 2026 21:14
e34221c to
18b432c
Compare
… first On a new-thread tab the project picker sits above the composer, so Tab from the message box skipped it and went to the composer's own controls. Tab now goes message box, picker (the highlighted project), then the control Tab reached before. Shift+Tab reverses it, and arrow keys move between projects.
… through the picker The picker rows stayed in the page's Tab order, so Shift+Tab from the composer landed on them and the next Shift+Tab sent focus back to the composer. The rows now take focus only through the composer's Tab, and IME composition keeps Tab.
…d ChatView keeps no closure for it An overflowing list with no tabbable rows became a Tab stop in Chromium, so it now opts out too. The overlay's handler is a module function, which keeps ChatView's replaced thread data collectable.
JoshuaHayesWasHere
force-pushed
the
t3/new-thread-tab-focus-project-picker
branch
from
November 19, 2026 21:15
18b432c to
9374e30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I open a new thread tab with the keyboard and want to switch its project before typing. Tab from the composer skipped the project picker above it and went to the composer's own buttons, so the picker was out of reach without the mouse.
Now Tab from the composer goes to the highlighted project in the picker. The next Tab goes on to the button that Tab reached before. Up and down arrows move between projects, and Enter picks one. Shift+Tab walks the same path backward and then leaves the pane. Focus still starts in the composer, so typing right away works as before.
What changed
Evidence
Composer, Tab to the highlighted project, arrows down and up, Tab to the attach button, Shift+Tab back to the project, Shift+Tab to the composer, Shift+Tab out to the header:
Recording as mp4: https://gist.githubusercontent.com/JoshuaHayesWasHere/e9a60f282f167691594504ad5fc1b433/raw/aafe2179f21c8b0cabd67b622ecf715d69aacf01/tab-order.mp4
Verification
Playbook: feature.
draftHeroTabOrder.browser.test.tsxcovers the full Tab, arrow and Shift+Tab order, including a list that scrolls.ChatViewkept replaced thread data alive. The handlers are now module functions (9374e30), and the test passes again.vp run check:changed: format, lint, knip, typecheck, react compiler and the changed tests pass, except "opens a linked Linear issue from an inactive thread's sidebar badge". That test fails the same way on base on this machine. It times out on a 404 from a localhost endpoint, and it passes in CI on main.Not verified
Reviewed with neon-loop: 3 rounds with Gemini 4 Neon at high. Neon verdict: APPROVE.
Created with Claude Opus 5.5 in Claude Code, running in T3 Code.