Skip to content

feat(web): distinct cluster-select and text-filter modes on Explore#172

Merged
mmacpherson merged 1 commit into
mainfrom
feat/explore-filter-modes
Jun 12, 2026
Merged

feat(web): distinct cluster-select and text-filter modes on Explore#172
mmacpherson merged 1 commit into
mainfrom
feat/explore-filter-modes

Conversation

@mmacpherson

Copy link
Copy Markdown
Owner

Summary

  • Cluster clicks now select exact members (icon.cluster === theme) instead of substring-searching the theme text — previously they could both miss members and catch unrelated icons; the active cluster is highlighted in the sidebar and toggles off on second click
  • Typing is the filter path: metadata substring over name/tags/description/cluster, placeholder now "Filter icons…" (it filters icons, not clusters); typing deactivates cluster mode and vice versa, so the count badge always has one meaning
  • × clear button in the filter box whenever either mode is active
  • Search page: results line reads "ranked by similarity" instead of "ranked by meaning"

Test plan

  • Playwright against vite preview: cluster click → exact member count (40), input stays empty, × visible; typing → active cluster clears, substring hits shown; × → everything reset
  • npm run build, pre-commit hooks

🤖 Generated with Claude Code

Clicking a cluster used to paste its theme into the filter box and
substring-search it — missing members and catching unrelated icons
whose descriptions contained the theme words. Now a cluster click
highlights exactly its members and lights the list item; typing
filters by metadata substring; each mode clears the other, and an
x button in the box clears whichever is active. Search results line
reads 'ranked by similarity' instead of 'ranked by meaning'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mmacpherson mmacpherson merged commit ddec0a6 into main Jun 12, 2026
@mmacpherson mmacpherson deleted the feat/explore-filter-modes branch June 12, 2026 15:40
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.

1 participant