feat(web): advanced search UI with filters and operators #90

Open
opened 2026-02-14 14:53:21 +00:00 by forbes · 0 comments
Owner

Ref: docs/ROADMAP.md § Search & Discovery

Replace the current simple text search with a structured search interface supporting field-specific filters, operators, and combinable criteria.

Requirements

Search Capabilities

  • Search by: part number (prefix/exact), description (contains), item type, category, project, sourcing type, date range (created/updated), revision status, custom properties
  • Operators: equals, contains, starts with, greater than, less than, is empty, is not empty
  • Combine multiple criteria with AND logic
  • Sort results by any column

API Enhancement

  • GET /api/items/search — structured search endpoint accepting JSON filter object
  • Support filter query parameter with encoded filter criteria
  • Return paginated results with total count

Web UI

  • Search bar with expandable filter panel
  • Add filter rows: field selector dropdown, operator dropdown, value input
  • Remove individual filters
  • Clear all filters button
  • Filter state reflected in URL query params (shareable/bookmarkable)
  • Results update as filters change (debounced)

Performance Target

  • Search returns results in <2 seconds for 10,000+ items
  • Appropriate database indexes for filtered queries
Ref: docs/ROADMAP.md § Search & Discovery Replace the current simple text search with a structured search interface supporting field-specific filters, operators, and combinable criteria. ## Requirements ### Search Capabilities - Search by: part number (prefix/exact), description (contains), item type, category, project, sourcing type, date range (created/updated), revision status, custom properties - Operators: equals, contains, starts with, greater than, less than, is empty, is not empty - Combine multiple criteria with AND logic - Sort results by any column ### API Enhancement - `GET /api/items/search` — structured search endpoint accepting JSON filter object - Support `filter` query parameter with encoded filter criteria - Return paginated results with total count ### Web UI - Search bar with expandable filter panel - Add filter rows: field selector dropdown, operator dropdown, value input - Remove individual filters - Clear all filters button - Filter state reflected in URL query params (shareable/bookmarkable) - Results update as filters change (debounced) ### Performance Target - Search returns results in <2 seconds for 10,000+ items - Appropriate database indexes for filtered queries
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/silo#90