Skip to content

feat(ui,registry): component sidebar drill-down navigation#462

Merged
bntvllnt merged 3 commits into
mainfrom
feat/component-sidebar-drilldown
Jun 27, 2026
Merged

feat(ui,registry): component sidebar drill-down navigation#462
bntvllnt merged 3 commits into
mainfrom
feat/component-sidebar-drilldown

Conversation

@bntvllnt

Copy link
Copy Markdown
Collaborator

Reworks the component sidebar so 309 components are navigable at a glance. Validate the new UX on the preview link below.

What changed

Single-pane drill-down (replaces the all-open family list):

  • ROOT — the 12 families with a count + chevron.
  • FAMILY — selecting a family, or landing on /components/[slug], drills into that family's components only, with a "← All families" back.
  • Breadcrumb gains a family crumb: Components / Family / Component.
  • Pinned nav + Documentation stay on top; the header search / ⌘K remain the cross-family escape.

How

  • @vllnt/ui Sidebar: opt-in family flag on SidebarSection drives a new FamilyNav (FamilyList ROOT + FamilyItems detail). Non-family sidebars render unchanged — existing stories, unit tests, and the visual snapshot are untouched. Auto-drills into the active route's family (adjust-state-during-render, no effect); aria-current on the active item.
  • registry: tag the 12 family groups family: true (data-driven from the existing category enum — zero nav maintenance); add the breadcrumb family crumb.
  • e2e: Playwright drill-down coverage (auto-drill, back, family switch).

Validation

  • @vllnt/ui lint + types clean; 6/6 Sidebar unit tests pass (backward compat).
  • E2E: apps/registry/e2e/sidebar-drilldown.spec.ts.
  • Visual sign-off: preview deploy (this PR).

How to validate the UX

  1. Open the preview → /components/button → sidebar shows Core drilled-in (Button active), breadcrumb Components / Core / Button.
  2. Click ← All families → the 12-family list.
  3. Pick another family → it drills in.
  4. Resize to mobile + keyboard-tab through it.

Also repairs ROADMAP.md to the phase convention and adds the 0.4.0 component-sidebar phase + AI Elements parity analysis.

Closes #461

https://claude.ai/code/session_01KB2yTDBo7Knydqvz1VvFdF

bntvllnt added 2 commits June 27, 2026 21:25
Restructure ROADMAP.md to the roadmap-skill convention: 0.3.0 + the
react-doctor sweep become DONE phases (all 197 issues closed), and the
0.4.0 cycle is formalized as phases with stable IDs — component-sidebar
(active), ai-elements-parity, agent-ui-cli — plus a Later backlog. Adds
the AI Elements parity gap analysis. Agent UI CLI detail preserved in an
appendix.

Claude-Session: https://claude.ai/code/session_01KB2yTDBo7Knydqvz1VvFdF
Replace the all-open family list (309 components rendered at once) with a
single-pane drill-down: ROOT shows the 12 families (count + chevron),
selecting one — or landing on a component page — drills into that family's
components only, with a "All families" back. The breadcrumb gains a family
crumb (Components / Family / Component).

- Sidebar: opt-in `family` flag on SidebarSection drives FamilyNav
  (FamilyList ROOT + FamilyItems detail). Non-family sidebars render
  unchanged, so existing stories/tests/visual snapshot are untouched.
  Auto-drills into the active route's family (adjust-state-during-render,
  no effect); aria-current on the active item.
- registry: tag the 12 family groups `family: true`; add the family
  breadcrumb crumb on component pages (data-driven from `category`).
- e2e: Playwright drill-down coverage (auto-drill, back, family switch).

Closes #461

Claude-Session: https://claude.ai/code/session_01KB2yTDBo7Knydqvz1VvFdF
@vllnt-pilot

vllnt-pilot Bot commented Jun 27, 2026

Copy link
Copy Markdown

ntk preview

App Status Preview
ui-registry Ready https://pr-462-ui-registry.preview.vllnt.ai
storybook Ready https://pr-462-storybook.preview.vllnt.ai

Built from 43c6d1f7 · public + no-index (ADR-082) · torn down on close

`registry:build` output for the sidebar drill-down change — keeps the
inlined shim + registry.json in sync with the canonical source (fixes the
registry-drift Quality Gate).

Claude-Session: https://claude.ai/code/session_01KB2yTDBo7Knydqvz1VvFdF
@vllnt-pilot vllnt-pilot Bot temporarily deployed to Preview · pr-462 (ntk) June 27, 2026 19:39 Destroyed
@bntvllnt bntvllnt merged commit 56bbaf0 into main Jun 27, 2026
12 checks passed
@bntvllnt bntvllnt deleted the feat/component-sidebar-drilldown branch June 27, 2026 19:44
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.

feat: component sidebar drill-down navigation

1 participant