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

Dashboard: Enhance UX in connect polkadot page #745

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

0oM4R
Copy link
Contributor

@0oM4R 0oM4R commented Jul 3, 2023

Description

user needs to know what happened, clicking on the connect button has no effect for the user in some cases.
1- if the extension is not enabled or the user is not allowed access to the website
2- if the extension has no registered accounts

Changes

1- check on the enabled extensions returned by web3Enable function, and show an error message if the length is 0;
2- check on the subscribed accounts in the store, this needs to be done after a delay (50ms) works fine with me

Screencast.from.03.2023.EEST.11.36.28.webm
Screencast.from.03.2023.EEST.11.49.10.webm

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@0oM4R 0oM4R merged commit a7f985d into development Jul 3, 2023
@AhmedHanafy725 AhmedHanafy725 deleted the development_dashboard_fixPolkadot_connect branch July 11, 2023 07:58
AlaaElattar pushed a commit that referenced this pull request Jul 31, 2023
* show error messages, set a delay before readying the accounts data

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

Successfully merging this pull request may close these issues.

2 participants