Provide a UI in the DOM for Mink when waiting for an aggregator or archives to return a response
The current implementation simply shows, "WAIT" while waiting for an aggregator to respond. @V-Security-beep is working on moving the aggregator logic to the client-side, so we want the user to be able to control and terminate long-running requests, among other features.
I am imagining this populating the same UI in the DOM that is used to show memento navigation. What is should contain and how it should look is TBD.
A new waiting panel that replaces the basic ‘WAIT’ message. It will show a spinner, a progress indicator like ‘2 of 5 archives responded’, and give the user a cancel button. It’s integrated into the same DOM container used for memento navigation, and updates in real time as each archive responds.”
@V-Security-beep Sounds good. Please put together a mockup or prototype (outside of the Mink extension would initially suffice) and we can discuss it further.
Just for some background, the badge on the Mink icon that says "WAIT" is limited to 4 characters, hence why values greater than 1,000 mementos are reported as ">1k" and the intermittent status says "WAIT". This is very restricting, as you can imagine, hence the need to utilize the DOM to better inform the user of the progress.
@machawk1 I’ve created a standalone mockup of the proposed UI enhancement for the Mink aggregator panel. This prototype replaces the basic "WAIT" message with a spinner, live progress updates (e.g., "2 of 5 archives responded"), and a cancel button for the user.
You can find the code here: GitHub Repo: https://github.com/V-Security-beep/mink-wait-ui-prototype
This is built as a lightweight standalone interface and can be integrated into Mink’s DOM for the memento navigation area. I'm happy to iterate based on your feedback or begin planning for integration.
@V-Security-beep Please go forward with the integration.