Commit Graph

21 Commits

Author SHA1 Message Date
e27c1ca06c chore(auth): non-blocking follow-ups from final review
- /api/stats: add verifyCsrf middleware (defense-in-depth; no-op for GETs)
- VerifyEmailPage: useRef guard to prevent React StrictMode double-fire of
  the single-use verify token in dev
- router.tsx: route-level code splitting via React.lazy + Suspense; initial
  bundle drops from 397 KB to 224 KB with per-route chunks (0.3–14 KB each)
- e2e: wait for verify-email completion before login; bump Account-menu
  timeout to handle Vite cold-chunk compile
2026-05-20 23:27:52 +02:00
5739b6d941 test(e2e): register+verify smoke and admin invite flow via Mailpit 2026-05-20 23:19:56 +02:00
28bb903b93 feat(frontend): router with auth boundary, role guard, and all auth pages 2026-05-20 23:12:59 +02:00
117cd52e3e feat(frontend): admin users page (invite, role, activate, send-reset) 2026-05-20 23:11:53 +02:00
88ba0a790c feat(frontend): profile page (display name, email, change password) 2026-05-20 23:10:28 +02:00
1850cd78f5 feat(frontend): VerifyEmail + ForgotPassword + ResetPassword + AcceptInvite pages 2026-05-20 23:09:04 +02:00
4e15d8b59d feat(frontend): Login + Register pages 2026-05-20 23:07:19 +02:00
6f921ae44e feat(frontend): AuthBoundary, RoleGuard, UserMenu + Layout integration 2026-05-20 23:05:36 +02:00
bd74098786 feat(frontend): authStore (Zustand) 2026-05-20 23:03:43 +02:00
eb540c2cd8 feat(frontend): API client CSRF support + auth and admin-users API modules 2026-05-20 23:02:47 +02:00
b984e83e2b feat(frontend): apply UI/UX design system - purple/green palette, gradient buttons, 3D flip, polished pages
Applied ui-ux-pro-max design system recommendations:
- Tailwind theme: study purple primary + correct green accent
- Inter + Plus Jakarta Sans typography
- Glassmorphic surfaces with soft shadows and mesh background
- Real 3D card flip with spring physics + answer feedback flash
- Gradient stat cards, progress bar, animated done screen with score ring
- Polished Layout, Dashboard, Admin, AdminLesson, CardTable, ImportDialog, PracticeSetup, Practice, PracticeDone
- E2E smoke updated for new accessible names
2026-05-20 21:48:47 +02:00
f88b4d57de test(e2e): playwright smoke for create→practice flow 2026-05-20 21:29:51 +02:00
b1992d0dad feat(frontend): resume active session prompt 2026-05-20 21:26:09 +02:00
f1abb64573 feat(frontend): settings page with dark mode and defaults 2026-05-20 21:24:12 +02:00
289a58fac0 feat(frontend): dashboard and stats pages 2026-05-20 21:22:44 +02:00
2444e2400f feat(frontend): practice setup, session and done flow 2026-05-20 21:20:30 +02:00
16a7cc6ad6 feat(frontend): admin card management with excel import/export 2026-05-20 21:17:55 +02:00
1fd31e1001 feat(frontend): admin lesson tree CRUD 2026-05-20 21:15:54 +02:00
1d501ee50a feat(frontend): zustand stores for settings, lessons, session 2026-05-20 21:14:20 +02:00
1c977c4743 feat(frontend): API client modules + backend GET /api/cards/:id 2026-05-20 21:12:38 +02:00
480ee15df9 feat(frontend): bootstrap React + Vite + Tailwind + Router + Layout 2026-05-20 21:10:27 +02:00