Skip to content

feat: custom date-range leaderboard across jinja and react + monthly report date fix#900

Open
Dev-JoyA wants to merge 2 commits intofedora-infra:swatantryafrom
Dev-JoyA:feat/report-custom-date-range
Open

feat: custom date-range leaderboard across jinja and react + monthly report date fix#900
Dev-JoyA wants to merge 2 commits intofedora-infra:swatantryafrom
Dev-JoyA:feat/report-custom-date-range

Conversation

@Dev-JoyA
Copy link
Copy Markdown

Closes #899

What changed

  • Added custom date-range leaderboard support for both Jinja and React flows.
  • Added /report/range and /json/report/range.
  • Added date-range parsing/validation (YYYY-MM-DD, start <= end, max range).
  • Wired React Rankings to /json/report/range via /rankings/range.
  • Fixed monthly report end-date consistency across HTML/JSON using a shared helper.

@Dev-JoyA Dev-JoyA force-pushed the feat/report-custom-date-range branch from 2f3965b to b8b986f Compare March 31, 2026 18:14
Introduce custom start/end leaderboard ranges in both server-rendered and SPA flows while fixing monthly end-date consistency.

- Add /report/range (Jinja) and /json/report/range endpoints with YYYY-MM-DD validation and max-range guard
- Add shared date-range parser utility with tests
- Wire React Rankings to /json/report/range via /rankings/range UI and API client updates
- Add explore-page entry for custom ranges
- Fix monthly report end-date calculation using last_day_of_calendar_month for HTML and JSON parity
@Dev-JoyA Dev-JoyA force-pushed the feat/report-custom-date-range branch from b8b986f to 26558e5 Compare April 1, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant