nxtgauge-frontend-solid/public/favicon.ico
Tracewebstudio Dev 1df875ed36
All checks were successful
build-and-release / build (push) Successful in 1m44s
feat: role registration wizard + shared identity doc pre-fill
- Show RoleWizard inline in SwitchServicesPage immediately after
  role registration — no separate navigate-to-profile step
- Pre-fill shared identity docs (Aadhaar, PAN, selfie, address proof)
  from the user's active role profile so they don't re-upload on a
  second role registration
- Add identity_shared: boolean to RuntimeOnboardingField type so admins
  can mark fields in the Onboarding Schema Editor; CONVENTION_IDENTITY_
  FIELD_IDS covers common IDs automatically as a fallback
- Extract roleKeyToPrefix() into src/lib/role-utils.ts shared utility
- FileControl sub-component keeps reactivity clean (no any casts)
- Fix solid/reactivity: snapshot form()/docUrls()/portfolioForm()
  synchronously before the first await in handleSubmit/savePortfolio
- Reuse badge (♻ indigo) distinguishes pre-filled docs from new uploads;
  Change link clears pre-fill so user can re-upload
- Pending roles now show 'Under Review' badge; wizard exits via ArrowLeft

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-12 14:56:03 +02:00

2 KiB