Open HeleenSG opened 3 months ago
This is the implementation ticket for:
#2345 Design a space for generated reports (Reports page) As a user, I would like to have a place where I can view:
Out of scope:
The approved design can be found here: https://www.figma.com/file/8r4OSFIJt1PF4iDXf9MbqM/%E2%9C%85-KAT-%7C-Approved-for-implementation?type=design&node-id=1413%3A53597&mode=design&t=AFaoCMRv6uVySrQr-1
For saving recurring reports, in a previous project I have used https://github.com/jazzband/django-recurrence for something similar. It has a RecurrenceField, but also general Recurrence and Rule classes that can be useful. The project seems to need a bit love, but I think spending a little bit time on that is better than reinventing the wheel.
For scheduling/queries/preset, we've discussed that to the following steps are needed (in this order):
Step 1: While generating a report, create a JSON (add a post-request to each page). At each step in the report flow, the JSON is expanded.
Step 2: Expand Configuration page with the scheduler. (Config settings also needs to be added to the JSON)
Step 3: Make things that are scheduled visible on the report overview page (scheduled tab)
Step 4: Be able to edit and delete scheduled reports
Step 5: Be able to create queries (add this to JSON instead of hard OOI selection)
Step 6: Create "Presets"/"Recipe" tab on report overview page. A user should be able to create, display, edit and delete presets/recipes/favorites (or whatever name it eventually gets)
Goal
Configure, save and view reports As a user, I want to be able to configure the reports I generate and then view them in a table so that I have more visibility and control over the reports I generate.
Description
Build a report page where reports can be found that have been generated through the manual or periodical process.
This includes:
Design
Figma design: https://www.figma.com/file/8r4OSFIJt1PF4iDXf9MbqM/%E2%9C%85-KAT-%7C-Approved-for-implementation?type=design&node-id=1211%3A1481&mode=design&t=GgJr2UcIuXk78s01-1
Design ticket:
2345
Related tickets
Closed
History
Scheduling/presets/queries