match face wizard with camera and classification wizards

This commit is contained in:
Josh Hawkins 2025-10-24 07:49:25 -05:00
parent 49f5d595ea
commit 696f2062b6
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"description": { "description": {
"addFace": "Walk through adding a new collection to the Face Library.", "addFace": "Add a new collection to the Face Library by uploading your first image.",
"placeholder": "Enter a name for this collection", "placeholder": "Enter a name for this collection",
"invalidName": "Invalid name. Names can only include letters, numbers, spaces, apostrophes, underscores, and hyphens." "invalidName": "Invalid name. Names can only include letters, numbers, spaces, apostrophes, underscores, and hyphens."
}, },

View File

@ -102,17 +102,23 @@ export default function CreateFaceWizardDialog({
}} }}
> >
<Content <Content
className={cn("flex flex-col gap-4", isDesktop ? "max-w-3xl" : "p-4")} className={cn(
"flex flex-col gap-4",
isDesktop ? (step == 0 ? "max-w-xl" : "max-w-3xl") : "p-4",
)}
> >
<Header>
<Title>{t("button.addFace")}</Title>
{isDesktop && <Description>{t("description.addFace")}</Description>}
</Header>
<StepIndicator <StepIndicator
steps={STEPS} steps={STEPS}
currentStep={step} currentStep={step}
translationNameSpace="views/faceLibrary" translationNameSpace="views/faceLibrary"
className="mb-4 justify-start"
variant="dots"
/> />
<Header>
<Title>{t("button.addFace")}</Title>
{isDesktop && <Description>{t("description.addFace")}</Description>}
</Header>
{step == 0 && ( {step == 0 && (
<TextEntry <TextEntry
placeholder={t("description.placeholder")} placeholder={t("description.placeholder")}