Frontend theme redo: player portal → Admin sidebar shell + stat-tile My Characters #50
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/frontend-theme-redo"
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?
Implements the Frontend Theme Redo Claude Design doc (decision 1a): bring the logged-in Player Portal chrome in line with Admin, and bump Admin → My Characters to the same bar.
Login screens and the public site nav were already consistent and are untouched.
Changes
PlayerPortalLayout.jsx— replaced the light top-tab header (820px cap) with the full Admin sidebar shell: reuses.admin-grid, an icon sidebar nav (Characters / Account), a sticky content header with the active page title + "← Site", and a footer with a green "Signed in as …" live dot and Sign out. The two logged-in experiences now read as one app.PlayerCharacters.jsx/PlayerAccount.jsx— dropped the now-redundant inner<h1>; the page title lives in the sticky header.components/CharacterStats.jsx(new) — stat-tile row (Characters / Online now / Linked account) reusing the site's.panel/.grid-3vocabulary. Fetches accounts + rosters withPromise.allSettledso a restarting shard (503) degrades to—instead of blanking the row; stays hidden until an account is linked.AdminCharacters.jsx— rendersCharacterStatsabove the shared roster instead of the bare intro paragraph, matching the Player Portal Characters page.Verification
npm run build(client) compiles clean (230 modules, no errors).--panel-grad,--mode-live,--blue,.grid-3,.panel) already exist; no new CSS needed.Not yet given an auth'd live visual smoke (portal/admin routes are auth-gated; needs the local stack + a logged-in session).
🤖 Generated with Claude Code