GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — feat(web): rename current thread from command palette and F2 by cadizjavier · Pull Request #27562 · pingdotgg/t3code Conversation
|
| Command palette | Title editor |
|---|---|
![]() |
![]() |
Proof: browser tests cover selecting the title, saving once, cancelling, restoring focus, and the permission and draft guards. Keybinding tests cover macOS, Windows, and Linux, including the terminal and preview exclusions. The palette, F2, Enter, and the maximized panel were checked by hand in the web app. vp run check:changed passes.
Created with GPT-6.1 Sol in Codex (T3 Code). Description edited with Claude Opus 5.5.
🤖 Generated with Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Adds current-thread renaming from the command palette and F2, with permission checks and focus restoration. The new default shortcut and added lint suppression each require human review. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Rename request handling and title editing apps/web/src/components/chat/threadRenameBus.ts, apps/web/src/components/chat/ChatHeader.tsx, apps/web/src/components/chat/ChatHeader.browser.test.tsx |
A window event carries a scoped thread reference and return-focus target. The matching header opens the title editor, handles Enter and Escape, and restores focus. Browser tests cover editing, cancellation, scope checks, and access changes. |
Shortcut and command-palette entry points packages/contracts/src/keybindings.ts, packages/shared/src/keybindings.ts, apps/web/src/components/ChatView.tsx, apps/web/src/components/CommandPalette.tsx, apps/web/src/components/settings/KeybindingsSettings.logic.ts, apps/web/src/keybindings.test.ts, docs/user/keybindings.md |
The keybinding contract includes thread.rename, with F2 as its default shortcut when the terminal and preview are not focused. ChatView and the command palette publish eligible rename requests. Tests and documentation describe the shortcut and command. |
Priority:
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Feature
sequenceDiagram
actor User
participant ChatView
participant CommandPalette
participant threadRenameBus
participant ChatHeader
User->>ChatView: Press F2
ChatView->>threadRenameBus: Publish scoped thread reference
User->>CommandPalette: Select Rename current thread
CommandPalette->>threadRenameBus: Publish thread reference and return-focus target
threadRenameBus->>ChatHeader: Dispatch rename request
ChatHeader->>ChatHeader: Open title editor for matching thread
Suggested reviewers: juliusmarminge
c8541F2 and the command palette provide thread renaming. No merge-blocking risk was identified.
Explanation
The description clearly covers the problem, implementation, behavior guards, verification, screenshots, and testing results. It is sufficiently complete for the requested change, although it does not use the template's section headings and does not provide a separate approval or issue link.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
closing at @StiensWout's request under Establish the problem and scope first. Adds a new command-palette rename action and an enabled-by-default F2 shortcut without prior maintainer approval. The existing header editor already provides renaming; introducing two new entry workflows and a new default binding is an intentional product behavior choice, not configuration of an existing exposed command or a repair of a failing rename operation. Discuss the keyboard/palette direction and default shortcut with maintainers and link explicit approval of that scope before resubmitting. The existing rename discoverability need can remain useful context. thanks for trying to help improve t3 code. if you think this closure was a mistake, please open a fresh pr addressing the requirement above, and link back to this one. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.