Add regional task templates to onboarding with multiple bug fixes

- Fetch regional templates by ZIP during onboarding and display categorized
  task suggestions (iOS + KMM shared layer)
- Fix multi-expand for task categories (toggle independently, not exclusive)
- Fix ScrollViewReader auto-scroll to expanded category sections
- Fix UUID stability bug: cache task categories to prevent ID regeneration
  that caused silent task creation failures
- Fix stale data after onboarding: force refresh residences and tasks in
  RootView onComplete callback
- Fix address formatting: show just ZIP code when city/state are empty
  instead of showing ", 75028" with leading comma

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-05 15:15:47 -06:00
parent 98dbacdea0
commit 48081c0cc8
15 changed files with 706 additions and 61 deletions
+15 -12
View File
@@ -46,18 +46,6 @@
"comment" : "A message displayed when a contractor is successfully imported to the user's contacts. The placeholder is replaced with the name of the imported contractor.",
"isCommentAutoGenerated" : true
},
"%@, %@ %@" : {
"comment" : "A label displaying the city, state, and postal code of the residence.",
"isCommentAutoGenerated" : true,
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@, %2$@ %3$@"
}
}
}
},
"%@: %@" : {
"comment" : "An error message displayed when there was an issue loading tasks for a residence.",
"isCommentAutoGenerated" : true,
@@ -146,6 +134,9 @@
}
}
}
},
"12345" : {
},
"ABC123" : {
@@ -5264,6 +5255,9 @@
},
"CONFIRM PASSWORD" : {
},
"Continue" : {
},
"Continue with Free" : {
@@ -16992,6 +16986,9 @@
"Enter your email address and we'll send you a verification code" : {
"comment" : "A description below the email input field, instructing the user to enter their email address to receive a password reset code.",
"isCommentAutoGenerated" : true
},
"Enter your ZIP code so we can suggest\nmaintenance tasks for your climate region." : {
},
"Error" : {
"comment" : "The title of an alert that appears when there's an error.",
@@ -17358,6 +17355,9 @@
},
"Help improve Casera by sharing anonymous usage data" : {
},
"Here are tasks recommended for your area.\nPick the ones you'd like to track!" : {
},
"Hour" : {
"comment" : "A picker for selecting an hour.",
@@ -30125,6 +30125,9 @@
"Welcome to Your Space" : {
"comment" : "A welcoming message displayed at the top of the \"Organic Empty Residences\" view.",
"isCommentAutoGenerated" : true
},
"Where's your home?" : {
},
"You now have access to %@." : {
"comment" : "A message displayed when a user successfully imports a residence, indicating that they now have access to it. The argument is the name of the residence that was imported.",