Closed allanlasser closed 1 month ago
Here's where I'm imagining placing this in the UI:
It appears in the bottom right as just the header summary:
On mouseenter/tap, it slides up to reveal the processing details. On mouseexit/tap, it slides back down to show the summary.
If all statuses are success, it hides after a timeout (10s?).
Alternatively, it could be a Nav item and dropdown menu.
Consolidated solution to #543, #629, #637, #646, #652
We need a store and a component that is entirely client side. The component should mount into the AppLayout, similar to the Toaster. It should provide handlers to update its store as it's mounted. The store tracks pending documents and running add-ons.
Running processes—both pending documents and running add-ons—should be "cancellable". Pending documents can afford a "reprocess" action in case the document gets stuck, or something.
When a document's processing state changes, we should invalidate the document's page and the search results.
When an add-on run finishes, we should show an ageless Toast with a message that links to the add-on's History page.
References