Closed eddiesarevalo closed 3 years ago
@tloubrieu-jpl I have a couple of comments and questions on some of the request items below:
TO CHANGE: I am not able to change the option lidvid or doi.
_Since the API for getting by DOI is not yet implemented. The option to change has been disabled for now. For example getting by doi:
http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/10.17189%2F29052
Is not yet valid. However get by LIDVID does exist so it has been set as default and unchangeable for now._
TO CHANGE: I was not able to get an existing doi from its value. This is the same as for the previous response above. There is currently no API to get a DOI by DOI. Only by LIDVID so it has been disabled for now.
LATER: I was hoping to have auto-completion for DOI references (lidvid or doi) _This can be implemented using the API that gets all DOIs http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois_
LATER: I think we could have the option to select from lidvid or doi without having the user to select an extra-option. The pds's lidvid's always start with 'urn:' (see https://pds-geosciences.wustl.edu/insight/urn-nasa-pds-insight_ida/data_raw_calibrated/A0087_0001_596619299_596626303_181121214533_eu.xml) This will be possible once the get by DOI part of the API is complete.
TO CHANGE: PDS Label url entry does not work This input component is currently disabled as it does not yet exist in the API.
LATER: the xml would look nicer with colors... This will require a new solution. The real question is how much of an editor do we want to make this application? Should we focus on letting the user change the entire XML code or only the keywords?
There are a few different libraries for this. I am thinking of going with the simplest possible such as this one: https://github.com/satya164/react-simple-code-editor which would provide coloring and formatting but not highlighting.
Should we also allow a download button for the user to download their revised version?
**TO CHANGE: when the DOI is released it creates a 500 error. What we should have is: • we need to add a "save" button which will post the record to the API (http://localhost:8085/PDS_APIs/pds_doi_api/0.1/ui/#/dois/post_dois) • when the user will click the release button that does:
Added the forms and processes for releasing a DOI. Also added the astronomy thesaurus for adding keywords to the DOI metadata.
Resolves #2 Resolves #4 Resolved #11