nxtgauge-frontend-solid/src
Ashwin Kumar Sivakumar f4b9885974
All checks were successful
build-and-release / build (push) Successful in 1m42s
Add schema-driven verification wizard, replacing per-role hardcoding
Generalizes the COMPANY-only 3-step wizard into RoleWizard, a component
driven entirely by the role's active onboarding_configs schema (fetched
via fetchOnboardingSchemaForRole) rather than hardcoded field/step
lists. Which roles get the wizard, and when, is now a runtime toggle
(enableWizardFlow) set through the new admin schema editor:

- ProfilePage shows the wizard while unverified/sent-back-for-fixes,
  falls back to the existing free-form tabs once approved, and greys
  out (both client- and server-side) any field the schema marks
  lockAfterApproval once approved — previously isLocked() only covered
  the in-review window and unlocked everything again at APPROVED.
- dashboard.tsx hides My Profile/My Portfolio from the sidebar
  pre-approval only for roles that have the wizard enabled (roles not
  yet rolled out keep direct access, so they aren't left with no way to
  complete their profile), and shows a checkmark on the Verification
  nav item once approved.

Rolling out to more roles is now purely an admin-panel config change —
no further code needed, since RoleWizard has no role-specific branches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 20:10:41 +05:30
..
components Add schema-driven verification wizard, replacing per-role hardcoding 2026-07-28 20:10:41 +05:30
data feat: improve Help Center UI with mixed dark/light theme and structured content 2026-04-09 21:52:16 +02:00
hooks fix: local dev proxy, TypeScript errors, and test quality 2026-07-17 00:47:32 +02:00
lib Add schema-driven verification wizard, replacing per-role hardcoding 2026-07-28 20:10:41 +05:30
routes Add schema-driven verification wizard, replacing per-role hardcoding 2026-07-28 20:10:41 +05:30
stories chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
test fix: local dev proxy, TypeScript errors, and test quality 2026-07-17 00:47:32 +02:00
app.css fix: Update buttons from orange to navy blue for accessibility WCAG AA compliance 2026-07-07 05:07:28 +05:30
app.tsx fix(frontend): use nxtgauge browser branding 2026-06-14 18:56:33 +05:30
entry-client.tsx feat: align solid public pages and auth flows with nextjs parity 2026-03-17 15:35:58 +01:00
entry-server.tsx feat: Implement light theme for NXTGAUGE 2026-07-06 22:39:48 +05:30
global.d.ts Fix security audit finding: replace fake client-side captcha 2026-07-23 17:32:43 +05:30
middleware.ts fix: local dev proxy, TypeScript errors, and test quality 2026-07-17 00:47:32 +02:00