From 5ccd3e0f7bd6d8bdaa5eb8719d29d508298d7c44 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 27 Apr 2026 07:19:29 +0800 Subject: [PATCH] feat: add required field indicators to submit wizard --- components/wizard/game-entry-wizard.tsx | 4 ++++ components/wizard/steps/hardware-step.tsx | 9 ++++++--- components/wizard/steps/performance-step.tsx | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/components/wizard/game-entry-wizard.tsx b/components/wizard/game-entry-wizard.tsx index 4b49842..4db9d7d 100644 --- a/components/wizard/game-entry-wizard.tsx +++ b/components/wizard/game-entry-wizard.tsx @@ -173,6 +173,10 @@ export function GameEntryWizard({ gameId, gameVersionId }: GameEntryWizardProps) onStepClick={handleStepClick} /> +
+ * Required fields +
+ {/* Step Content */} -

- Select the hardware device you used to test this game. -

+
+

+ Select the hardware device you used to test this game. +

+ * +
{devices.map((device) => { diff --git a/components/wizard/steps/performance-step.tsx b/components/wizard/steps/performance-step.tsx index 383fdb5..ef0e74b 100644 --- a/components/wizard/steps/performance-step.tsx +++ b/components/wizard/steps/performance-step.tsx @@ -52,6 +52,7 @@ export function PerformanceStep({ value, onChange }: PerformanceStepProps) { placeholder="e.g. 45" className="w-full px-4 py-3 rounded-lg border border-border bg-text/5 text-text text-sm placeholder:text-text/40 outline-none focus:border-primary focus:ring-2 focus:ring-primary/50 transition-colors" /> +

Required — average framerate during gameplay