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

Force background state update after removing an account #7840

Merged
merged 2 commits into from
Jan 16, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jan 16, 2020

The e2e tests were failing intermittently after removing an account because the account was shown as not deleted after the removal. I suspect this was because the account had been removed, but that
change to the background state hadn't yet propagated to the UI.

The background state is now synced before the loading overlay for removing the account is removed, ensuring that the removed account cannot be seen in the UI after removal.

@Gudahtt Gudahtt requested a review from rickycodes January 16, 2020 01:52
@metamaskbot
Copy link
Collaborator

Builds ready [bd19509]

ui/app/store/actions.js Outdated Show resolved Hide resolved
@Gudahtt Gudahtt force-pushed the fix-intermittent-remove-account-failure branch from bd19509 to b091784 Compare January 16, 2020 03:51
The e2e tests were failing intermittently after removing an account
because the account was shown as not deleted after the removal. I
suspect this was because the account _had_ been removed, but that
change to the background state hadn't yet propagated to the UI.

The background state is now synced before the loading overlay for
removing the account is removed, ensuring that the removed account
cannot be seen in the UI after removal.
@Gudahtt Gudahtt force-pushed the fix-intermittent-remove-account-failure branch from b091784 to 22440f9 Compare January 16, 2020 04:55
@metamaskbot
Copy link
Collaborator

Builds ready [22440f9]

ui/app/store/actions.js Outdated Show resolved Hide resolved
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
@metamaskbot
Copy link
Collaborator

Builds ready [e33de32]

Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

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

LGTM

@Gudahtt Gudahtt merged commit 20a7b8f into develop Jan 16, 2020
@Gudahtt Gudahtt deleted the fix-intermittent-remove-account-failure branch January 16, 2020 17:43
yqrashawn pushed a commit to yqrashawn/conflux-portal that referenced this pull request Jan 19, 2020
The e2e tests were failing intermittently after removing an account
because the account was shown as not deleted after the removal. I
suspect this was because the account _had_ been removed, but that
change to the background state hadn't yet propagated to the UI.

The background state is now synced before the loading overlay for
removing the account is removed, ensuring that the removed account
cannot be seen in the UI after removal.
yqrashawn pushed a commit to Conflux-Chain/conflux-portal that referenced this pull request Jan 19, 2020
The e2e tests were failing intermittently after removing an account
because the account was shown as not deleted after the removal. I
suspect this was because the account _had_ been removed, but that
change to the background state hadn't yet propagated to the UI.

The background state is now synced before the loading overlay for
removing the account is removed, ensuring that the removed account
cannot be seen in the UI after removal.
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