refactor(layout): migrate 3 floating popovers to .glass-panel-strong (Brief 3) #124
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#124
Loading…
Reference in a new issue
No description provided.
Delete branch "brief-3-floating-popovers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Brief 3 of
unify-glass-panel-surfaces. Migrates the three floating popovers in the authenticated app — sidebar profile dropdown, mobile drawer, and TopSearchBar UserMenu — from handrolled inlinevar(--glass-surface-*)+backdropFilterstyles to the canonical.glass-panel-strongclassName.Box-shadow chains preserved as inline overrides (each popover has a distinct shadow stack: ember rim for the dropdowns, pronounced elevation for the drawer + UserMenu).
Files changed
components/Layout.js— UserProfileDropdown panel + mobile drawer. The Layout's sidebar nav-chip / main-content chrome block (L853-863) intentionally retains its handrolled full-intensity gradient — allowlisted by Brief 7.components/ui/TopSearchBar.js— UserMenu dropdown. The<header>chrome block stays handrolled (also allowlisted).test/components/Layout.test.js— +2 regression-lock assertions.Net diff: +53 / -14.
Box-shadow preservation
var(--rim-light-inner), var(--ember-rim-subtle), var(--elevation-ambient)var(--rim-light-inner), var(--rim-light-outer), var(--elevation-pronounced)var(--rim-light-inner), var(--ember-rim-subtle), var(--elevation-pronounced)The architect's boot-the-brief check caught the UserMenu using
-pronounced(not-ambientas my initial brief draft showed) — that fix landed in PR #119's plan before this brief shipped.Acceptance criteria
className="glass-panel-strong ...".background: var(--glass-surface-*)orbackdropFilterremains on any of the three.boxShadowvia inline override.<header>chrome blocks UNCHANGED (allowlist)..glass-panel-strong.md:hidden.fixed.inset-y-0.left-0; inline style containsvar(--elevation-pronounced)and contains NOvar(--glass-surface-*)and NObackdrop-filter.npm run lintpasses (1 pre-existing unrelated warning).npm run test:run: 118/118 tests pass (was 116; +2 new).Test plan
Related
.convoys/unify-glass-panel-surfaces.md.convoys/unify-glass-panel-surfaces/brief-3-floating-popovers.mdMade with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.