NOAA-PMEL / OAPDashboard

The Upload Dashbord for the Ocean Acidifiation Project
The Unlicense
0 stars 2 forks source link

The bar with 3 buttons: Preview, Download, and Save #61

Closed lqjiang closed 1 year ago

lqjiang commented 1 year ago

Please keep them separate:

  1. "Preview" should be a separate button.

  2. Download should be a separate button. Please replace "Download" with "Download metadata as an XML file"

  3. Delete the "Save" button (see the other Github issue I created).

  4. Replace the instructions of "Upload OADS Metadata File (XML, Excel, or CSV)" with "Populate the metadata using an XML, Excel, or CSV file".

  5. Do we really need the "Clear All" button? It can be very dangerous, erasing everything unexpected.

lkamb commented 1 year ago

Partially addressed (visual separation) by OAPMetadata commit 850e91e

lkamb commented 1 year ago

The "Clear All" should prompt with a warning if there is any content that will be cleared.

lkamb commented 1 year ago

Force "Clear All" to always show warning prompt. Previously, under certain circumstances, the "Clear All" could clear all data without prompting. Addressed in OAPMetadata commit b70ae46.