Skip to content

feat(prompts): add search filter for query fan-out by prompt - #415

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
Sam-syntax35:feat/query-fanout-prompt-search
Jul 12, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
Sam-syntax35:feat/query-fanout-prompt-search

Conversation

@Sam-syntax35

Copy link
Copy Markdown
Contributor

Description

Adds a search filter to the Query Fan-out → By Prompt view, making it easier to find specific prompts when working with a large number of tracked prompts.

What changed

  • Added a search input above the By Prompt table.
  • Implemented case-insensitive client-side filtering by prompt text.
  • Added an empty state when no prompts match the search.
  • Clearing the search restores the full list of prompts.
  • Preserved existing expand/collapse behavior.
  • No changes to data fetching; filtering is performed entirely in-memory.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Covers every acceptance criterion in #413 — derived-memo filtering, empty state, clean reset behavior (including on brand/view change, nice touch), and expand state survives filtering. CI green. Thanks!

@gkhngyk
gkhngyk merged commit 3870bbd into ansvisor:main Jul 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants