mitai-jinkendo/frontend/src/pages
Lars ca9112ebc0
All checks were successful
Deploy Development / deploy (push) Successful in 37s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s
fix: email verification auto-login and user experience
AuthContext:
- Added setAuthFromToken() for direct token/profile set
- Used for email verification auto-login (no /login request)
- Properly initializes session with token and profile

Verify.jsx:
- Fixed auto-login: now uses setAuthFromToken() instead of login()
- Added "already_verified" status for better UX
- Auto-redirect to /login after 3s if already verified
- Shows friendly message instead of error

This fixes:
- 422 Unprocessable Entity error during auto-login
- Empty dashboard page after verification (now redirects correctly)
- "Ungültiger Link" error on second click (now shows "bereits bestätigt")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 10:32:24 +01:00
..
ActivityPage.jsx feat: complete Phase 4 enforcement UI for all features (frontend) 2026-03-21 07:42:50 +01:00
AdminCouponsPage.jsx feat: add AdminCouponsPage for coupon management 2026-03-20 07:53:47 +01:00
AdminFeaturesPage.jsx refactor: improve AdminFeaturesPage form layout and UX 2026-03-20 07:47:00 +01:00
AdminPanel.jsx refactor: remove legacy permission system, use only feature-overrides 2026-03-20 08:51:49 +01:00
AdminTierLimitsPage.jsx feat: add toggle buttons for boolean features in matrix editor 2026-03-20 06:28:31 +01:00
AdminTiersPage.jsx feat: add admin pages for Features and Tiers management 2026-03-20 06:35:13 +01:00
AdminUserRestrictionsPage.jsx fix: AdminUserRestrictionsPage - show effective values, auto-remove redundant overrides 2026-03-20 12:08:29 +01:00
Analysis.jsx feat: complete Phase 4 enforcement UI for all features (frontend) 2026-03-21 07:42:50 +01:00
CaliperScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00
CaptureHub.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
CircumScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00
Dashboard.jsx fix: email verification flow and trial system 2026-03-21 10:20:06 +01:00
GuidePage.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
History.jsx fix: drei kritische Bugs in KI-Analysen behoben 2026-03-19 07:47:59 +01:00
LoginScreen.jsx feat: add self-registration frontend 2026-03-21 09:55:23 +01:00
MeasureWizard.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
NewMeasurement.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
NutritionPage.jsx fix: [BUG-003] correlations chart shows all weight data with extrapolation 2026-03-21 09:51:20 +01:00
PasswordRecovery.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
ProfileSelect.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
Register.jsx feat: add self-registration frontend 2026-03-21 09:55:23 +01:00
SettingsPage.jsx refactor: consolidate badge styling to CSS classes 2026-03-21 06:54:45 +01:00
SetupScreen.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
SubscriptionPage.jsx feat: add SubscriptionPage - user-facing subscription info 2026-03-20 10:31:04 +01:00
Verify.jsx fix: email verification auto-login and user experience 2026-03-21 10:32:24 +01:00
WeightScreen.jsx fix: add dashboard weight enforcement and fix hover tooltips 2026-03-21 07:25:47 +01:00