GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Move `heatmap` and `rate` endpoints to `submission` view #197

Closed TimJentzsch closed 3 years ago

TimJentzsch commented 3 years ago

Relevant issue: Closes #195

Description:

Moves the volunteer/heatmap and volunteer/rate endpoints to the submission view.

This has the advantage that (a) we can calculate rates and heatmaps for all volunteers together, instead of only a single volunteer and (b) we can apply all usual submission filters. Notably, we can now filter by time, which will be necessary for the Buttercup commands. For example, users will be able to get their heatmap for the last week only.

Checklist: