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: revert of the revert of "fix(UserMenu): locked metamask not rec… #1732

Merged
merged 3 commits into from
May 13, 2022

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented May 10, 2022

…onnecting (#1667)"
a.k.a the revert of the revert

Requires shapeshift/hdwallet#528 to be published before, and hdwallet deps updated before this goes to review.

Description

Added a button group to separate the dropdown button while wallet is stuck in a loading state when Metamask is locked

Notice

  • Have you followed the guidelines in our Contributing guide?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #1262

Risk

Testing

  • set your MetaMask autolock to 1 minute
  • there should be a button to reconnect automatically locked MetaMask
  • there should be no regressions in connecting a MetaMask wallet

Screenshots (if applicable)

Test.locked.mm.mov

@cloudflare-pages
Copy link

cloudflare-pages bot commented May 10, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: e338f4c
Status: ✅  Deploy successful!
Preview URL: https://bd6fb424.web-29e.pages.dev

View logs

@0xdef1cafe
Copy link
Collaborator

@brymut are you able to take a look at this please? we had to back #1667 out of develop as it caused regressions, and develop was not able to connect to metamask.

this hdwallet PR was just merged to publish a new version shapeshift/hdwallet#530

you'll need to update to hdwallet 1.21.2 in a new commit in this PR, and check it works again.

@gomesalexandre
Copy link
Contributor Author

@0xdef1cafe Pushed bumped hdwallet packages to latest and gave it one more test connecting/waiting for auto-lock, works just as when I was linking hdwallet-metamask

@gomesalexandre gomesalexandre marked this pull request as ready for review May 12, 2022 22:44
@gomesalexandre gomesalexandre requested review from a team and 0xApotheosis as code owners May 12, 2022 22:44
@0xdef1cafe
Copy link
Collaborator

Copy link
Contributor

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

Have reviewed this before, and just re-tested - it still works as expected.

🍬

@0xdef1cafe
Copy link
Collaborator

yeah gave this another thorough test myself, everything behaves as expected.

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.

Metamask doesn't reconnect when locked
3 participants