Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Opened

PR #116 opened: feat: complete company profile frontend experience

Summary

Completes the company profile feature across every screen. Previously only the backend and registration were wired up — onboarding, dashboard, profile management, public profile, and settings all showed the individual cleaner experience regardless of account type.

What changed (18 files)

Backend (7 files)

  • CleanerProfileData DTO now passes is_company, company_name, company_logo_url to all pages
  • HandleInertiaRequests shares is_company globally — sidebar/nav shows company name + logo
  • UpdateCleanerInfo action saves company fields from edit dialog
  • CompanyConversionController gains revert() method for converting back to individual
  • Onboarding controller passes isCompany to all steps

Onboarding (3 files)

  • Step 1: "Your Company" heading, company name field, 4-step counter
  • Step 2: "Years in business" / "How far do you cover?" labels
  • Step 5: "Your company is now listed" completion message

Dashboard (2 files)

  • Greeting: "Welcome, Sparkle Clean" instead of "Welcome, Jane"

Profile management (2 files)

  • Header: company name + logo
  • Edit dialog: company name field, "Owner Details" section label
  • Verification warning hidden for companies

Public profile (1 file)

  • "Cleaning Company" badge, company name in "About" section, "Block this company"

Settings (1 file)

  • "Revert to Individual" section for company users

Test plan

  • 1027 tests pass (0 failures)
  • Build passes clean
  • QA: register as company → full onboarding flow
  • QA: dashboard greeting shows company name
  • QA: edit profile → company name field visible
  • QA: public profile → shows company badge
  • QA: settings → convert to/from company
+430
additions
-51
deletions
20
files changed