Skip to content

[Bug]: Sidebar thread search does not search message content #11743

Description

@iamtoled

Area

apps/web

Steps to reproduce

  1. Have a non-archived thread containing a distinctive word in a user message, but not in its title or linked PR metadata.
  2. Enter that word in the thread search field at the top of the sidebar.
  3. Wait for additional results.

Actual behavior

Sidebar search only returns metadata matches. Threads matching only message content never appear, regardless of how long I wait.

Searching via the command palette (Cmd+K) successfully finds message-content matches on the same installation. The problem is specific to the sidebar search field.

Expected behavior

Show title matches immediately, then add threads whose messages contain the query. Keep title matches first, avoid duplicate threads, and show a short matching message excerpt.

Impact

I cannot find past discussions from the sidebar when I remember their content but not their titles.

Workaround

Use the command palette (Cmd+K). I have confirmed that content search works there, but the difference between the two search entry points is confusing.

Supporting investigation

Source inspection of main at 9375c779707fb95c06670db6da87441720b2d2e2 shows that:

Related: #3509 was closed after #4959 added conversation-content search, but the current web sidebar search does not use that capability. #10091 concerns content-search performance; this report concerns the sidebar not invoking content search at all.

Version or commit

Installed version not yet provided. The commit above identifies the source inspected, not the installed version. The reproduction steps are a minimal case for maintainers to verify; no local runtime reproduction was performed during this investigation.

Activity

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

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions