Skip to content

Resource interface : Cleanup and Quota

Placeholder Ihsan Ullah requested to merge resource_interface_clearnup into develop

@ mention of reviewers`

@Didayolo`

A brief description of the purpose of the changes contained in this PR.

This PR solves the following points

  • show remaining quota (done but hidden til functionality is implementad by Tristan)
  • show unused tasks and delete option
  • show unused datasets and programs and delete option
  • show unused submissions and delete option
  • show failed submissions and delete option
  • implement delete api for unused tasks
  • implement delete api for unused datasets and programs
  • implement delete api for unused submissions
  • implement delete api for unused failed submissions
  • refresh resources after cleanup
  • refresh quota and cleanup after adding new submission/dataset/task
  • refresh quota and cleanup after deleting single submission/dataset/task
  • refresh quota and cleanup after deleting multiple submission/dataset/task

Issues this PR resolves

#713 -> Interface -> Points: 12, 13, 14, 15, 16

UI for quota management and cleanup (A "progress bar" for the storage quota) Delete unused tasks Delete unused datasets and programs Delete unused submissions Delete failed submissions

Screenshots

with quota progress bar (hidden now) 244136599-77042dca-74fe-4f47-8b19-e84452126bd0

Working UI based on new api for getting cleaning statistics Screenshot 2023-06-08 at 1 49 20 AM

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

Merge request reports

Loading