Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spinning icon on SELECT CREDENTIAL button sometimes doesn't stop #107

Open
edeykholt opened this issue Nov 12, 2024 · 2 comments
Open

Spinning icon on SELECT CREDENTIAL button sometimes doesn't stop #107

edeykholt opened this issue Nov 12, 2024 · 2 comments
Assignees

Comments

@edeykholt
Copy link

edeykholt commented Nov 12, 2024

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

  1. Configure extension, using the passcode Ap31Xt-FGcNXpkxmBYMQn
  2. SELECT CREDENTIAL. The spinning Icon appears on the button.
  3. Click on action icon
  4. Enter passcode, then Connect
  5. Select the ECR credential in the popup
  6. Then the same in the page popup
  7. Select “X” on the page popup.

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.

  1. Click on the Action Icon
  2. Select Disconnect
  3. Click on the Page, which dismisses the Action Popup.

Expected: the spinner should also stop (or eventually time out).

  1. Click again on SELECT CREDENTIAL. Seems to work as normal.

**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

@edeykholt
Copy link
Author

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.

@HunnySajid HunnySajid self-assigned this Nov 14, 2024
@HunnySajid
Copy link
Collaborator

The cancle from dialog case has been handled here

WebOfTrust/signify-browser-extension#225
with a pr to handle errors thrown by extension in case of close dialog

#108

Video Illustration:

Screen.Recording.2024-11-18.at.3.23.28.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants