Commit graph

4 commits

Author SHA1 Message Date
David Nguyen
89eb086b13 fix: lint project 2026-04-10 14:36:10 +10:00
Ephraim Duncan
7e2cbe46c0
fix: show current month data and add caching (#2573)
### Summary

- Add Cache-Control headers to all route responses (1h s-maxage, 2h
stale-while-revalidate)
- Append current month to chart data so graphs stay up-to-date
(cumulative carries forward, else zero)
- Remove `.limit(12)` from growth queries for full history
- Pass isCumulative flag through addZeroMonth
- Deduplicate TransformedData type, remove transformRepoStats
2026-03-06 13:30:31 +11:00
Ephraim Duncan
5e4956f3a2
fix: zero month addition (#1733)
- Add zero month at the begining of each metric on the open page
2025-04-01 11:12:41 +00:00
Ephraim Duncan
9d02ab4a5e
feat: open page api (#1419) 2024-12-10 21:19:05 +11:00