Open edeykholt opened 3 weeks ago
Similar issue on https://reg-pilot-webapp-test.rootsid.cloud/status page, which waits for the extension to sign the request headers. What should happen when the user chooses not to do this, or accidentally clicks off or closes the popup or dialog?
Expected: polaris-web should have ability to receive a cancel message. Polaris-web should timeout after waiting a long time, and stop the waiting/spinning.
The cancle from dialog case has been handled here
https://github.com/WebOfTrust/signify-browser-extension/pull/225 with a pr to handle errors thrown by extension in case of close dialog
https://github.com/GLEIF-IT/reg-pilot-webapp/pull/108
Video Illustration:
https://github.com/user-attachments/assets/970cd773-0bd3-4f11-91f1-a58c0f66245f
Environment: Installed signify-browser-extension from today’s build v0.0.1-5d47ae0.zip https://reg-pilot-webapp-test.rootsid.cloud/
Repro steps and results
Expected: the spinner should stop (or eventually time out).
I’d also like to see a /signify/reply or other response interface defined, in case an extension builder wants to support an UX where the user intentionally doesn’t want to approve a sign-in request.
Expected: the spinner should also stop (or eventually time out).
**Actual: Also, the SELECT CREDENTIAL button appears to be always enabled.
Expected: It should be disabled when it is waiting for a reply from the extension? One could double-click on a button, for example, and that might cause confusion for a browser extension.**
FYI: @HunnySajid