mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
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:
@@ -42,6 +42,9 @@ pub struct StoredDashboardSummary {
|
||||
pub stats_since: String,
|
||||
pub generated_at: String,
|
||||
pub timezone: String,
|
||||
/// Historical daily imports retain their original UTC calendar boundaries.
|
||||
#[serde(default)]
|
||||
pub activity_timezone: String,
|
||||
pub today_from: String,
|
||||
pub window_seconds: f64,
|
||||
pub today: DashboardSummaryMetrics,
|
||||
|
||||
Reference in New Issue
Block a user