[FEATURE] Recently Deleted Surveys
Opened this issue · 2 comments
Is your feature request related to a problem? Please describe.
Currently when surveys are deleted, they are gone right away. This could also happen by accident very easily. And with the survey all responses are gone.
Describe the solution you'd like
Let's build a "recently deleted surveys" view. Once a survey is deleted from the default survey list it's status changes to deleted
with a deletedAt
timestamp and it gets into the "recenty deleted" view.
In the "recently deleted" view users have the option to either remove the survey permanently (like the delete default now) or undo the deletion.
If they take no action a cron that runs every day permanently deletes the surveys where the deletedAt
timestamp is older than 7 days.
Describe alternatives you've considered
Additional context
hey @mattinannt i would like to take this.
are there any other details in this ticket that are yet to be added like with the ui or anything else?
@jobenjada Can you please create a UI draft for this? :-)