From 99e6d792ee1f486e259764e79b32ae408e55a0b6 Mon Sep 17 00:00:00 2001 From: harry-eastham Date: Thu, 30 Oct 2025 13:06:43 +0000 Subject: [PATCH 1/3] Add session templates and improve creation flow UI Fixed templates page which was removed in previous release, updating navigation and metadata accordingly. Enhances the multi-step session creation form with improved step logic, editable summary fields, and UI refinements. Refactors participant info and review steps for clarity, updates button padding logic, and streamlines progress and navigation components. Also adds logic to skip steps when using templates and improves overall user experience in the session creation flow. --- src/app/(dashboard)/page.tsx | 2 +- src/app/api/metadata.ts | 4 + src/app/create/MultiStepForm.tsx | 248 ++++++++++++++++----- src/app/create/QuestionContainerHeader.tsx | 15 +- src/app/create/ShareParticipants.tsx | 15 +- src/app/create/StepNavigation.tsx | 7 +- src/app/create/StepProgress.tsx | 25 ++- src/app/create/creationFlow.tsx | 20 ++ src/app/create/review.tsx | 97 +++++--- src/app/templates/TemplatesClient.tsx | 94 ++++++++ src/app/templates/page.tsx | 8 + src/components/ui/button.tsx | 13 +- 12 files changed, 414 insertions(+), 134 deletions(-) create mode 100644 src/app/templates/TemplatesClient.tsx create mode 100644 src/app/templates/page.tsx diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx index 7400c078..31817bc2 100644 --- a/src/app/(dashboard)/page.tsx +++ b/src/app/(dashboard)/page.tsx @@ -218,7 +218,7 @@ export default async function Dashboard({
- + + )} + + {isEditing ? ( +
+