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 only): find in chat with mod+f by imabdulazeez · Pull Request #9638 · pingdotgg/t3code

Conversation

@imabdulazeez

@imabdulazeez imabdulazeez commented Sep 4, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

What Changed

Adds a find bar over the open thread.

  • New chat.find keybinding command, default mod+f with when: "!terminalFocus", plus a "Find in chat" command palette action.
  • Matches are counted from the timeline's row model, so messages that the virtualized list has not mounted are still found.
  • Matches in mounted rows are painted with the CSS Custom Highlight API. No markdown is rewritten and no DOM nodes are wrapped.
  • Enter and Shift+Enter step through matches and scroll each one into view. Esc closes.
  • Aa and ab toggles for match case and whole word. One shared pattern feeds both the counter and the highlighter, so counts and painted ranges always agree.
  • Selected text becomes the query when the bar opens, as in browser find.
  • The pull requests page now resolves the same chat.find command for its list search instead of matching Mod+F by hand.

Composed from the shared UI primitives: InputGroup, InputGroupAddon, InputGroupInput, and InputGroupText for the field, Button (ghost-muted, icon-xs) for the controls, Toggle (ghost, xs) for the options, and the shared keybinding registry via resolveShortcutCommand for the shortcut. No new surfaces or variants are introduced.

Supersedes #5562 with a smaller footprint, and picks up where #4599 left off. Resolves the request in discussion #6709 (formerly #1486).

Why

Long threads have no way to search the conversation. The timeline is virtualized, so the browser's native find only sees mounted rows, and the desktop shell binds no find-in-page at all. Users asked for Codex-style Cmd+F in #1486 and have kept +1ing it since.

Searching the row model rather than the DOM is what makes off-screen matches work. Painting with the Highlight API avoids the code-block corruption that earlier attempts hit when they injected markup into markdown.

Relation to orchestration V2 (#2829)

Earlier find PRs (#3539, #4599, #3779) were closed ahead of the orchestration V2 rewrite. This PR is web-only: it touches no orchestration, adapter, or provider code, and its single server change is one assertion in keybindings.test.ts. Replaying it on the current #2829 head applies cleanly apart from two adjacent-line conflicts in CommandPalette.tsx and keybindings.test.ts, so it should survive that merge with a trivial rebase.

UI Changes

image
Screen.Recording.2026-09-04.at.3.10.15.PM.mov

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

Made with Claude Fable 5.1 in Claude Code.

Note

Add chat.find command bound to mod+f for web chat search

  • Registers chat.find in the static keybinding registry and maps it to mod+f (excluding terminal focus) in keybindings.ts.
  • Adds the ChatFindBar component and search logic in ChatFindBar.logic.ts to find, count, and navigate literal, case-sensitive, and whole-word matches across message rows.
  • Renders matches using the CSS Custom Highlight API in chatFindHighlight.ts, and prefills the query from the current browser text selection when it is ≤200 characters.
  • Adds a "Find in chat" action to the command palette and updates PullRequestsColumn to open its list search via the resolved chat.find shortcut rather than a hard-coded modifier check.
  • Behavioral Change: mod+f outside terminal focus now opens the chat find bar instead of being unhandled in web chat; the pull requests page honors the configured chat.find binding.

Macroscope summarized 7e2338a.

Sorry, something went wrong.

Uh oh!

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

All reactions
imabdulazeez added 3 commits September 4, 2026 14:23
@imabdulazeez
feat(web): find in chat with mod+f
6d62e0d
Long threads had no way to search the conversation: the timeline is
virtualized, so the browser's native find only sees mounted rows, and the
desktop shell binds no find-in-page at all.

Add a `chat.find` keybinding command (default `mod+f` outside terminal
focus) and a "Find in chat" command palette action that open a find bar over
the active thread. Matches are counted from the timeline's message rows so
off-screen messages are included, highlighted in mounted rows through the CSS
Custom Highlight API, and stepped with Enter / Shift+Enter, scrolling each
match into view. The pull requests page now resolves the same command for its
list search instead of matching Mod+F by hand.

Made with Claude Fable 5.1 in Claude Code.
@imabdulazeez
feat(web): add match case and whole word toggles to chat find
968e672
@imabdulazeez
refactor(web): simplify chat find bar layout
7e2338a
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). labels Sep 4, 2026
@macroscopeapp

macroscopeapp Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This PR adds a substantial find-in-chat workflow across the timeline, command palette, keybinding system, highlighting layer, and pull-request search behavior. It also changes the product default keybindings by assigning mod+f, so the scope and default-behavior change warrant human review.

Notes:

  • Macroscope's correctness review did not run, so approvability was decided on eligibility alone.

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.

@juliusmarminge juliusmarminge closed this Sep 7, 2026
@juliusmarminge

juliusmarminge commented Sep 7, 2026

Copy link
Copy Markdown
Member

Closing as part of the open-PR backlog sweep (wave 2).

Reason: Superseded by newer fuller find-in-thread #10439
Related: #10439

Reopen if this is still wanted and you’re willing to rebase onto current main.

imabdulazeez reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@imabdulazeez
imabdulazeez deleted the feat/find-in-chat branch September 8, 2026 05:20
@rodrigohpalmeirim rodrigohpalmeirim mentioned this pull request Sep 21, 2026
feat(web): find text in the current thread with mod+f #12959
Closed
4 tasks done
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:XL 500-999 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.

2 participants

@imabdulazeez @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.