Status doesnt update automatically from converting to loading preview .
[Provide a general summary of the issue in the title above]
Expected behaviour
We should see the the updated status of the book when a conversion finishes without pressing the refresh button
Current behaviour
When a conversion has finished we dont get an update of the status without refreshing the browser
Steps to reproduce
- Upload files for a wholebook case and press submit
- Wait the conversion to finish
- when the conversion finished ,the status didnt changed from converting to loading preview automatically
- Press the refresh button of the browser, the status has been updated.
Possible solution
We need to add the same subscriptions we have for the chapter based books . From the backend we send a notification. Though is not tested full.
QA Steps
-
Upload files for a wholebook case and press submit
-
Wait until the conversion finishes the status should be updated from converting to loading preview without refreshing the page. Stay on the Book component page because if you move back to book manager the status then will update, but not while you are on Book component tabs.
Note: it's the same behavior when status is loading-preview and it updates to loading-errors or previewing.