Skip to content
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

Admin delete samples #39

Closed
EdGreen21 opened this issue Oct 22, 2024 · 0 comments · Fixed by #45
Closed

Admin delete samples #39

EdGreen21 opened this issue Oct 22, 2024 · 0 comments · Fixed by #45

Comments

@EdGreen21
Copy link
Collaborator

For admins under 'Samples' please add a 'delete' button in case we need to remove something - this should spawn a modal dialog asking 'are you sure?'

lkeegan added a commit that referenced this issue Oct 25, 2024
- add DELETE `admin/samples/<sample_id>` API endpoint
  - deletes the sample and all associated input files and results
- add delete button to admin interface with modal confirmation dialog
  - resolves #39
- add POST `admin/resubmit-sample/<sample_id>` API endpoint
  - deletes any existing results for the sample, then sets its status to QUEUED
- add resubmit button to admin interface with modal confirmation dialog
  - resolves #40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant