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

Display validation errors on DLP for embargoed dandisets #2122

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mvandenburgh
Copy link
Member

Fixes #2089.

We currently don't display validation errors on the DLP for embargoed dandisets. This seems to be an oversight due to much of the UI being duplicated between the DandisetPublish and DandisetUnembargo components. I've taken an initial stab at refactoring some of the duplicate templates into a reusable component in this PR, but we could probably clean it up a bit more.

The text displayed when the Assets Summary is missing (This Dandiset does not contain any assets.) is also slightly misleading. A dandiset that contains only invalid assets will also not have an Assets Summary; I've updated that text to reflect that.

@mvandenburgh mvandenburgh added patch Increment the patch version when merged release Create a release when this pr is merged labels Dec 21, 2024
@mvandenburgh
Copy link
Member Author

@mvandenburgh mvandenburgh requested a review from waxlamp December 23, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Embargoed dandisets assets are not showing up in "Assets Summary"
1 participant