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

DR2-2002 Validate metadata only #515

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

MancunianSam
Copy link
Contributor

This allows you to skip the file exists, checksum and integrity checks
which you may need if you have a draft metadata file without the files
themselves.

I've added a button in the UI, an argument in the CLI and an option in
the Java bridge.

This allows you to skip the file exists, checksum and integrity checks
which you may need if you have a draft metadata file without the files
themselves.

I've added a button in the UI, an argument in the CLI and an option in
the Java bridge.
}
))
btnValidate.reactions += validateOnClick(btnValidate, false)
btnValidateMetadataOnly.reactions += validateOnClick(btnValidate, true)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you need to pass the btnValidateMetadataOnly in this reaction, otherwise it might enable / disable wrong button. Also, if the processing is taking long, I am wondering whether we should disable both buttons?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good spot, thanks.

Copy link
Contributor

@sparkhi sparkhi left a comment

Choose a reason for hiding this comment

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

Looks fantastic, just one question about the UI behaviour based on buttonClick

@MancunianSam MancunianSam merged commit 3f3faf4 into master Dec 3, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants