Closed rafinkanisa closed 2 years ago
Mock Up First Put in Top
on the bottom
Modal
Please edit the words used as described.
A quick question: when a user is deleting the activities, this action must have to be saved first before it will be taking an action at the platform right?
No need because I set the function to automatically save the report after we delete all the activities
Button
Prompt message
updated on DEV
Hi I've just checked and found this. Why are there 2 button (delete activities & remove report)
I'm checking using common user this is the project link https://dev.reporthub.org/desk/#/cluster/projects/report/612f231d7fd758f3603104ef/612f231d7fd758f3603104f6
The "remove report" button is used to delete non-blank reports that are outside the project date range that has been defined in the project plan. So for example, when we first create a project, we set the project to start on January 1, 2021, and end on December 31, 2022.
Later on January 1, 2022, we changed the project start date to January 1, 2022, for some reason.
Reports that have been created before 2022 will be deleted if the report is blank automatically. On the other hand, non-blank reports are not deleted.
It is because non-blank reports maybe contain important information
So if we want to delete the non-blank reports we need to click these "remove report" buttons.
alright, we'll fix the remove button issue on another user storry. you may go to PROD
Updated on PROD Link PR https://github.com/iMMAP/ngm-reportHub/pull/137 https://github.com/iMMAP/ngm-reportEngine/pull/61
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Some users are requesting to delete all of the activities they have reported in a certain month at ReportHub. Currently, ReportHub doesn't have the functionality to delete all activities either that have been saved as drafts or have been submitted using a single button. I would like to decrease the developer task load to delete such reports. It would be better for the reporting partners to be able to do it themselves rather than asking through developer team to delete it directly from the DB. Deleting directly from the DB also imposed on high risk.
Describe the solution you'd like A clear and concise description of what you want to happen. Create a single button to delete all activities in a certain month
Acceptance Criteria
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here. Please use below terminology
Button: Delete All Activities
Prompt Messages: Header: Delete All Activities Body: Are you sure you want to DELETE ALL ACTIVITIES in XX report? Warning: Once you delete the activities, Any of the lost data will not be accessible anymore and this action can't be recovered by the ReportHub Team.
XX = month of the report (e.g. February and so on)