Repository navigation
Open
Labels
area/uxUX issue visible to end usersstatus/needs-brainstormDesign decision unresolved; requires brainstorming session before implementationtype/featureNew feature or request
Milestone
Description
Current behavior (v0.6.1)
Typing in the search bar shows a dropdown with ranked hits. Clicking a hit narrows the list to ONE file and clears the tag-sidebar selection. The full list is hidden behind a dropdown that duplicates the data.
Proposed UX
- Typing narrows the visible list IN PLACE (no dropdown).
- A facet panel (right side of list or inside the existing sidebar) shows the tags that appear in the current search results, each with a count.
- Clicking a facet tag narrows further — now filter = search matches ∩ selected tag.
- Existing tag sidebar behavior (click to filter) composes naturally: filter = search ∩ tag.
- Search bar is "always-on" as a top-level filter, like Finder's search field.
- Escape clears the search input (then next Escape pops the tag filter, per #(three-pane layout) Escape stack when that ships).
Why
- Closes issue search + tag filter: intended composition (AND) vs shipped drill-down (one hash only) #25 (search/tag composition) with the CORRECT UX instead of restoring the plan's just-okay behavior.
- Better discoverability — user sees all matching files at once, not through a dropdown.
- Facets are the canonical pattern for filtered search (Linear, Notion, GitHub issue search, macOS Finder).
Scope
v0.6.2 hotfix — tight (100-300 lines depending on facet implementation). Replaces the narrow I1 fix originally planned.
Open design questions (needs-brainstorm)
- Dropdown fully removed, or kept as secondary preview (thumbnail + metadata on hover)?
- Facet panel placement: inside existing TagSidebar (replace counts dynamically), or new right-side FacetPanel?
- Does facet clicking TOGGLE or replace the active tag filter?
- Multi-tag facet AND vs OR semantics (start: AND only; multi-tag OR post-v1).
- Where does the Tauri backend batch the "tags for hits" lookup — new command or compose client-side from existing payloads?
Acceptance criteria (tentative)
- Typing narrows the list, no dropdown.
- Sidebar / facet panel reflects tags present in the current list.
- Tag click composes with search (not replaces).
- Escape clears search input first; a subsequent Escape pops tag filter (requires #(keyboard registry) long-term; for v0.6.2 just Escape-to-clear on input).
Metadata
Metadata
Assignees
Labels
area/uxUX issue visible to end usersstatus/needs-brainstormDesign decision unresolved; requires brainstorming session before implementationtype/featureNew feature or request
Activity
docs(specs): v0.6.2 live faceted search — design (#32, closes #25)
docs(plans): v0.6.2 live faceted search — implementation plan (#32)
feat(desktop): buildFtsQuery sanitiser for FTS5 search input (#32)
fix(desktop): WHY-comments + multi-token prefix test (#32)
feat(desktop): computeFacets tag-count reducer (#32)
refactor(desktop): lift file() fixture to shared module (#32)
feat(desktop): composeVisible + sortByRank (#32)
fix(desktop): computeFacets JSDoc — id-keyed WHY + ordering note (#32)
fix(desktop): useCallback SearchBar handler + restore searchQuery sta…
chore(release): v0.6.2 — live faceted search (closes #25)
utof commentedon Apr 17, 2026
v0.6.2 ships the core of this issue — live inline narrowing (typing narrows the list in place), facet-panel sidebar (tags with counts from the visible set when search is active), and AND-composition with the tag filter (#25 regression pinned). Full release notes: https://github.com/utof/perima/releases/tag/v0.6.2. Remaining sub-items kept post-v1 per issue body: multi-tag OR, full-corpus facet counts, advanced FTS5 query DSL, facet-count-aware across the 100-row list cap.