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

Add inputs for missing value codes and explanations in the attribute editor #2166

Merged
merged 14 commits into from
Aug 1, 2023

Conversation

robyngit
Copy link
Member

In the EML Attribute editor, add inputs for missing value codes:

EMLMissingValuesView

These changes include:

  • A new EMLMissingValueCode model and associated EMLMissingValueCodes collection
  • Unit tests for the above collection & model
  • Two new views: An EMLMissingValueCodeView (renders one model) and an EMLMissingValueCodesView (renders the collection)
  • Complete JSdocs including screenshots

The views show an error notification if a MissingValueCode is invalid (e.g. has a code but no explanation). New blank rows are added automatically, similar to the behaviour in other inputs in the editor.

Fixes issue #612

@robyngit robyngit added this to the 2.26.0 milestone Jul 21, 2023
@dvirlar2
Copy link

This is awesome @robyngit, thank you!!!

In new Cesium-based catalog search view

Issue #2160
Include tests for parsing and updating the DOM when there's a url function

Issue #1380
- CitationModel, DataONEObject, SolrResult, and MetadataView previously all used very similar DOI methods
- These methods have been moved to the appModel, the other views/models call those
- Also added getCanonicalDOIIRI to DataONEObject

Relates to #1380
@robyngit robyngit merged commit e967576 into develop Aug 1, 2023
1 check passed
@robyngit robyngit mentioned this pull request Aug 4, 2023
@robyngit robyngit deleted the feature-612-missing-value-code branch November 6, 2023 16:26
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.

3 participants