Skip to content

fix(web): add search box to the fan-out High frequency view - #615

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/fanout-high-frequency-search
Aug 3, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/fanout-high-frequency-search

Conversation

@d180

@d180 d180 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The fan-out tab's "By prompt" view has a search box; "High frequency" had none, making it hard to find a specific sub-query on brands with hundreds of them.
  • Adds the same search box to HighFrequencyView, filtering subQueries by the typed term before paging.
  • Extends the pager's resetKey to include the search term so typing resets pagination to page 1.
  • Extracted the search input markup into a shared FanoutSearchInput component, used by both views.

Related issue

Closes #593

Type of change

  • fix — Bug fix

Checklist

  • Branch follows the naming convention (fix/)
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

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

Nice work — the search-term-in-resetKey detail is handled and extracting the shared search input is a welcome bonus. Thanks!

@gkhngyk
gkhngyk merged commit 4918dae into ansvisor:main Aug 3, 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.

Fan-out tab: High frequency view is missing the search box the By-prompt view has

2 participants