From 94f40d194b7a123e4dcd61d37cb7cc0bcdbeba83 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Thu, 19 Mar 2026 13:58:42 +0100 Subject: [PATCH] feat(admin): apply Next-style navigation shell to create flows --- src/routes/admin/onboarding-schemas/new.tsx | 12 +++++++++--- src/routes/admin/roles/create.tsx | 12 +++++++++--- src/routes/admin/runtime-roles/new.tsx | 14 ++++++++++---- 3 files changed, 28 insertions(+), 10 deletions(-) diff --git a/src/routes/admin/onboarding-schemas/new.tsx b/src/routes/admin/onboarding-schemas/new.tsx index 0b7d4e5..e31de4c 100644 --- a/src/routes/admin/onboarding-schemas/new.tsx +++ b/src/routes/admin/onboarding-schemas/new.tsx @@ -1,4 +1,4 @@ -import { useNavigate } from '@solidjs/router'; +import { A, useNavigate } from '@solidjs/router'; import { createMemo, createSignal, For, Show } from 'solid-js'; import AdminShell from '~/components/AdminShell'; @@ -103,12 +103,18 @@ export default function CreateOnboardingFlowPage() { return ( -
+ + +

Create Onboarding Flow

Build one onboarding flow at a time. Start with the role, add steps, then configure fields for each step.

- Back to Onboarding + Back to Onboarding
diff --git a/src/routes/admin/roles/create.tsx b/src/routes/admin/roles/create.tsx index 0334223..b06b126 100644 --- a/src/routes/admin/roles/create.tsx +++ b/src/routes/admin/roles/create.tsx @@ -1,4 +1,4 @@ -import { useNavigate } from '@solidjs/router'; +import { A, useNavigate } from '@solidjs/router'; import { createMemo, createResource, createSignal, Show } from 'solid-js'; import AdminShell from '~/components/AdminShell'; @@ -90,14 +90,20 @@ export default function CreateInternalRolePage() { return ( -
+

Create Internal Role

Add a new internal role with module access and permissions.

- Back to Roles + Back to Roles
+ +
{error()}
diff --git a/src/routes/admin/runtime-roles/new.tsx b/src/routes/admin/runtime-roles/new.tsx index c2615cf..13b1312 100644 --- a/src/routes/admin/runtime-roles/new.tsx +++ b/src/routes/admin/runtime-roles/new.tsx @@ -1,4 +1,4 @@ -import { useNavigate } from '@solidjs/router'; +import { A, useNavigate } from '@solidjs/router'; import { createSignal, Show } from 'solid-js'; import AdminShell from '~/components/AdminShell'; @@ -81,14 +81,20 @@ export default function CreateExternalRolePage() { return ( -
+

Create Runtime Role

-

Create an API-backed runtime role for the external workspace shell.

+

Create an API-backed runtime role for the external runtime shell.

- Back to Runtime Roles + Back to Runtime Roles
+ +
{error()}