GeezerVison is showing github.com — Remove the bottom terminal drawer and its Ctrl+J toggle by TheAnimatrix · Pull Request #28614 · pingdotgg/t3code
Conversation
The bottom terminal drawer is the most useless feature in this app and can be removed. @t3dotgg
It duplicates the right panel's terminal surface, and it carries its own per-thread open, height, and split state plus a toggle button, a toggle command, and a Ctrl/Cmd+J keybinding. This removes all of it.
What was removed
- The drawer UI: the drawer mode of the terminal component (resize handle, height budget, composer reservation), the persistent per-thread drawer mounts, and the toggle button in the panel controls.
- The drawer's state: the terminal UI store (open, height, ids, groups) and the thread-delete cleanup that cleared it.
- The
terminal.toggle command and its mod+j default, plus the terminalOpen when-clause key that only described the drawer. It is also gone from the keybinding contract, settings key list, dispatcher contexts, composer and model picker plumbing, and docs.
- Dead code and tests that only existed for the drawer. The terminal component file is renamed to
ThreadTerminal, since it now only renders the right panel terminal.
Behavior changes
- Project actions, chat code blocks, worktree setup shells, and the sidebar's running-terminal button now open or reuse a right panel terminal instead of the drawer. Reuse picks an idle panel terminal, active one first, and otherwise opens a new one.
terminal.split, terminal.splitVertical, terminal.new, and terminal.close act on the right panel's active terminal.
- An existing
keybindings.json entry for terminal.toggle is no longer a known command, so it is ignored and reported as an invalid rule. Stale drawer state already saved in browser local storage is left alone.
Kept
The server terminal runtime, its RPCs, and the terminal viewport are unchanged. The right panel terminal, mobile terminal screens, provider sign-in terminal, and onboarding all use them.
Verification
vp run check:changed passes: format, lint, knip, typecheck of affected packages and dependents, 39 test files (508 tests, including the browser project), and the React Compiler check.
vp test run for apps/server keybindings.test.ts and ws.test.ts, and for packages/contracts keybindings.test.ts, all pass.
- Not done: a live pass in a running web or desktop client. The Ctrl+J removal and the right panel hand-off for project actions were checked through tests and types only.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The bottom terminal drawer duplicated the right panel's terminal surface.
Remove the drawer, its per-thread open/height/split state, the toggle
button, the toggle command, and the Ctrl/Cmd+J default keybinding.
Terminals now live only in the right panel. Project actions, chat code
blocks, worktree setup shells, and the sidebar's running-terminal button
open or reuse a right panel terminal instead of the drawer. The
terminal.split/new/close chords act on the right panel, and the
terminalOpen when-clause key is gone with the drawer it described.
The server terminal runtime, its RPCs, and the terminal viewport are
unchanged because the right panel, mobile, and provider sign-in use them.
An existing keybindings.json entry for terminal.toggle is reported as an
ignored invalid rule.
Approvability
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — Terminal workflows move from the bottom drawer to the right panel, and the default Mod+J toggle is removed. Human review is required to confirm this change to the default user experience.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 58a407c and 5dea5fc.
Files selected for processing: 66
-
apps/server/src/keybindings.test.ts
apps/server/src/ws.test.ts
apps/web/src/components/AppSidebarLayout.tsx
apps/web/src/components/ChatView.logic.ts
apps/web/src/components/ChatView.tsx
apps/web/src/components/PersistentThreadTerminals.tsx
apps/web/src/components/ReopenClosedViewShortcut.browser.test.tsx
apps/web/src/components/ReopenClosedViewShortcut.tsx
apps/web/src/components/Sidebar.tsx
apps/web/src/components/ThreadTerminal.browser.test.tsx
apps/web/src/components/ThreadTerminal.test.ts
apps/web/src/components/ThreadTerminal.tsx
apps/web/src/components/chat/ChatComposer.tsx
apps/web/src/components/chat/ChatTerminalDrawers.tsx
apps/web/src/components/chat/ComposerControlsBar.tsx
apps/web/src/components/chat/ModelPickerContent.tsx
apps/web/src/components/chat/PanelLayoutControls.tsx
apps/web/src/components/chat/ProviderModelPicker.tsx
apps/web/src/components/chat/useChatShortcuts.browser.test.tsx
apps/web/src/components/chat/useChatShortcuts.ts
apps/web/src/components/chat/useChatTerminalActions.ts
apps/web/src/components/chat/useComposerStash.ts
apps/web/src/components/chat/usePasteToFocusComposer.ts
apps/web/src/components/chat/useWorktreeSetup.ts
apps/web/src/components/files/BrowserDocumentFrame.tsx
apps/web/src/components/onboarding/WelcomeWizard.tsx
apps/web/src/components/pullRequest/PullRequestDetailPanel.permissions.browser.test.tsx
apps/web/src/components/pullRequest/PullRequestsPage.tsx
apps/web/src/components/settings/KeybindingsSettings.browser.test.tsx
apps/web/src/components/settings/KeybindingsSettings.logic.test.ts
apps/web/src/components/settings/KeybindingsSettings.logic.ts
apps/web/src/components/settings/ProviderAuthTerminal.tsx
apps/web/src/components/settings/SettingsFontPreviews.tsx
apps/web/src/components/terminal/useThreadTerminalActions.ts
apps/web/src/hooks/useRightPanelSurfaceClose.browser.test.tsx
apps/web/src/hooks/useRightPanelSurfaceClose.ts
apps/web/src/hooks/useThreadActions.permissions.test.ts
apps/web/src/hooks/useThreadActions.ts
apps/web/src/hooks/useThreadActions.undo.test.ts
apps/web/src/index.css
apps/web/src/keybindings.test.ts
apps/web/src/keybindings.ts
apps/web/src/lib/projectScriptTerminal.test.ts
apps/web/src/lib/projectScriptTerminal.ts
apps/web/src/lib/revealThreadTerminal.test.ts
apps/web/src/lib/revealThreadTerminal.ts
apps/web/src/lib/sideChatPane.ts
apps/web/src/lib/terminalCloseShortcut.ts
apps/web/src/lib/terminalFocus.browser.test.ts
apps/web/src/lib/terminalFocus.test.ts
apps/web/src/lib/terminalFocus.ts
apps/web/src/shortcuts/chatRouteCommands.ts
apps/web/src/shortcuts/commandPaletteCommands.ts
apps/web/src/shortcuts/dispatcher.ts
apps/web/src/terminal/ghostty/core.test.ts
apps/web/src/terminal/ghostty/surface.test.ts
apps/web/src/terminalUiStateStore.test.ts
apps/web/src/terminalUiStateStore.ts
apps/web/src/types.ts
docs/user/appearance.md
docs/user/keybindings.md
packages/client-runtime/src/rpc/session.test.ts
packages/client-runtime/src/state/server.test.ts
packages/contracts/src/keybindings.test.ts
packages/contracts/src/keybindings.ts
packages/shared/src/keybindings.ts
Files with no reviewable changes: 24
-
- packages/shared/src/keybindings.ts
- apps/web/src/terminalUiStateStore.test.ts
- packages/contracts/src/keybindings.ts
- apps/web/src/components/chat/ProviderModelPicker.tsx
- apps/web/src/components/chat/useChatShortcuts.browser.test.tsx
- apps/web/src/hooks/useThreadActions.undo.test.ts
- apps/web/src/hooks/useRightPanelSurfaceClose.browser.test.tsx
- apps/web/src/components/pullRequest/PullRequestDetailPanel.permissions.browser.test.tsx
- apps/web/src/hooks/useThreadActions.ts
- apps/web/src/components/files/BrowserDocumentFrame.tsx
- apps/web/src/components/terminal/useThreadTerminalActions.ts
- apps/web/src/types.ts
- apps/web/src/components/chat/ChatTerminalDrawers.tsx
- apps/web/src/lib/terminalFocus.test.ts
- apps/web/src/components/ReopenClosedViewShortcut.browser.test.tsx
- apps/web/src/hooks/useThreadActions.permissions.test.ts
- apps/web/src/keybindings.ts
- apps/web/src/components/chat/ComposerControlsBar.tsx
- apps/web/src/shortcuts/commandPaletteCommands.ts
- apps/web/src/terminalUiStateStore.ts
- apps/web/src/components/pullRequest/PullRequestsPage.tsx
- apps/web/src/components/ChatView.logic.ts
- apps/web/src/components/chat/ChatComposer.tsx
- apps/web/src/hooks/useRightPanelSurfaceClose.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Walkthrough
-
Thread terminals now render in right-panel surfaces instead of drawers. The change removes drawer-specific terminal state, controls, and shortcuts. Terminal actions, focus handling, shortcut context, and keybinding definitions now use the right-panel model.
Changes: Thread terminal panel migration
| Layer / File(s) |
Summary |
Render terminals as right-panel surfaces apps/web/src/components/ThreadTerminal.tsx, apps/web/src/components/PersistentThreadTerminals.tsx, apps/web/src/components/ThreadTerminal.test.ts, apps/web/src/components/ThreadTerminal.browser.test.tsx, apps/web/src/components/onboarding/WelcomeWizard.tsx, apps/web/src/components/settings/*, apps/web/src/terminal/ghostty/* |
ThreadTerminal replaces the drawer component and renders full-height right-panel content. Drawer sizing and resize behavior are removed. Related imports and tests use the renamed component. |
Move terminal state and actions to panels apps/web/src/terminalUiStateStore.ts, apps/web/src/lib/terminalFocus.ts, apps/web/src/lib/revealThreadTerminal.ts, apps/web/src/lib/projectScriptTerminal.ts, apps/web/src/components/terminal/useThreadTerminalActions.ts, apps/web/src/components/chat/useChatTerminalActions.ts, apps/web/src/hooks/*, apps/web/src/components/chat/useWorktreeSetup.ts |
The terminal UI-state store and drawer-focus operations are removed. Reveal, reuse, allocation, close, and setup paths use right-panel surfaces and terminal focus. |
Wire right-panel terminals into chat apps/web/src/components/ChatView.tsx, apps/web/src/components/ChatView.logic.ts, apps/web/src/components/chat/*, apps/web/src/components/AppSidebarLayout.tsx, apps/web/src/components/Sidebar.tsx, apps/web/src/components/ReopenClosedViewShortcut.tsx, apps/web/src/shortcuts/*, apps/web/src/components/pullRequest/*, apps/web/src/lib/sideChatPane.ts, apps/web/src/index.css, docs/user/appearance.md |
Chat views and controls no longer render or track terminal drawers. Composer and shortcut consumers no longer pass terminal-open state. Terminal focus checks and right-panel controls remain. |
Remove terminal-toggle keybinding context apps/web/src/keybindings.ts, apps/web/src/settings/*, packages/contracts/src/keybindings.ts, packages/shared/src/keybindings.ts, apps/server/src/*test.ts, apps/web/src/keybindings.test.ts, packages/*/*/*test.ts, docs/user/keybindings.md |
The terminal.toggle command and its default binding are removed. Shortcut matching and documentation no longer use terminalOpen; related test fixtures use other commands. |
Estimated code review effort: 4 (Complex) | ~45 minutes
Change: Other
Sequence Diagram(s)
sequenceDiagram
participant ChatTerminalActions as useChatTerminalActions
participant RevealThreadTerminal as revealThreadTerminal
participant RightPanel as Right-panel store
participant TerminalFocus as focusTerminal
ChatTerminalActions->>RevealThreadTerminal: Reveal terminal for thread
RevealThreadTerminal->>RightPanel: Open terminal surface if none exists
RevealThreadTerminal->>TerminalFocus: Focus terminal
Loading
Suggested reviewers: juliusmarminge, only21mil
Merge Risk: Minimal · up to 5dea5
-
This change removes the bottom terminal drawer and its Ctrl+J shortcut, and sends terminal actions to the right-panel terminal. The supplied evidence shows no concrete regression. A live desktop or web pass was not done, but the author reports passing checks and tests for the affected packages.
Pre-merge checks: 3 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Description check |
 |
The description follows the repository template. It has a clear problem statement (the drawer duplicates the right panel terminal), a Change section listing what was removed and the behavior changes, … |
Add a 'Scope and approval' section. Link the triaged issue or discussion where a maintainer approved removing the bottom terminal drawer, including the approval comment. The PR is a removal of a user-facing feature and changes keybinding be… |
Passed checks: 3 passed
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the two main removals in the changeset: the bottom terminal drawer and its Ctrl+J toggle (the terminal.toggle command and default mod+j binding). The raw summary confirms the drawer co… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title names the two main removals in the changeset: the bottom terminal drawer and its Ctrl+J toggle (the terminal.toggle command and default mod+j binding). The raw summary confirms the drawer component, its state store, and the terminal.toggle command were removed, so the title matches the main change.
Full details: Description check
-
Explanation
The description follows the repository template. It has a clear problem statement (the drawer duplicates the right panel terminal), a Change section listing what was removed and the behavior changes, and a Verification section with specific commands and results. It does not include a Scope and approval section; it links no triaged issue or maintainer approval, and it does not explain an exemption. It also does not state a conventional commit title, though the PR title is close to plain language. Verification is detailed and states what was not checked, which meets the template's requirement for honest reporting.
Resolution
Add a 'Scope and approval' section. Link the triaged issue or discussion where a maintainer approved removing the bottom terminal drawer, including the approval comment. The PR is a removal of a user-facing feature and changes keybinding behavior, so the template requires approval. If you believe an exemption applies, explain why. Also consider making the title a conventional commit title, such as 'refactor(web): remove bottom terminal drawer and Ctrl+J toggle'.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified unchanged head 5dea5fcbdc2b3577b102e3138f8308b0262dbe4e on linux with repo Playwright and /usr/bin/google-chrome, using real Codex gpt-6.1-sol turns. no mocks or fixtures.
- started
github/main (2b1021ce41) in a separate worktree after vp i. a model-generated bash block ran in the bottom drawer; ctrl+j closed and reopened it.
- stopped main before starting the exact pr head after
vp i. carried over the app-created conversation for the matching captures. the same block runs in the right panel, with the expected shell output. the drawer button is absent; ctrl+j no longer toggles it. repeated runs reuse the idle terminal.
- created and ran a project action through the app. it reused an idle terminal while another terminal was busy. horizontal/vertical splits, typing, new terminal, and confirmed close all worked.
- created a new git project through the app, configured a worktree setup action, and launched real Codex turns in new worktrees. setup progress -> open terminal revealed and focused the setup shell in the right panel.
- the sidebar running-process button navigated back from another thread and focused the correct terminal. typing worked there. terminal tabs and output survived reload. settings no longer lists Terminal: Toggle; the server reports the old
terminal.toggle rule as invalid and ignores it.
focused existing tests ran through blacksmith-check: 6 files, 64 tests passed (projectScriptTerminal, revealThreadTerminal, terminalFocus, ThreadTerminal, web keybindings, and contracts keybindings). github checks on this head have no failures or pending runs; the approvability result is neutral and still requires a human product decision. no code changes were needed.
before, on main:

after, on the exact pr head:



Not verified
native ios/android, the electron shell, macos/windows shortcuts, remote/relay/tunnel connections, and provider sign-in/onboarding terminals were not exercised on this linux web pass. other provider adapters were not exercised. this verifies behavior, not approval to remove the drawer.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 8, 2026
This was referenced Nov 17, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XXL
1,000+ changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|