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:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -354,6 +354,7 @@ class ResidenceViewModel: ObservableObject {
|
||||
isPrimary: false,
|
||||
isActive: true,
|
||||
overdueCount: 0,
|
||||
completionSummary: nil,
|
||||
createdAt: now,
|
||||
updatedAt: now
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user