USEPA / EPA_Non-geo_Metadata_Editor

3 stars 0 forks source link

Save and load metadata records #32

Closed torrin47 closed 5 years ago

torrin47 commented 6 years ago

From @torrin47 on August 31, 2018 22:46

A user will be able to save an in-progress document to their local machine in JSON format and load previously saved documents for further editing.

_Copied from original issue: USEPA/EPA_Environmental_DatasetGateway#57

aergul commented 6 years ago

Rudimentary file save implemented. Currently uses doc id for filename. Allow user to enter a name but default to doc id maybe? Please feel free to test save function with different browsers. Haven't focused on getting the content up to spec, yet.

jzichichi commented 6 years ago

@aergul @torrin47 - I tested this from the perspective of ensuring that fields that were filled out in the form were written to the saved file (not from validation perspective). From what I can tell, everything written is being saved appropriately. I will pass this to Torrin to test, unless @aergul you want this to be in progress for finalizing the format that will be up to spec and can be validated.