Add honeycomb completion heatmap and dev API environment

- Add HoneycombSummaryView component with colored hexagon grid
- Display completion summary on residence detail screen
- Add CompletionSummary model to KMP shared layer
- Add DEV/PROD environment split in ApiConfig
- Fix ResidenceResponse initializers for completionSummary parameter

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-12 00:05:11 -05:00
parent b8360a2e86
commit 7689027bdd
9 changed files with 280 additions and 11 deletions

View File

@@ -237,6 +237,15 @@ private extension ResidenceDetailView {
contractorsSection
.padding(.horizontal, 16)
// Honeycomb completion summary
if let summary = residence.completionSummary {
HoneycombSummaryView(
summary: summary,
residenceName: residence.name
)
.padding(.horizontal, 16)
}
}
.padding(.bottom, OrganicSpacing.airy)
}

View File

@@ -354,6 +354,7 @@ class ResidenceViewModel: ObservableObject {
isPrimary: false,
isActive: true,
overdueCount: 0,
completionSummary: nil,
createdAt: now,
updatedAt: now
)