nxtgauge-admin-solid/src/routes
Tracewebstudio Dev 164bbaf99b
Some checks failed
build-and-release / build (push) Failing after 30s
feat: role registration wizard + shared identity doc pre-fill
- Add RoleWizard inline to SwitchServicesPage after successful role
  registration — same wizard flow as ProfilePage, no separate step
- Pre-fill identity documents (Aadhaar, PAN, selfie, etc.) from the
  user's active role profile so they don't re-upload on second role
- Add identity_shared flag to RuntimeOnboardingField for admin-
  configurable per-field opt-in; CONVENTION_IDENTITY_FIELD_IDS covers
  common IDs without schema changes
- Extract roleKeyToPrefix() into src/lib/role-utils.ts (shared util)
- Fix solid/reactivity: snapshot portfolioForm()/form()/docUrls()
  synchronously before the first await in handleSubmit
- Reuse badge (♻ purple) distinguishes pre-filled docs from new uploads;
  Change link clears the pre-fill and lets user re-upload
- Pending roles now show 'Under Review' status badge instead of Switch
- ArrowLeft back-button in header exits wizard without full page reload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-12 14:55:25 +02:00
..
admin feat: role registration wizard + shared identity doc pre-fill 2026-08-12 14:55:25 +02:00
api Update admin session, gateway, jobs/leads routes, login, and add API me endpoint 2026-05-08 15:34:46 +02:00
[...404].tsx chore: sync latest dashboard and role flow updates 2026-04-05 16:52:01 +02:00
admin.tsx chore: sync latest dashboard and role flow updates 2026-04-05 16:52:01 +02:00
index.tsx chore: sync latest dashboard and role flow updates 2026-04-05 16:52:01 +02:00
login.tsx feat: role registration wizard + shared identity doc pre-fill 2026-08-12 14:55:25 +02:00