feat: pedir nombre al primer login + avatar con iniciales
- Detectar usuario nuevo (nombre == telefono) y redirigir a pantalla setup-name antes del dashboard - SetupNameView: bienvenida con campo de nombre obligatorio - AuthProvider.updateName() para guardar via PATCH /users/me - NavbarAvatar: iniciales con color por inicial del nombre en lugar de no-image.jpg cuando no hay foto - Perfil: mismo avatar de iniciales en la pantalla de perfil Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
7349d4e3fd
commit
bfa494b7fe
@@ -17,6 +17,9 @@ class Flurorouter {
|
||||
static String dashboardRoute = "/dashboard";
|
||||
static String supportRoute = "/dashboard/support";
|
||||
|
||||
// Onboarding
|
||||
static String setupNameRoute = "/dashboard/setup-name";
|
||||
|
||||
// Users
|
||||
static String profileRoute = "/dashboard/profile";
|
||||
static String phoneRoute = "/dashboard/phone";
|
||||
@@ -68,6 +71,13 @@ class Flurorouter {
|
||||
transitionType: TransitionType.none,
|
||||
);
|
||||
|
||||
// Onboarding
|
||||
router.define(
|
||||
setupNameRoute,
|
||||
handler: DashboardHandlers.setupName,
|
||||
transitionType: TransitionType.none,
|
||||
);
|
||||
|
||||
// Dashboard Routes
|
||||
router.define(
|
||||
dashboardRoute,
|
||||
|
||||
Reference in New Issue
Block a user