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

fix(extension): reload app on ledger disconnect during onboarding #913

Merged

Conversation

vetalcore
Copy link
Contributor

@vetalcore vetalcore commented Feb 23, 2024

Checklist

  • JIRA - LW-8720
  • Proper tests implemented
  • Screenshots added.

Proposed solution

Use workaround with full app reload when SDK allows to connect Hardware Wallet for the 2nd time.

Testing

Follow steps described in the ticket

Screenshots

Attach screenshots here if implementation involves some UI changes

@vetalcore vetalcore self-assigned this Feb 23, 2024
@vetalcore vetalcore requested a review from a team as a code owner February 23, 2024 11:04
@github-actions github-actions bot added the browser Changes to the browser application. label Feb 23, 2024
Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@coveralls
Copy link

Coverage Status

Changes unknown
when pulling bcbf694 on fix/LW-8720-handle-ledger-disconnect-during-onboarding
into ** on main**.

Copy link

Allure report

allure-report-publisher generated test report!

smokeTests: ✅ test report for bcbf694d

passed failed skipped flaky total result
Total 32 0 0 0 32

@@ -307,6 +307,8 @@ export const HardwareWalletFlow = ({
const onRetry = () => {
setIsErrorDialogVisible(false);
goBackToConnect();
// TODO: Remove this workaround with full app reload when SDK allows to connect Hardware Wallet for the 2nd time.
Copy link
Collaborator

Choose a reason for hiding this comment

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

If a ticket exists for this can we link/create it

Choose a reason for hiding this comment

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

@mchappell What about disconnecting? I have this on a open PR and solved the issue I was having.

@vetalcore vetalcore merged commit 44009f6 into main Feb 27, 2024
11 of 13 checks passed
@vetalcore vetalcore deleted the fix/LW-8720-handle-ledger-disconnect-during-onboarding branch February 27, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Changes to the browser application.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants