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

Add Unified Astronomy Thesaurus Autocomplete Widget for DOI Keywords #11

Closed jordanpadams closed 3 years ago

jordanpadams commented 3 years ago

Autocomplete widget is here: http://astrothesaurus.org/thesaurus/autocomplete-widget/

Right now, DOI Service provides some basic subset of keywords, but using the UAT is probably a better method for ensuring we use a more consistent vocabulary across DOIs.

I imagine we would want to allow the autocomplete, but also allow for custom keywords, we can then, eventually, go back through these custom keywords and look to submit those back to UAT.

If the implementation is not straightfoward, we may want to punt this. But I imagine if we don't do this now, we never will...

tloubrieu-jpl commented 3 years ago

@eddiesarevalo In the following form can you add the widget described above.

Screen Shot 2021-01-04 at 9 47 24 AM

We need to split the XML input per record.

for each DOI record, we'll have:

The keyword widget will need to be initiated with the default keywords available in the draft record.

The action will add the keywords in the xml in the keyword tag.

tloubrieu-jpl commented 3 years ago

@eddiesarevalo started to work on it, will be part of the next pull request

tloubrieu-jpl commented 3 years ago

@eddiesarevalo had some complication due to synchronization of fields but this will be solved soon.