NASA-PDS / doi-ui

The web interface for the PDS DOI Service providing the ability management PDS archive DOIs. See the DOI Service for more details on the available capabilities. https://nasa-pds.github.io/doi-service/
Apache License 2.0
0 stars 4 forks source link

Display errors and warning when user clicks "save" on the release screen #30

Closed tloubrieu-jpl closed 3 years ago

tloubrieu-jpl commented 3 years ago

As a user, I want to see the validation error message when I save a DOI record, before its release.

This should work the same as for reserve and release buttons.

Acceptance criteria: Given a DOI OSTI record contains errors or warning (e.g. a duplicated title compared to one DOI already registered) When the user saves it in the release screen Then: the errors and warning message are shown to the user and help him to resolve them.

c-suh commented 3 years ago

@tloubrieu-jpl there is no "Save" button (nor a need for one, I think) on the Reserve screen, so this has been applied to the Release screen only. Please let me know if you would like the placement elsewhere.

Screen Shot 2021-03-17 at 1 28 38 PM