feat: Report pages
This MR implements backend and frontend for reports based on checklist definition with filtering over team, start_date and end_date.
Related info:
- Jira: BB-6467
- Gitlab: #44 (closed)
Testing instruction:
Backend:
- Setup data by creating some checklists, runs, multiple users and completed tasks.
- Use
manage.py update_display_names
command to filldisplay_name
field if missing. - Test json, csv and pdf reports from below APIs. Both the APIs support filtering using team_id, start_date and end_date query_params.
/api/workflow/checklist/definition/{id}/compare/
/api/workflow/checklist/definition/{id}/trends/
Frontend:
Visit Reports tab and test trends and compare reports.
Pending items
-
Tests for frontend reports -
Overview report -
styling for date range selector -
Internationalization
Screencast:
Overview report screencast
Post merge request checklist
-
Deploy to staging/prod -
Run django command update_display_names
andcreate_compute_trends_report
in staging/prod
Edited by Navin Karkera