Skip to content

Live faceted search: inline narrowing + visible tag facets (replaces dropdown) #32

Open

Description

@utof

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

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

Activity

  1. added
    type/feature
    area/ux
    status/needs-brainstorm
    on Apr 17, 2026
  2. utof commented on Apr 17, 2026

    @utof
    OwnerAuthor

    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.

  3. added this to the v1 milestone on May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/uxstatus/needs-brainstormtype/feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions