Skip to content

Consolidate notification UI openers#9885

Merged
rekmarks merged 2 commits intodevelopfrom
consolidate-ui-openers
Nov 16, 2020
Merged

Consolidate notification UI openers#9885
rekmarks merged 2 commits intodevelopfrom
consolidate-ui-openers

Conversation

@rekmarks
Copy link
Copy Markdown
Member

@rekmarks rekmarks commented Nov 14, 2020

We were passing the triggerUi function from background.js to MetaMaskController under a variety of different names. This consolidates all of them under the name showUserConfirmation.

In a follow-up PR to this and #9401, I will move the wallet_watchAsset implementation to the approval controller / RPC method middleware, which will allow us to get rid of the openPopup param currently passed to MetaMaskController.

@rekmarks rekmarks requested a review from a team as a code owner November 14, 2020 19:50
@rekmarks rekmarks requested a review from darkwing November 14, 2020 19:50
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [5f97bd5]
Page Load Metrics (414 ± 77 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaintNaNNaNNaNNaNNaN
domContentLoaded26388541216077
load26488641416077
domInteractive26388541216077

Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@rekmarks rekmarks merged commit 5a80f04 into develop Nov 16, 2020
@rekmarks rekmarks deleted the consolidate-ui-openers branch November 16, 2020 16:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants