whole-tale / girder_wholetale

Girder plugin providing basic Whole Tale functionality
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Add a toggle to filter WT specific collections in Collections View #573

Closed Xarthisius closed 1 year ago

Xarthisius commented 1 year ago

Motivation

On a deployment where WT is not front and center this will allow to avoid confusion while looking at available datasets.

Approach

Use native filterFunc to filter out collections starting with "WholeTale"

How to test?

  1. Deploy this, create a tale and register random data from an external repository (to populate WT collections).
  2. Navigate to https://girder.local.wholetale.org/#collections
  3. View should be empty
  4. Toggle the switch.
  5. View should contain WholeTale collections colls_on colls_off
codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (2e1e93e) 92.83% compared to head (8b5bac2) 92.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #573 +/- ## ======================================= Coverage 92.83% 92.83% ======================================= Files 61 61 Lines 4897 4897 ======================================= Hits 4546 4546 Misses 351 351 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=whole-tale). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=whole-tale)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.