Reports Page
Story
"As a team member, I want to review reports on my checklists so that I can see how things are trending."
Full description
Implement the reports page according to the designs created by @ali_hugo and @cassiez . Users should be able to click on the reports tab to look up a report by template.
Note that this implementation will mean some changes to the backend, as it implies a few things will change:
- Stats will now be organized by templates, rather than recurrences.
- Thus, the endpoints for reports will be to filter answers from runs on date and team, rather than specific recurrence.
If a user is only on one team, the team selection field shouldn't be shown. Specifying no teams in the filter should return results from all teams the user is on.
Completion criteria
- The reports page is implemented per the design.
- Clicking on a template's extended menu button should take you to the reports page with that template pre-populated.
- The URL should contain the needed parameters to have any other user with required permissions see the exact report the user is seeing
- The backend code should be updated to support these changes to the reports and how they're filtered.
Documentation updates & improvements criteria
- Left to the assignee’s appreciation
Edited by Cassie Zamparini