nxtgauge-admin-solid/src/routes/admin/users
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
..
[id] feat: role registration wizard + shared identity doc pre-fill 2026-08-12 14:55:25 +02:00
details fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
index.tsx feat: role registration wizard + shared identity doc pre-fill 2026-08-12 14:55:25 +02:00