Skip to content

Add option to show/hide public submissions/datasets

@ mention of reviewers`

@Didayolo`

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

In resource interface, now there is an option to show/hide public submissions/datasets and programs

Submissions (without public) Screenshot 2023-06-01 at 3 45 39 PM

Submissions (with public) Screenshot 2023-06-01 at 3 45 45 PM

Datasets and programs (without public) Screenshot 2023-06-01 at 3 45 51 PM

Datasets and programs (with public) Screenshot 2023-06-01 at 3 46 01 PM

What is done in this PR

  • add option in submissions tab to show/hide public submissions
  • add option in datasets/programs to show/hide public datasets/programs
  • custom filters added in /datasets api to filter submission/datasets with public filter
  • hide delete button from submissions which are from other users
  • hide selection checkbox from submissions which are from other users

Issues this PR resolves

#713 -> Resource interface -> Points : 7, 8

Public datasets should have their own tab Public datasets should not have delete button if they do not belong to us

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