Widgets: remove Event Countdown (dots) + Tasks Done Today (KC-17)

Drop the dot-grid EventCountdownWidget and TasksCompleteWidget from the
gallery: widget structs, their views, the todayTaskCompletion() helper
(only consumer), and bundle registrations. Shared event plumbing
(EventConfigIntent/Provider/Entry, CycleCountdownUnitIntent) stays for
the surviving Event Countdown (Bars); DotGrid stays for Day Progress.
Remaining widgets untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kutesir
2026-06-11 11:49:35 +03:00
parent 443fe8504f
commit 49b22b5f2f
6 changed files with 31 additions and 161 deletions

View File

@@ -252,21 +252,6 @@ struct EventProvider: AppIntentTimelineProvider {
}
}
// MARK: - Widget
struct EventCountdownWidget: Widget {
let kind = "KisaniEventCountdown"
var body: some WidgetConfiguration {
AppIntentConfiguration(kind: kind, intent: EventConfigIntent.self, provider: EventProvider()) { entry in
EventCountdownView(entry: entry)
}
.configurationDisplayName("Event Countdown")
.description("Track the days until any upcoming event with a dot grid.")
.supportedFamilies([.systemMedium, .systemSmall])
}
}
// MARK: - Event Countdown (Bars)
struct EventBarsWidget: Widget {