AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Implement one-off experiment download in UI using useOneOffExperiment #175

Closed nozomione closed 10 months ago

nozomione commented 1 year ago

Context

As with the existing refine.bio, we want to be able to let users download one-off experiment dataset using the "Download Now" button which opens the one-off experiment download modal and is located on each downloadable experiment search card.

The "Download Now" button for one-off experiment on the search card:

Screenshot 2023-08-31 at 9 46 13 PM

The one-off experiment download modal:

Screenshot 2023-10-10 at 7 10 12 PM

After the form is submitted, while the one-off experiment is being processed, the modal will display the "Your dataset is being processed" view and the search card will display the "Processing Dataset" pill (which opens "Your dataset is being processed" modal on click).

The search results page:

Screenshot 2023-10-10 at 7 14 02 PM

The experiment page for the experiment that is currently being processed also displays the "Processing Dataset" pill: Screenshot 2023-10-13 at 4 37 53 PM

Problem or idea

Using useOneOffExperiment(https://github.com/AlexsLemonade/refinebio-web/issues/166), we'll implement the one-off experiment download form feature.

Solution or next step