From 5ed6af72840d07f361be37e80e98d3f0807a93f1 Mon Sep 17 00:00:00 2001 From: mcull Date: Wed, 1 Jul 2026 00:36:27 -0700 Subject: [PATCH] chore(onboarding): remove the completeness indicator + caption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per feedback, keep the card tidy and simple for now — drop the progress checkboxes row and the 'You can fill in the rest anytime.' caption. The ProfileCompleteness component + profileCardStatus helper are left in place (unused) so they're easy to revive later. Co-Authored-By: Claude Opus 4.8 --- src/components/ProfileWizard.tsx | 58 -------------------------------- 1 file changed, 58 deletions(-) diff --git a/src/components/ProfileWizard.tsx b/src/components/ProfileWizard.tsx index 23ddca6..92e7ab8 100644 --- a/src/components/ProfileWizard.tsx +++ b/src/components/ProfileWizard.tsx @@ -19,13 +19,6 @@ import { z } from 'zod'; import { brandColors } from '@/theme/brandTokens'; -import { - profileCardStatus, - completedCardCount, - type CompletenessKey, -} from './profile-wizard/completeness'; -import { canSubmitMinimal } from './profile-wizard/minimalEntry'; -import { ProfileCompleteness } from './profile-wizard/ProfileCompleteness'; import { ProfileStep1 } from './profile-wizard/ProfileStep1'; import { ProfileStep2 } from './profile-wizard/ProfileStep2'; import { Wordmark } from './Wordmark'; @@ -335,34 +328,6 @@ export function ProfileWizard({ const CurrentStepComponent = steps[activeStep]?.component; - // Derive card completeness for the indicator that replaced the stepper. - const pa = watchedValues.parsedAddress; - const cardStatus = profileCardStatus({ - // Past the entry step, basics are necessarily done (either completed here - // on step 0, or previously via minimal entry when arriving from a prompt — - // the wizard form is blank in that case, so don't rely on it). - hasBasics: - activeStep > 0 || - canSubmitMinimal({ - name: watchedValues.name ?? '', - agreedToHouseholdGoods: !!watchedValues.agreedToHouseholdGoods, - agreedToTrustAndCare: !!watchedValues.agreedToTrustAndCare, - agreedToCommunityValues: !!watchedValues.agreedToCommunityValues, - agreedToAgeRestrictions: !!watchedValues.agreedToAgeRestrictions, - agreedToTerms: !!watchedValues.agreedToTerms, - }), - hasPhoto: - watchedValues.profilePicture instanceof File || - Boolean(watchedValues.profilePictureUrl), - hasAddress: Boolean(pa?.address1 && pa?.city && pa?.state && pa?.zip), - }); - - // What's being filled in on the current screen: basics on step 0; both - // photo and address on the combined completion screen (each checks off - // independently as it's completed). - const currentCardKeys: CompletenessKey[] = - activeStep === 0 ? ['basics'] : ['photo', 'address']; - return ( - {/* Card completeness — what the library card holds, filling in as you - go (replaces the linear 1-2-3 stepper). */} - - - - {completedCardCount(cardStatus) < cardStatus.length - ? 'You can fill in the rest anytime.' - : 'Your card is all set!'} - - - {/* Form Content */}