fix: restore dashboard history and complete activity calendar

Combine retained daily aggregates with recent usage without replaying historical records or changing the activation boundary. Complete activation-day metrics and expose the UTC calendar used by legacy history.

Render all 365 calendar dates, size heatmap cells responsively, and soften cell corners. Add regression coverage for history cutoffs, retention, sparse dates, and timezone boundaries.
This commit is contained in:
elky
2026-10-05 19:03:33 +08:00
parent 2539439656
commit 082348a5d1
15 changed files with 746 additions and 28 deletions
+1
View File
@@ -114,6 +114,7 @@ export interface OverviewDashboardSummary {
stats_since: string
generated_at: string
timezone: string
activity_timezone?: string
today_from: string
window_seconds: number
today: {