whole-tale / dashboard

Whole Tale Dashboard
http://wholetale.org
MIT License
7 stars 2 forks source link

Display repository name instead of URL in publish-modal #578

Closed bodom0015 closed 4 years ago

bodom0015 commented 4 years ago

Problem

Our publish-modal only lists a raw URL for the destination repository. It would be nice to display a more friendly or human-readable name for each entry.

Fixes #577

The backend work needed to handle this change is already done: https://github.com/whole-tale/girder_wholetale/pull/375

Approach

How to Test

Prerequisite: run alongside https://github.com/whole-tale/girder_wholetale/pull/375, or wait for it to be merged

  1. Checkout and run this branch locally, rebuild the dashboard
  2. Login to the WholeTale Dashboard
  3. Navigate to the Settings view
  4. Connect accounts for DataONE and Zenodo Sandbox
  5. Create a Tale, if you haven't already (you don't need to run it)
  6. Navigate to the Run view for the Tale, expand the dropdown at the top right, and choose "Publish Tale"
    • The publish-modal should open
  7. Choose "DataONE Dev" from the dropdown and click "Publish" at the bottom-right
    • Publishing should complete successfully
  8. Choose "Zenodo Sandbox" from the dropdown and click "Publish" at the bottom-right
    • Publishing should complete successfully