feat(web): double-click chat header title to rename thread - #7817
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 39cb0c2. Configure here.
There was a problem hiding this comment.
Reviewed the thread-title click/double-click arbitration added to ChatHeader. Two findings on the new interaction logic; no styling, primitive, or Tailwind-ownership issues in this diff.
Posted via Macroscope — UI Consistency
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — You can add or adjust custom eligibility rules. Learn more. |
There was a problem hiding this comment.
One remaining gap in the title-menu arbitration: a pending menu-open survives the user moving on to another control. Details inline.
Posted via Macroscope — UI Consistency
## What's Changed * feat(web): double-click chat header title to rename thread by @UtkarshUsername in pingdotgg/t3code#7817 * fix(web): model picker no longer shows a double border by @RakshithBhat03 in pingdotgg/t3code#7772 * fix(web): give sidebar un-settle button a tooltip by @UtkarshUsername in pingdotgg/t3code#7796 * fix(web): render oversized terminal graphemes without crashing by @Lucenx9 in pingdotgg/t3code#7809 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260821.1153...v0.0.34-nightly.20260821.1154 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260821.1154

What Changed
Double-clicking the thread title in the chat header now starts renaming, the same way it already does in the sidebar. Right-click > Rename still works, and clicking the chevron next to the title still opens the thread menu instantly.
Why
The sidebar has always offered double-click-to-rename, but the chat header only offered right-click > Rename. This brings the header to parity so renaming works the same way everywhere.
UI Changes
rename.mp4
Checklist
Built by ox-alpha (x-preview-f-free) in opencode.
Note
Low Risk
UI interaction-only change in the chat header; no auth, data, or backend behavior is affected. Desktop single-click menu open is delayed by 500ms, which is the main UX risk.
Overview
Double-clicking the thread title in the chat header now starts inline rename, matching the sidebar. Right-click rename still works; the chevron and keyboard activation still open the action menu immediately.
On desktop, a single click on the title waits 500ms before opening the native menu so a double-click can cancel it first (the native menu swallows the second click). Browser fallback menus open immediately. Pending opens are cleared on blur, thread change, unmount, context menu, or rename start.
useThreadActionMenunow exposescloseMenuso rename can dismiss an already-open native menu.Reviewed by Cursor Bugbot for commit 4969cae. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add double-click-to-rename to chat header thread title on desktop
ChatHeaderstarts a thread rename and cancels any pending menu open. The chevron icon and keyboard activation are excluded from rename and open the menu immediately.TITLE_MENU_OPEN_DELAY_MS) so a double-click can cancel it. In the browser fallback (nodesktopBridge), the menu opens immediately.closeMenutouseThreadActionMenuso the header can programmatically dismiss the native context menu when rename starts.Macroscope summarized 4969cae.