Repository navigation
feat(ui): release 5.1.0 with folder groups that open and close in Nav - #210
Open
matthewmr-eqty wants to merge 2 commits into
Open
matthewmr-eqty wants to merge 2 commits into
matthewmr-eqty wants to merge 2 commits into
Conversation
Need: Docs sites and apps need sidebar folders readers can open and close, built from Equality instead of hand-rolled. Problem: Nav could only drill into a new level, so a docs tree had no Equality part, and its hints each set their own colour. Solution: NavListExpandable adds folders that keep their links in server HTML and open around the current page. One muted colour styles every hint, and new-tab rows draw their own ↗. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matthewmr-eqty
marked this pull request as draft
October 30, 2026 19:53
matthewmr-eqty
force-pushed
the
feat/grd-193-nav-expandable
branch
from
October 30, 2026 19:56
67edc09 to
7e9d852
Compare
matthewmr-eqty
marked this pull request as ready for review
October 30, 2026 20:09
This was referenced Oct 30, 2026
matthewmr-eqty
marked this pull request as draft
October 30, 2026 20:41
…er arrow under reduced motion Need: Readers in high-contrast mode, or with reduced motion on, need the same cues as everyone else. Problem: Forced colours boxed every row and left the current rail item unmarked; a folder's arrow still turned with reduced motion on; a leaving drill level jumped 12px under a switcher; a nudge of 0 still nudged. Solution: Only the current row and rail item keep a border in forced colours, the arrow drops its transition, the leaving level keeps the switcher gap, and a 0 nudge is honoured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matthewmr-eqty
marked this pull request as ready for review
October 30, 2026 20:53
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Need
Docs sites and apps need sidebar folders readers open and close, built from Equality rather than hand-rolled.
Problem
Nav could only drill into a new level, so a docs tree had no Equality part. Its hints each set their own colour, apps hand-built new-tab arrows, and the gap under the switcher depended on the group below it.
Change
NavListExpandableadds folders that keep their links in server HTML, open themselves around thecurrentrow, and move with the drill's motion, now named once as--eq-nav-motion-*.--eq-list-item-muted-colorcolours every hint (›, ⌄, ‹, ↕, ↗). Each takes its row's colour on hover and on the current row.target="_blank"rows draw their own ↗, "(opens in a new tab)" andrel.--eq-switcher-name-fadelets a site set its fade.MotionCollapsibleContentno longer grows when it first renders open.Evidence
astro checkpass on this commit alone.Review focus
Merging publishes 5.1.0. Start with
NavListExpandableand how a folder opens around the current row innav-list.tsx, thennav-list.module.cssandnav.module.css. Studio sees two changes on upgrade: a quieter ›, and hover fills only with a mouse. The Nav page that documents all this is its own PR, after this one.Not covered
Studio's
e2e/policy-subnav.spec.tshasn't run against 5.1.0 (GRD-192). The live Nav page lags these parts until the docs PR merges.@eqtylab/docs0.16.0 follows and must drop its own ↗.Flow
Part of GRD-193 · GRD-81
🤖 Generated with Claude Code