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 focused sidebar thread with f2 by tarik02 · Pull Request #6454 · pingdotgg/t3code

Conversation

@tarik02

@tarik02 tarik02 commented Aug 13, 2026 •
edited by cursor Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

What Changed

Adds a configurable thread.rename command with F2 as the default shortcut.

Pressing F2 while focus is anywhere within a sidebar thread item now opens its existing inline rename field and selects the full title. Enter saves the title and Escape cancels. This works in both sidebar implementations.

Why

Thread rename was only available through pointer interactions such as the context menu and double-click. Handling F2 on the focused sidebar item makes rename keyboard-accessible while keeping the shortcut scoped to the intended thread.

The sidebar also retains focus when navigating between threads instead of immediately moving it to the composer.

UI Changes

browser-recording-msrelwa3.mp4

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Built with GPT-5.6-Sol via the Codex harness in T3 Code.


Note

Medium Risk
Touches global keybinding capture, sidebar keyboard handling, and composer autofocus/type-to-focus, so regressions could steal focus or fire rename/activate unexpectedly.

Overview
Adds a configurable thread.rename command (default F2) so a focused sidebar thread can start inline rename from the keyboard in both sidebars. Enter/Escape still save or cancel, then focus returns to the row.

Shortcut recording now accepts bare function keys. ChatView no longer autofocuses the composer when a thread item already has :focus-visible, and Space on a data-thread-row no longer type-to-focuses the composer.

Sidebar shortcut context is read live (terminal/preview/model picker) instead of a stale routeTerminalOpen snapshot.

Reviewed by Cursor Bugbot for commit fb7011c. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add F2 keybinding to rename focused sidebar thread rows

  • Pressing F2 (or a configured thread.rename binding) while a sidebar thread row is focused starts inline rename in both Sidebar.tsx and LegacySidebar.tsx; focus returns to the row after Enter/Escape.
  • Adds thread.rename to the keybindings contract and sets F2 as the default in shared/src/keybindings.ts.
  • Extends keybindingFromKeyboardEvent to recognize bare function keys (e.g. F2) as valid keybindings without requiring a modifier.
  • Prevents type-to-focus and composer autofocus from interfering when a thread row or thread item has focus.
  • Behavioral Change: commitRename in SidebarProjectItem no longer clears renaming state directly; rename session cleanup is deferred to the keydown handler.

Macroscope summarized fb7011c.

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot] and victorcheeney reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: df8e5553-b76d-4f95-9e95-61f611c44276

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 13, 2026
@tarik02 tarik02 mentioned this pull request Aug 13, 2026
feat(web): rename focused sidebar thread with f2 tarik02-org/t3code#132
Merged
3 of 4 tasks
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 75ba027148

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread packages/shared/src/keybindings.ts Resolved

Uh oh!

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

@macroscopeapp

macroscopeapp Bot commented Aug 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This adds a configurable F2 rename workflow across both sidebar implementations while changing shared composer and row focus behavior during navigation. Because the change spans shared keybinding infrastructure and multiple UI event paths, its interaction effects warrant human validation.

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.

@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from 1694c5a to e3e8242 Compare August 13, 2026 11:22
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1694c5a49b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from e3e8242 to df3b2eb Compare August 13, 2026 11:35
@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Aug 13, 2026
@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df3b2eb9a9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from df3b2eb to 60bd540 Compare August 13, 2026 11:44
@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 60bd540f02

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

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

cursor[bot]
cursor Bot reviewed Aug 13, 2026
View reviewed changes
Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from 60bd540 to d90bdf9 Compare August 13, 2026 11:53
@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d90bdf9db1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

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

cursor[bot]
cursor Bot reviewed Aug 13, 2026
View reviewed changes
Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from d90bdf9 to 571225f Compare August 13, 2026 12:01
@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 13, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 571225f4d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/LegacySidebar.tsx Resolved

Uh oh!

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

@tarik02
feat(web): rename focused sidebar thread with f2
ba42a6d
cursor[bot]
cursor Bot reviewed Aug 13, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 571225f4d9ffd203cf39eff26677e8ee1f1e64fc. Configure here.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/LegacySidebar.tsx Resolved

Uh oh!

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

@tarik02
tarik02 force-pushed the feat/f2-thread-rename branch from 571225f to ba42a6d Compare August 13, 2026 12:07
@tarik02

tarik02 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: ba42a6d3fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

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

@tarik02
Merge branch 'main' into feat/f2-thread-rename
6c641a5
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. and removed vouch:unvouched Author is not yet trusted in the VOUCHED list. labels Aug 24, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 24, 2026
View reviewed changes

@macroscopeapp macroscopeapp Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two findings from the UI consistency pass on the F2 rename work. One is a build blocker (Sidebar.tsx references a binding this PR deleted); the other is a focus/interaction regression for mouse-driven thread navigation.

Posted via Macroscope — UI Consistency

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

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

Comment thread apps/web/src/components/Sidebar.tsx Resolved

Uh oh!

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

tarik02 added 4 commits August 24, 2026 11:00
@tarik02
Merge remote-tracking branch 'upstream/main' into feat/f2-thread-rename
77357c3
@tarik02
fix(web): address f2 rename review feedback
f868e33
@tarik02
Merge remote-tracking branch 'upstream/main' into feat/f2-thread-rename
17b5de8
# Conflicts:
#	apps/web/src/components/LegacySidebar.tsx
@tarik02
Merge branch 'main' into feat/f2-thread-rename
fb7011c
@akj akj mentioned this pull request Sep 27, 2026
fix(web): screen readers can reach sidebar row actions #13962
Closed
@juliusmarminge ChatGPT Codex Connector

juliusmarminge commented Sep 30, 2026

Copy link
Copy Markdown
Member

Note

This comment is posted by Julius' dot

Closing under the prior-approval requirement. This adds a default F2 command and changes thread navigation to preserve sidebar focus instead of focusing the composer. The recording demonstrates renaming, but the PR and discussion contain no maintainer approval for these behavior changes. Discuss that direction and scope with maintainers, link the approval, and request reconsideration.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge closed this Sep 30, 2026
@Adeophan Adeophan mentioned this pull request Oct 12, 2026
feat(web): add an unbound keybinding to rename the active thread #18562
Closed
@johannesjo johannesjo mentioned this pull request Oct 19, 2026
Enable OpenAI Codex code review on pull requests (managed integration) super-productivity/super-productivity#10948
Open
@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

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

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:trusted Author is trusted by repo permissions or 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.

2 participants

@tarik02 @juliusmarminge
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.