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

Disable GUI "Unembargo" button if there are active uploads #2015

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jjnesbitt
Copy link
Member

Currently, there's a quirk of the GUI where you're allowed to hit the "Unembargo" button, but which produces an error every time, without any progression. This is due to there being active uploads in the dandiset, which prohibits unembargo.

This PR prevents taking such an action in the GUI, disabling the button and giving the reason. I'd like to follow up this PR with a more robust improvement to uploads, adding the ability to "clear" any in progress uploads. Currently this isn't possible, leading to a very awkward situation.

@satra
Copy link
Member

satra commented Aug 27, 2024

thanks @jjnesbitt

@jjnesbitt jjnesbitt force-pushed the disable-unembargo-on-active-uploads branch from 33f167c to 7df964a Compare August 27, 2024 17:07
@yarikoptic yarikoptic added the embargo Issues around embargo functionality label Aug 27, 2024
@waxlamp
Copy link
Member

waxlamp commented Sep 5, 2024

I'd like to follow up this PR with a more robust improvement to uploads, adding the ability to "clear" any in progress uploads.

That would address the newly filed #2021.

@jjnesbitt jjnesbitt force-pushed the disable-unembargo-on-active-uploads branch from 7df964a to 1368f37 Compare September 9, 2024 21:43
@jjnesbitt jjnesbitt added patch Increment the patch version when merged release Create a release when this pr is merged labels Sep 9, 2024
@jjnesbitt jjnesbitt merged commit 1cc461b into master Sep 10, 2024
11 checks passed
@jjnesbitt jjnesbitt deleted the disable-unembargo-on-active-uploads branch September 10, 2024 16:08
@dandibot
Copy link
Member

🚀 PR was released in v0.3.97 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embargo Issues around embargo functionality patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants