Closed MCBoarder289 closed 4 weeks ago
Perhaps a loading component but with modal-like features (making the background darker) would work as a medium term solution? Here's some links that might be useful:
Another helpful link with background callbacks: https://stackoverflow.com/a/77024903
Actual render implementation on this: https://community.plotly.com/t/dash-background-callbacks-on-render-how-to-set-up-celery-background-workers/77199
Not sure this is needed now that the goodreads parser is much faster, and we've eliminated the isbn fallback query.
Happy to reopen later if we think this is still needed.
I would like to implement a progress bar when retrieving the book data from the multi-page shelfs. A simple percentage of
1 / num_pages
would suffice, but it would require some refactoring of the cache, including implementing some kind of a background queue (diskcache for now, but could be Celery with Redis to be more productionized).Helpful stackoverflow on implementing this: https://stackoverflow.com/a/77109011