You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keybinding commands to focus the sidebar thread search and to open Add project
#27226
Most sidebar and workspace actions in T3 Code have a bindable command in Settings → Keybindings. Two controls in the sidebar header still need the mouse:
The thread search box ("Search", aria-label="Search threads"). No command focuses it.
The "Add project" button (folder-plus icon). No command opens the Add project flow.
Current workarounds: mod+k, then type "add project", or use the palette's thread search. The palette search isn't the same as the sidebar's inline filtered list, though.
Proposal
Two new keybinding commands, unbound by default if that's preferred:
sidebar.focusSearch: open the sidebar if it is collapsed, then focus and select the thread search input. Possible default: mod+shift+f or unbound.
project.add: open the Add project flow, the same as clicking the sidebar button. Possible default: mod+shift+o or unbound.
Both should show in the command palette with their shortcut, and in tooltips (for example "Add project (⌘⇧O)"), the same way "New thread" shows its shortcut.
What the code does today (v0.1.6-nightly.20261029.3892, commit 08a463e2)
KEYBINDING_COMMANDS in packages/contracts/src/keybindings.ts has no sidebar-search or add-project command. The closest ones are commandPalette.toggle (mod+k), projectSearch.toggle, filePicker.toggle, and workspace.focusNext/focusPrevious.
apps/web/src/components/sidebar/SidebarThreadHeader.tsx: the only code that focuses the search input from JS is the clear (X) button (searchInputRef.current?.focus()).
In apps/web/src/lib/workspaceFocus.ts, F6 into the sidebar focuses the active thread tree item, not the search box.
Add project already has a programmatic entry point: openCommandPalette({ open: "add-project" }) in apps/web/src/commandPaletteBus.ts dispatches OpenAddProject. The sidebar button and the palette's "Add project" action both use this path, so project.add looks like a small change.
To see it
Open T3 Code Desktop (or web) with at least one project.
Open Settings → Keybindings and search for "search", "sidebar", or "project".
No command focuses the sidebar thread search, and none opens Add project.
Environment
T3 Code Desktop 0.1.6-nightly.20261029.3892 with the local server on the same version, on macOS (arm64).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Problem
Most sidebar and workspace actions in T3 Code have a bindable command in Settings → Keybindings. Two controls in the sidebar header still need the mouse:
aria-label="Search threads"). No command focuses it.Current workarounds:
mod+k, then type "add project", or use the palette's thread search. The palette search isn't the same as the sidebar's inline filtered list, though.Proposal
Two new keybinding commands, unbound by default if that's preferred:
sidebar.focusSearch: open the sidebar if it is collapsed, then focus and select the thread search input. Possible default:mod+shift+for unbound.project.add: open the Add project flow, the same as clicking the sidebar button. Possible default:mod+shift+oor unbound.Both should show in the command palette with their shortcut, and in tooltips (for example "Add project (⌘⇧O)"), the same way "New thread" shows its shortcut.
What the code does today (
v0.1.6-nightly.20261029.3892, commit08a463e2)KEYBINDING_COMMANDSinpackages/contracts/src/keybindings.tshas no sidebar-search or add-project command. The closest ones arecommandPalette.toggle(mod+k),projectSearch.toggle,filePicker.toggle, andworkspace.focusNext/focusPrevious.apps/web/src/components/sidebar/SidebarThreadHeader.tsx: the only code that focuses the search input from JS is the clear (X) button (searchInputRef.current?.focus()).apps/web/src/lib/workspaceFocus.ts,F6into the sidebar focuses the active thread tree item, not the search box.openCommandPalette({ open: "add-project" })inapps/web/src/commandPaletteBus.tsdispatchesOpenAddProject. The sidebar button and the palette's "Add project" action both use this path, soproject.addlooks like a small change.To see it
Environment
T3 Code Desktop 0.1.6-nightly.20261029.3892 with the local server on the same version, on macOS (arm64).
Related
Written via
t3 triageby Claude Code (Claude Opus 5.5).All reactions