Admin dashboard, Site design 2x2 grid, show password on login #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/visual-tweaks"
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
The admin opened on the Pages list and had no overview of how the studio is doing. This adds a dashboard at
/(login and the sidebar title land there), plus two small visual requests.Dashboard (
/)Order on the page: Coming up (grouped by day) and Needs attention first (side by side on xl, stacked on a phone), then the income/hours tiles (two per row on a phone), the income chart, then customers/regulars, what sells and popular lengths.
Slot places and code credits come from the shop hooks (
/api/shop/slots?detail=1,/api/shop/passes), so there's no second copy of those rules. The figures are inapp-admin/src/lib/server/dashboard.ts.Other changes
Testing
npm run check(app-admin): 0 errors; the 16 warnings were already there in files this PR doesn't touch.pb_schema.jsonand seeded orders (including refunded, voucher-paid and overlapping group bookings), windows, a group session, a code expiring soon and a failed email. I checked every figure by hand against the seed. Screenshots at 1600/1280/820/390px, with no sideways scrolling at any of them: dashboard, chart tooltip, attention list on a phone, Site design, and the login with the password shown./api/shop/passesreturns at most the 200 newest codes, so "codes owed" would undercount beyond that.🤖 Generated with Claude Code
https://claude.ai/code/session_01HA82gV9YDZk1XhjJ5LtyAt
Admin dashboard, Site design 2x2 grid, show password on loginto Admin dashboard, Site design grid, show password, footer privacy link on phonesAdmin dashboard, Site design grid, show password, footer privacy link on phonesto Admin dashboard, Site design 2x2 grid, show password on login