GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): rename current thread from command palette and F2 by cadizjavier · Pull Request #27562 · pingdotgg/t3code

Conversation

@cadizjavier

@cadizjavier cadizjavier commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Renaming the open thread meant reaching for the title in the header. The command palette and keyboard had no way to do it.

This adds Rename current thread to the command palette and binds it to F2. Both open the existing header title editor with the title selected. Enter saves, Escape cancels, and focus goes back where it was.

  • Respects environment permissions and does nothing for drafts.
  • F2 is ignored in terminals and previews, and the action is hidden while the right panel is maximized.
  • The binding shows up in Keybindings settings and the user docs.
  • Mobile is unchanged; it has its own rename flow.
Command palette Title editor
Rename current thread action with F2 shortcut Thread title editor opened with the title selected

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cadizjavier
feat(web): rename current thread from command palette and F2
c8541c4
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 30, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 32ecd71
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 90df6284-183a-4340-ae71-da1b6575f839
Commits

Reviewing files that changed from the base of the PR and between 32ecd71 and c8541c4.

Files selected for processing: 10
  • apps/web/src/components/ChatView.tsx
  • apps/web/src/components/CommandPalette.tsx
  • apps/web/src/components/chat/ChatHeader.browser.test.tsx
  • apps/web/src/components/chat/ChatHeader.tsx
  • apps/web/src/components/chat/threadRenameBus.ts
  • apps/web/src/components/settings/KeybindingsSettings.logic.ts
  • apps/web/src/keybindings.test.ts
  • docs/user/keybindings.md
  • packages/contracts/src/keybindings.ts
  • packages/shared/src/keybindings.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

The thread title can be renamed with F2 or a command-palette action. Rename requests are scoped to a thread and environment. The title editor handles Enter and Escape and restores focus after either key.

Changes: Thread Rename

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: Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Sequence Diagram(s)

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
Loading

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · up to c8541

F2 and the command palette provide thread renaming. No merge-blocking risk was identified.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: adding current-thread renaming through the command palette and F2.
Description check Passed 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 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

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.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3-code-bot

t3-code-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3-code-bot t3-code-bot Bot closed this Oct 30, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Nov 8, 2026
fix(web): clicking away stops thread rename without saving #32273
Closed
4 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Nov 17, 2026
feat(web): add shortcuts for thread title and unread actions #28630
Closed
@AbdelrahmanHafez AbdelrahmanHafez mentioned this pull request Nov 20, 2026
fix(web): F2 renames the open thread after one click on its row #39731
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

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.

1 participant

@cadizjavier
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.