-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reserve DOI UI forms #1
Comments
@eddiesarevalo validated that a xsl spreadsheet can be uploaded and parsed in the UI. @eddiesarevalo will add in the ticket an example of the json created in the UI from the xslx document. |
@tloubrieu-jpl @collinss-jpl
|
@eddiesarevalo This looks great, thanks for posting it. Had one small observation though, looks like |
@collinss-jpl It might be converting it to hours since 1970. I wasn't sure what format you are expecting so I just left it alone but I can convert that number to any date string you think is good. |
Ah yes @eddiesarevalo @collinss-jpl for pubication date we had this issue with the command line implementation, sometimes the xls spreadsheet use a specific type for date time and then it converts it to something, but sometimes, the column is just a string. |
@eddiesarevalo Just a heads up, I've started writing the schema for this JSON format into the openapi spec and in order to support multiple labels I needed to include a top-level "labels" key assigned to the list of dictionaries like so:
|
Does not include the API connection |
-Added the ability to upload and parse an excel sheet. -Added xlsx. -Parsed content is displayed on the reserve page.
-After an XLS file is uploaded and parsed the values are now shown in a table. -Date values are now kept as a string.
* Initialize project using Create React App * Initial Commit -Created App Component. -Created Reserve Component. -Created Release Component. -Added Material UI. -Added Redux. -Added Roboto font. -Created store. -Created actions. -Created reducer. -Added PDS app bar. * Allow Parsing Of Excel Sheets #1 -Added the ability to upload and parse an excel sheet. -Added xlsx. -Parsed content is displayed on the reserve page. * Show Parsed XLS Values #1 -After an XLS file is uploaded and parsed the values are now shown in a table. -Date values are now kept as a string. * Add Saga #5 -Added Saga to support http requests. * Connect To Reserve API #5 -Added form fields to enter reserve API parameters. -Used Saga to connect to reserve API. * Add Pull Request Changes #6 -Removed action/draft drop down. This should always be set to draft. -Removed URL field. -Changed package name. -Moved out endpoint to a config. * Update README.md #6 -Updated the readme file with more details and build instructions. * Change Draft To Reserve #6 -Fixed a typo in the last commit. The action should be reserve not draft.
Acceptance criteria:
Given a xls spreadsheet of DOIs to be reserved (see format https://pds-engineering.jpl.nasa.gov/sites/default/files/DOI_reserve_template.xlsx)
When I reserve using the 'reserve' form
Then: the DOIs are provided with a reserved status
And: I can re-use the DOI metadata to draft the DOI before publishing it (release).
The text was updated successfully, but these errors were encountered: