datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
4 stars 6 forks source link

Give user explicit means to refresh the tree browser #273

Closed mih closed 1 year ago

mih commented 1 year ago

This should not be necessary, but maybe there are corner cases left, where it is needed, e.g. https://github.com/datalad/datalad-gooey/issues/239, or a user managed to KABOOM the tree population itself.

For now this is the simplest possible implementation (reload the whole thing). Later this could become more clever and more targeted.

Closes #239

codecov-commenter commented 1 year ago

Codecov Report

Base: 70.59% // Head: 71.14% // Increases project coverage by +0.54% :tada:

Coverage data is based on head (feba8c3) compared to base (82392a5). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #273 +/- ## ========================================== + Coverage 70.59% 71.14% +0.54% ========================================== Files 37 37 Lines 1986 2055 +69 ========================================== + Hits 1402 1462 +60 - Misses 584 593 +9 ``` | [Impacted Files](https://codecov.io/gh/datalad/datalad-gooey/pull/273?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad) | Coverage Δ | | |---|---|---| | [datalad\_gooey/fsbrowser.py](https://codecov.io/gh/datalad/datalad-gooey/pull/273/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9nb29leS9mc2Jyb3dzZXIucHk=) | `26.58% <0.00%> (-0.54%)` | :arrow_down: | | [datalad\_gooey/api\_utils.py](https://codecov.io/gh/datalad/datalad-gooey/pull/273/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9nb29leS9hcGlfdXRpbHMucHk=) | `96.29% <0.00%> (-3.71%)` | :arrow_down: | | [datalad\_gooey/param\_form\_utils.py](https://codecov.io/gh/datalad/datalad-gooey/pull/273/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9nb29leS9wYXJhbV9mb3JtX3V0aWxzLnB5) | `89.40% <0.00%> (+2.66%)` | :arrow_up: | 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=datalad). 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=datalad)

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