Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Merged

PR #106 merged: feat: add company profile support for cleaning companies

Summary

  • Cleaning companies can sign up and be listed alongside individual cleaners
  • A company profile is a flavour of cleaner profile — same search, quoting, payment, and messaging flows
  • Existing cleaners can convert to a company profile in settings without losing data

What changed

Registration: Third option "Cleaning Company" on the role selection modal. Maps to cleaner role with is_company=true.

Onboarding: Company profiles skip the verification step (trial phase). Step 1 accepts company name and logo.

Search & profiles: Companies appear in search results with a "Cleaning Company" badge, showing company name and logo instead of personal details. No ID/RTW verification required.

Settings: "Convert to Cleaning Company" section lets existing cleaners flip their profile. Reviews, payment history, and Stripe Connect stay intact.

Database: Single migration adding is_company, company_name, company_logo_url to cleaner_profiles. No new tables.

Test plan

  • 9 new tests covering registration, conversion, search DTOs, and onboarding skip
  • 1024 total tests pass (0 failures)
  • Build passes clean
  • QA: register as company, complete onboarding, appear in search
  • QA: convert existing cleaner to company in settings
  • Run php artisan migrate on deploy
+454
additions
-39
deletions
19
files changed