ProblemDashboard stat cards show fixed 30d numbers; there is no date-range selection or period comparison.
Solution
- Add a date-range picker (7/30/90d, custom) to the dashboard and admin overview, persisted in the URL.
- Back the stats hooks with
from/to params and render compare-period deltas (current vs previous).
- Derive the header total and chart series from the same dataset (guaranteeing sum equality).
- Show a "data window" label so users know what range they see.
Acceptance Criteria
- Switching range refetches stats and charts with the same source.
- Compare deltas are computed against the immediately preceding window.
- Range persists across navigation via URL.
npm run build passes.
Note for Contributors: Write a clear PR description. Show 7d vs 30d with correct deltas.
ProblemDashboard stat cards show fixed 30d numbers; there is no date-range selection or period comparison.
Solution
from/toparams and render compare-period deltas (current vs previous).Acceptance Criteria
npm run buildpasses.Note for Contributors: Write a clear PR description. Show 7d vs 30d with correct deltas.