AlexsLemonade / refinebio-web

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

Fix: Implement the dataset loader for polling the latest dataset state for the dataset page UI #292

Closed nozomione closed 1 month ago

nozomione commented 9 months ago

Context

When users request to start processing a dataset for download, the application displays the dataset processing view (issue: https://github.com/AlexsLemonade/refinebio-web/issues/200). When the dataset has been processed, it displays either the ready for download view (issue: https://github.com/AlexsLemonade/refinebio-web/issues/201) or the processing error view (https://github.com/AlexsLemonade/refinebio-web/issues/44), depending on that processing result.

Currently, this feature doesn't work in refine.bio as well as in this refinebio-web repo and it needs to be fixed.

Problem or idea

We should implement a logic to poll the dataset processing status and render an appropriate view in the dataset page.

Solution or next step

(*due to frequent PR merges, the most recent PR's feature branch will be used as the base branch to reduce merge conflicts)