@devries-cameron20 / t3code Mirror · read-only / commits / 239ef1c54d
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 17:45 UTC

fix(web): show the correctly matching shortcut in new thread button's tooltip (#5594)

Utkarsh Patil committed Aug 7, 2026 at 16:24 UTC 239ef1c54df2f657912ccb5b8e25193d49d90417
1 file changed +6 -4
apps/web/src/components/SidebarV2.tsx
+6 -4
@@ -2816,11 +2816,13 @@ export default function SidebarV2() {
2816 openCommandPalette({ open: "new-thread-in" });
2817 }, [isMobile, newThreadContext, projectGroups.length, setOpenMobile]);
2818
2819 - // Same resolution as v1: prefer the local-thread binding, fall back to
2820 - // chat.new, no platform gating — web users have working shortcuts too.
2819 + // The button mirrors chat.new: in multi-project setups both route through
2820 + // the command palette's "New thread in..." picker, and in single-project
2821 + // setups both create immediately. chat.newLocal always creates directly, so
2822 + // it is only a correct label when chat.new is unbound.
2823 const newThreadShortcutLabel =
2822 - shortcutLabelForCommand(keybindings, "chat.newLocal") ??
2823 - shortcutLabelForCommand(keybindings, "chat.new");
2824 + shortcutLabelForCommand(keybindings, "chat.new") ??
2825 + shortcutLabelForCommand(keybindings, "chat.newLocal");
2826 return (
2827 <>
2828 <SidebarChromeHeader isElectron={isElectron} />