Skip to content

Reflect filter selections in the search query input #2751

Description

@MikeShi42

Selecting a value in the filter sidebar applies it to the search, but the query input doesn't show it. Filter state and query text live in two places, so the input never reflects the full set of conditions actually being applied.

Make the two representations one: selecting a filter writes the corresponding condition into the query input, and editing the query updates the filter selections to match.

Notes:

  • Needs to work for both query dialects the input supports, which is the main source of complexity — round-tripping requires parsing query text back into filter state, not just generating it.
  • Today this is partially addressed by pills rendered below the input, which surface that filters are applied without making them editable as query text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendCreated by Linear-GitHub SyncenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions