Skip to content

Find in thread (⌘F) over messages and plans, plus find in diffs #1524

Closed

Description

@currentbits

There is no way to search inside the open thread. ⌘K searches across threads (threadSearch.js), but src/keybindings.ts has no ⌘F chord, there is no find bar, and ChangesPanel.tsx/TurnDiffPanel.tsx have no search input. Long threads and big diffs are unsearchable without scrolling.

Proposal (S–M):

  • ⌘F opens a find bar over the transcript: messages, tool output summaries, plan cards. Enter/⇧Enter steps through matches, with a match count; Esc closes. The transcript is virtualized, so search the thread's message data, then scroll the match into view and highlight it, rather than relying on DOM findInPage.
  • In Changes/turn diffs, the same chord searches the loaded file patches and expands collapsed files that contain matches.
  • Register both in the keybinding table so they are remappable and show in the Keyboard sheet.

Activity

  1. added and removed on Oct 9, 2026
  2. currentbits commented on Oct 11, 2026

    @currentbits
    OwnerAuthor

    Implementing: remappable transcript.find and diff.find (both default ⌘F), a shared find bar, and data-side matching over messages/plan cards plus loaded patches. Enter/⇧Enter steps hits; Esc closes. Transcript hits expand the tail window / collapsed groups; diff hits select the file so a collapsed/unselected patch opens.

  3. currentbits commented on Oct 11, 2026

    @currentbits
    OwnerAuthor

    Implemented on coder/find-in-thread-f-over-messages-and-plans-940e5f.

    • transcript.find and diff.find both default to ⌘F / Ctrl+F, remappable, listed in the Keyboard sheet. Shared default is not a Settings conflict; remapping something else onto ⌘F still warns.
    • Transcript find searches message text (including tool summaries) and the plan card. Enter/⇧Enter steps, Esc closes. Hits expand the tail window / collapsed groups and highlight the card.
    • In Git / turn diffs the same chord searches loaded patches + file paths and selects the matching file.
    • Tests: test/findInView.test.ts, test/findInThread.test.tsx.
  4. currentbits commented on Oct 11, 2026

    @currentbits
    OwnerAuthor

    PR: #1596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions