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

feat: direct user to download Keplr extension #29

Closed
wants to merge 1 commit into from
Closed

Conversation

turadg
Copy link
Member

@turadg turadg commented Oct 28, 2022

Screen Shot 2022-10-28 at 10 09 36 AM

The Keplr extension is available for Chrome and Firefox. Tested in both browsers.

@turadg turadg requested a review from samsiegart October 28, 2022 17:11
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 782418c
Status: ✅  Deploy successful!
Preview URL: https://3a1fbf88.dapp-psm.pages.dev
Branch Preview URL: https://ta-check-keplr.dapp-psm.pages.dev

View logs

@turadg turadg changed the title feat: direct use to download Keplr extension feat: direct user to download Keplr extension Oct 28, 2022
@@ -0,0 +1,38 @@
import { INTER_LOGO } from 'assets/assets';

export const hasPrerequisites = () => 'keplr' in window;
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to ensure the window has loaded before checking this. The keplr-connection component handles this. Maybe it's time to copy that component over so we can add an error and toast for this case?

That would work differently in that the user doesn't see this indication until they actually click the button. However, I think it would be better for the app to let the user see more of the interface (i.e. view the assets without being able to input any amounts) before connecting to keplr.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, closing in favor of #30

@turadg turadg closed this Oct 28, 2022
@turadg turadg deleted the ta/check-keplr branch November 4, 2022 17:32
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