Apply Voight-Kampff design treatment to landing and dashboard #17
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/auth!17
Loading…
Reference in a new issue
No description provided.
Delete branch "voight-kampff-design"
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
Rebuilds
src/server.tsrendering from the Claude Design handoff bundle'sVoight-Kampff Auth.htmlprototype. Every Better Auth flow, session, and admin endpoint is preserved — only the rendered HTML/CSS/JS changes, plus one additive route to expose the already-configured Google provider.The existing landing already had the Voight-Kampff identity; this PR brings the prototype's full design system in (tank-operator chrome + VK motifs, design tokens, all six dashboard sections, atmosphere details like the empathy prompt cycler and off-world ticker).
Visual / structural changes
user.idandcreatedAt*.romaine.lifesubdomains, granted/no-prefs state derived from the user'sappsJSON blob, tile links to the actual subdomain/api/auth/*deep-links, source link, off-world emigration ticker. Fixed pyramid corner sigil.Functional additions
POST /sign-in/googleandGET /sign-in/google?callbackURL=…, mirroring the Microsoft handler. Google is already configured as a Better Auth social provider inauth.ts; this exposes a route so the dashboard's Google button works (and so downstream apps can use Google for cross-app sign-in like they already do for Microsoft).socialSignInRedirecthelper./admin) reuses the shared chrome — same iris-mini header, sections, and form styling as the dashboard.What's preserved (no changes)
src/auth.ts,src/db/*,auth.api.signInSocial/signOutflow/admingating, validation, and update/enroll logic/api/auth/*,/health,/readyTest plan
npm run typecheckpasses (verified locally — clean)npm run buildproducesdist/server.js(verified locally — clean)/renders the landing (iris, empathy prompt cycler ticks every 9s, both sign-in buttons, off-world ticker animates, UTC clock updates each second)/shows the dashboard with all four sections populated; decoded↔raw tab toggles; copy button briefly shows "copied"user.appscontains their key/adminreachable as admin, returns 403 otherwise; user/role/apps edits still persistprefers-reduced-motion: reducekills animationsView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.