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

Merged
merged 4 commits into from
Jan 3, 2025

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
Copy link
Member

@jjnesbitt jjnesbitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just had one suggestion.

@mvandenburgh mvandenburgh force-pushed the display-validation-errors-for-embargoed branch from 0f5bd72 to 9fcf1dd Compare January 2, 2025 20:21
@mvandenburgh mvandenburgh requested a review from jjnesbitt January 2, 2025 20:22
@mvandenburgh mvandenburgh force-pushed the display-validation-errors-for-embargoed branch from 9fcf1dd to 92f9567 Compare January 2, 2025 23:51
@mvandenburgh mvandenburgh merged commit 27b324a into master Jan 3, 2025
4 checks passed
@mvandenburgh mvandenburgh deleted the display-validation-errors-for-embargoed branch January 3, 2025 16:49
@dandibot
Copy link
Member

dandibot commented Jan 3, 2025

🚀 PR was released in v0.4.5 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jan 3, 2025
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 released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Embargoed dandisets assets are not showing up in "Assets Summary"
3 participants