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

Improve EIP 1102 Support #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danfinlay
Copy link
Contributor

@danfinlay danfinlay commented Dec 17, 2018

My previous 1102 PR was not ideal: It was still using the
account-polling logic for the enable() function, which meant if a user
declined the login, it would keep re-requesting it in a loop.

This version replaces the account polling with a Connect button on the
no-accounts view, giving the user a graceful and patient place to
initiate the login process in a way that should be compatible with all
major web3 browsers.

This broke the tests again, sorry about that, I kindof just got this
good enough for my personal uses at the moment.

My previous 1102 PR was not ideal: It was still using the
account-polling logic for the `enable()` function, which meant if a user
declined the login, it would keep re-requesting it in a loop.

This version replaces the account polling with a `Connect` button on the
no-accounts view, giving the user a graceful and patient place to
initiate the login process in a way that should be compatible with all
major web3 browsers.

This broke the tests again, sorry about that, I kindof just got this
good enough for my personal uses at the moment.
@danfinlay
Copy link
Contributor Author

Looks like this. The button style could be edited with a single class:

screen shot 2018-12-17 at 12 54 34 pm

@coopermaruyama
Copy link
Owner

coopermaruyama commented Dec 22, 2018

Thanks! taking a look now

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

Successfully merging this pull request may close these issues.

2 participants