-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete Submissions from UI #709
Delete Submissions from UI #709
Comments
I think we should probably add something like the |
suggested css adjustments: .toggle-deleted-submissions {
margin-left: 8px; // up from 5
.icon-close { margin-left: 3px; } // up from 0
}
.purge-description {
left: 12px; // up from 5
} otherwise it seems like it works great! |
Thanks, @issa-tseng! I have a PR up for these changes here: getodk/central-frontend#1055. |
Good catch! I don't think it should be possible. I will make the change |
Tested with success! |
Tested with success! |
As of v2024.2, submission deletion is possible via the API (#667). Submissions will be purged after 30 days. We also want to add submission deletion to Frontend, which is what this issue is for.
We support entity deletion in Frontend, and we can probably adapt that same code for submission deletion. There are some details to consider, for example, after an entity is deleted, the entity count is updated. We support entity deletion from the entities table and from the entity detail page, and I think it'd be nice to similarly be able to delete a submission from either the submissions table or the submission detail page.
We don't yet support listing deleted entities or restoring/undeleting them, but we will want to be able to list and (I think) also restore deleted submissions from Frontend. To do so, we'll need to make a Backend change so that it's possible to retrieve the list of deleted submissions (something like the
?deleted=true
flag that we support for the forms endpoint).There is a related mockup in the release criteria for v2024.3. There are also some old notes from the block 14 release criteria (under Later Release). Submission deletion has been discussed on the forum, for example, here.
Here's an idea that was in the parking lot that I'm not sure is captured elsewhere:
The text was updated successfully, but these errors were encountered: