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: duplicate content in multiple pending connect confirmations #29653

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

matthewwalsh0
Copy link
Member

Description

Fix duplicate content when there are multiple pending connect confirmations.

Caused by props being copied to state but not updated.

Related issues

Fixes: #29594

Manual testing steps

See issue.

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@matthewwalsh0 matthewwalsh0 added the team-confirmations Push issues to confirmations team label Jan 13, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [77cf52d]
Page Load Metrics (1761 ± 118 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint140722551758247118
domContentLoaded139921531728233112
load140922541761246118
domInteractive16126432713
backgroundConnect9110343115
firstReactRender1683482512
getState55613147
initialActions00000
loadScripts99917331288217104
setupStore65411105
uiStartup158028042005296142
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -173 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@dbrans dbrans left a comment

Choose a reason for hiding this comment

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

Hey Matt, these changes look great! Could you add some tests for them when you get a chance?

@seaona
Copy link
Contributor

seaona commented Jan 13, 2025

I see the issue fixed, thank you @matthewwalsh0

queuing-connect.mp4

@matthewwalsh0 matthewwalsh0 added this pull request to the merge queue Jan 13, 2025
Merged via the queue into main with commit 38b7bc3 Jan 13, 2025
80 checks passed
@matthewwalsh0 matthewwalsh0 deleted the fix/29594-multiple-connect-confirmations branch January 13, 2025 16:11
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2025
@metamaskbot metamaskbot added the release-12.11.0 Issue or pull request that will be included in release 12.11.0 label Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.11.0 Issue or pull request that will be included in release 12.11.0 team-confirmations Push issues to confirmations team
Projects
None yet
5 participants