feat(app): identity screens and /app shell — auth store, login/signup/reset flows, dashboard, account

- state/authStore: session subscription (initialize + onAuthStateChange), profile + roles load, recovery flag, URL failure; services/localeSync: profiles.locale <-> localeStore
- routes: /login, /signup, /forgot-password, /reset-password, /auth/callback; guards RequireAuth (next=) and RedirectIfSignedIn; /app (dashboard), /app/account behind the guard
- shell: AppLayout (desktop sidebar, light top bar, mobile drawer), SidebarNav, UserBadge, SignOutButton
- account: personal / professional / preferences / security sections, one save each, Zod validation with i18n keys
- ui: Icon, FormField, Notice, ButtonLink (buttonClassName shared), PasswordField, OAuthButtons (config-driven)
- Home header: Mon espace / Se connecter when Supabase is configured; local tool routes untouched
- i18n: auth.*, shell.*, dashboard.*, account.*, home.space.* in fr + en
This commit is contained in:
bchanot committed 2026-10-11 23:29:13 +02:00
1 parent 0f7292f9b3
commit c517ea267b
46 files changed
+2798 -11

No files matched your search

+2
View File
@@ -3,6 +3,8 @@ export {
type FaunosteoClient,
type SupabaseConnection,
} from './client'
/** Auth types the app needs without depending on supabase-js directly. */
export type { AuthChangeEvent, Session, User } from '@supabase/supabase-js'
export type {
Database,
Enums,