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

Increase iframe wallet timeout, add a button to enable it manually #843

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

davidyuk
Copy link
Member

@davidyuk davidyuk commented Oct 9, 2020

original issue: on #810 web wallet sometimes is opening even if the extension is installed

The increasing of timeout helps in that case, so probably app initialization takes a bit longer on that branch. But initialization time also depends on the hardware and network conditions so, as in superhero-com/superhero-wallet#540, I'm proposing to don't depend on timeouts.

In particular, I think we should increase the timeout so some upper bound (10 seconds instead of 2?) and to allow the user to open the web wallet manually if he wants to use it. Until we find a way to use the extension and the web wallet simultaneously (#606).

Screenshot 2020-10-09 at 08 53 29

@davidyuk davidyuk force-pushed the featire/fix-iframe-wallet branch from a90fdb4 to dd9aafb Compare October 9, 2020 05:36
@@ -58,10 +58,7 @@
v-if="!isLoggedIn"
class="login-footer"
>
<OutlinedButton
:to="addressDeepLink"
:title="$t('components.layout.FooterSection.LoginWithWallet')"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need title the same as the text on button?

@mradkov mradkov merged commit 82986a6 into develop Oct 13, 2020
@mradkov mradkov deleted the featire/fix-iframe-wallet branch October 13, 2020 10:09
@mradkov mradkov mentioned this pull request Oct 15, 2020
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.

3 participants