From 61933570990ae9ef0fe97298aa4acc79ac3af857 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 27 Oct 2025 09:37:14 -0400 Subject: [PATCH] Add search enhancements to roadmap and design docs --- content/roadmap.md | 2 ++ docs/design-system.md | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/content/roadmap.md b/content/roadmap.md index da1661d5..29b9a21a 100644 --- a/content/roadmap.md +++ b/content/roadmap.md @@ -38,6 +38,8 @@ - Allow users to set custom relay settings, stored in local cache. - Add a "Publish" step in the video editing process. +- Add a relay note search surface with filters for post date, hashtags, title keywords, view counts, and the publishing account. +- Add a mobile search control with a floating icon that expands into a full search field on small screens. - Improve event spec for migration to new versions. [Click for more details](https://github.com/PR0M3TH3AN/bitvid/blob/main/content/roadmap/02_bitvid_Enhanced_Migration_of_Note_Spec_Logic.md) - Migrate event spec to v3 and add support for Audio/Podcast content. [Click for more details](https://github.com/PR0M3TH3AN/bitvid/blob/main/content/roadmap/03_bitvid_Enhanced_Nostr_Video_%26_Audio_Note_Specification_Version%203.md) - Add Block List, Subscription List, Playlist, and Reporting Specification. [Click for more details](https://github.com/PR0M3TH3AN/bitvid/blob/main/content/roadmap/05_bitvid_Enhanced_Block_Subscription_%26_Reporting_Specification.md) diff --git a/docs/design-system.md b/docs/design-system.md index 50c43107..8f6e44a7 100644 --- a/docs/design-system.md +++ b/docs/design-system.md @@ -326,6 +326,13 @@ Tailwind now exposes matching utilities for layouts that opt into the design sys Iconography and motion helpers rely on fresh tokens as well: `--icon-size-sm`, `--icon-size-md`, and `--icon-size-lg` standardise glyph sizing across nav links, collapse toggles, and dropup triggers, while `--space-sidebar-nav-translate` powers the translate offsets used when collapsing the rail. Thin overlays inherit `--scrollbar-thin-width` so modal and sidebar scroll containers feel identical. +### Search surfaces backlog + +Discovery work is queued behind two search affordances that will need close coordination with the navigation shell tokens: + +- **Relay note search filters** — Stand up a dedicated search surface that can index relay-published notes and expose filter chips for posted date ranges, hashtags, title keywords, view-count ranges, and the publishing account. Reuse `.menu`, `.input`, and `.chip` primitives for the filter controls so the surface stays aligned with existing command panels, and plan on routing results through the popover/filter pipeline described above. +- **Mobile floating search** — Introduce a floating search icon on small breakpoints that expands into a full-width search field when tapped. The trigger should inherit the circular icon tokens used by sidebar toggles, snap to the `z-overlay-nav` layer, and collapse back to the icon state once the user blurs or submits the field. + ### Menus `.menu` normalises list-based command menus with consistent padding. Pair it with `.menu__heading` for optional section labels, `.menu__separator` for dividers, and `.menu__item` for actionable rows. Each item supports hover, active (`data-state="active"`), and critical (`data-variant="critical"`) palettes plus disabled fallbacks through either `disabled` or `aria-disabled="true"`.