Skip to content

[SSF 162] - Admin Donation Stats#134

Open
dburkhart07 wants to merge 6 commits intomainfrom
ddb/SSF-162-admin-stats-frontend
Open

[SSF 162] - Admin Donation Stats#134
dburkhart07 wants to merge 6 commits intomainfrom
ddb/SSF-162-admin-stats-frontend

Conversation

@dburkhart07
Copy link

@dburkhart07 dburkhart07 commented Mar 21, 2026

ℹ️ Issue

Closes #162

📝 Description

Made necessary backend adjustments to support frontend design:

  • All pantry stats aggregation only works with approved pantries. Pending ones in theory should have no donation data related to them, but they should not be showing up in the stats anywhere
  • Getting the names, and years of orders created for all the approved pantries. This is necessary for the filters, and we needed separate API calls for them since the pantryStats we are getting is constantly changing based on the filters, so we can't rely on that is our source of truth
  • Adding tests for both of these

Frontend:

  • Created design according to the Figma

✔️ Verification

  • Ensured all tests passed, and endpoints still worked
  • Verified design matched Figma
  • Ensured query parameters were accurately being utilized for filter changes for efficient querying
image

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@dburkhart07 dburkhart07 marked this pull request as ready for review March 22, 2026 22:25
@dburkhart07 dburkhart07 changed the title Fully functional page and backend adjustments [SSF 162] - Admin Donation Stats Mar 22, 2026
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