feat(design-system): sweep authenticated body panels to glass #97
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#97
Loading…
Reference in a new issue
No description provided.
Delete branch "glass-body-panels"
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?
Why this exists
After PR #95 + PR #96 shipped the Liquid Glass foundation + Layout + landing/auth surfaces, the user flagged that the admin Card Editor screen still looked unchanged:
They were right. The prior PRs landed the architectural foundation (tokens, primitives, gates) and the highest-visibility public surfaces, but body-content panels on authenticated pages were left on solid
var(--bg-secondary)cards. So while the Layout shell + modals + landing/auth had the Liquid Glass treatment, the actual screens users spend their time on — dashboard, my-cards, admin tools, scanner, card detail — were rendering with the old flat warm-panel chrome.What this does
Adds two utility classes that wrap the canonical
<GlassSurface>recipes:.glass-panel—tint=mid blur=mid rim=subtle elevation=ambient(body content cards).glass-panel-strong—tint=high blur=high rim=subtle elevation=pronounced(floating popovers, bulk toolbars)Then sweeps them across 18 surfaces touched by the most-visited authenticated routes:
/admin/card-editor(the screen from the report)<Button>, "Save Changes" →<Button>/admin/card-import<Button>/admin/card-submissions/dashboard/my-cards/settings/scanner/card/[id]<PermissionIndicator>tooltips (left + right)/collections/community/collectionsAlso upgrades the admin top-nav and 3 admin CTAs to the
<Button>primitive so loading + disabled states match the rest of the app.What this intentionally leaves alone
border-bottomon dashboard, my-cards, cards, collections, community/collections, collection/[id]) stay solidbg-secondary. They're not card-shaped, and stacking glass directly under the already-glass topbar would muddy the hierarchy.bg-secondarystyling — they're not panels.<Modal>(e.g.CardDetailQuantityModalquantity buttons) stay solid; the modal scrim + body already provides the glass containment.Tests + verification
npm run lint— clean (1 stale eslint-disable removed fromCardEditorForm.js)npm run test:run— 104/104 vitest passnpm run build— production build green/admin/card-editorview from the bug report now renders the "Admin Tools" header + "Find Card to Edit" panel + (when populated) the form/preview panels as translucent glass cards instead of flat warm panels.What this does NOT change
seed-visual-baselines-on-linuxqueued convoy).Test plan
/admin/card-editorrenders the "Admin Tools" + "Find Card to Edit" panels as glass/dashboardstat cards render as glass/scannerscan grid + queue panels render as glass/card/[id]price cards render as glass[data-theme="dark"])Made with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.
Visual Diff
Screenshots and diffs uploaded as artifacts: view run
If intentional changes: update snapshots locally with
npx playwright test --project=visual --update-snapshotsand commit.