Simplify Account and move password change to a separate page #2

Merged
exler merged 5 commits from camila/account-password-page into main 2026-10-16 20:03:02 +02:00
Collaborator

Summary

  • Simplify Account: static selectable email and separate Change password page, preserving Admin and Sign out.
  • Use the selected Compact layout as the single shared layout for every page. Remove the legacy shell, Slip flag, conditional headers and layered Compact overrides.
  • Keep exactly one stylesheet import: /static/styles.css, no version query, additional stylesheet or CSS imports.
  • Retain required form, QR, admin table and application-detail styles in the single coherent stylesheet.
  • Serve CSS, logo and JS through the same static middleware with Cache-Control: public, max-age=3600; no custom CSS handler or per-request revalidation.
  • Preserve routes, MFA/CSRF protection, password validation, mandatory changes and session revocation.

Verification

  • go vet ./... — passed.
  • go test -count=1 ./... — passed, including shared-shell rendering, single plain stylesheet link, one-hour caching for CSS, logo and JS, plus authentication/password regressions.
  • git diff --check — passed.
  • Chromium: nine real fixture-rendered routes at 1200px, 390px and 320px, 27 route/viewport checks: no horizontal overflow, exactly one stylesheet link and one heading per page. Screenshots use synthetic local fixtures, not a production session.

No new dependencies or schema changes. Not deployed.

Unified Compact — visual verification

account-user-desktop
password-desktop
login-desktop
admin-overview-desktop
admin-application-desktop
account-user-mobile
password-mobile
login-mobile
admin-overview-mobile
admin-application-mobile

## Summary - Simplify Account: static selectable email and separate Change password page, preserving Admin and Sign out. - Use the selected Compact layout as the single shared layout for every page. Remove the legacy shell, Slip flag, conditional headers and layered Compact overrides. - Keep exactly one stylesheet import: `/static/styles.css`, no version query, additional stylesheet or CSS imports. - Retain required form, QR, admin table and application-detail styles in the single coherent stylesheet. - Serve CSS, logo and JS through the same static middleware with `Cache-Control: public, max-age=3600`; no custom CSS handler or per-request revalidation. - Preserve routes, MFA/CSRF protection, password validation, mandatory changes and session revocation. ## Verification - `go vet ./...` — passed. - `go test -count=1 ./...` — passed, including shared-shell rendering, single plain stylesheet link, one-hour caching for CSS, logo and JS, plus authentication/password regressions. - `git diff --check` — passed. - Chromium: nine real fixture-rendered routes at 1200px, 390px and 320px, 27 route/viewport checks: no horizontal overflow, exactly one stylesheet link and one heading per page. Screenshots use synthetic local fixtures, not a production session. No new dependencies or schema changes. **Not deployed.** ## Unified Compact — visual verification ![account-user-desktop](https://git.marut.network/attachments/b81b46e9-253d-4327-8ca0-1ae5366fb905) ![password-desktop](https://git.marut.network/attachments/7b8240a1-8828-4d8a-b43d-728a91ffce39) ![login-desktop](https://git.marut.network/attachments/234c3315-1490-4614-86ce-69a2ac45a94e) ![admin-overview-desktop](https://git.marut.network/attachments/f82fb99f-0aec-42f3-bf7d-ebf60dbd7fbf) ![admin-application-desktop](https://git.marut.network/attachments/8eff8e43-3d28-4dc3-93f2-89d1bc859ee3) ![account-user-mobile](https://git.marut.network/attachments/aea2a257-a004-4527-a2df-686a64372fb4) ![password-mobile](https://git.marut.network/attachments/5b5464c6-4684-45ee-97f0-aa1dfa43785a) ![login-mobile](https://git.marut.network/attachments/a415186b-3bce-4719-aecc-0e1e71affdfb) ![admin-overview-mobile](https://git.marut.network/attachments/7f123f14-6c37-4134-a9fe-5f0ec4c75f15) ![admin-application-mobile](https://git.marut.network/attachments/8b8da3fd-4a24-4d6f-9a10-bffbe45bca00)
exler merged commit 2f1d3b8f7d into main 2026-10-16 20:03:02 +02:00
exler deleted branch camila/account-password-page 2026-10-16 20:03:02 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
exler/thermopylae!2
No description provided.