You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Home Savings-over-time chart: x-axis ignores selected timeframe (QA 3.1) #895
Symptom (QA 3.1, Home page Savings-over-time chart)
The x-axis snapped to the single purchase date regardless of the selected timeframe (7d / 30d / 90d / All). The purchase point was pinned to the left edge of the axis, and empty windows showed a "No purchase history" stub instead of a labelled empty axis.
QA suggestion: "have the x-axis show the selected date range and leave the chart empty (no dots where there are no purchases); the x-axis should start at the first day of the selected period."
Chart.js x-axis switched to a numeric type: 'linear' timestamp axis with explicit min/max spanning [now - days, now] (days = 7 / 30 / 90, or earliest-purchase for "All").
Data points changed to {x: timestamp_ms, y: cumulative_savings} so each purchase sits at its real date within the window.
Empty windows render labelled axes instead of the "No purchase history" stub (that stub is now reserved for fetch errors).
Note
Filed retroactively for traceability -- the fix was implemented directly from the QA spreadsheet row (QA 3.1) before a GitHub issue existed. Closing as completed.
Activity
cristim commentedon Jun 1, 2026
Resolved by PR #746 (merged 2026-05-27). Filed retroactively for traceability from the QA spreadsheet (QA 3.1). Closing as completed.