-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Reject popup confirmations on close #12643
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
I have read the CLA Document and I hereby sign the CLA |
2b52c51
to
ce0f540
Compare
Builds ready [2f275ef]Page Load Metrics (665 ± 17 ms)
highlights:storybook
|
@Gudahtt if all pending confirmations are rejected on notification popup close, how should we handle metrics? The |
Good point. Right now our "on reject" metrics are in the UI. We can move them into the As for the confirmations managed by the approval controller, I am not sure why we'd want to dispatch metrics directly in that controller. It doesn't know what these approvals are for, it doesn't have the context. The one controller using that right now is the permissions controller, so to take that as an example, we could dispatch the rejection metric event in |
ui/components/app/signature-request/signature-request.component.js
Outdated
Show resolved
Hide resolved
ui/components/app/signature-request-original/signature-request-original.component.js
Outdated
Show resolved
Hide resolved
2f275ef
to
cedd25f
Compare
Builds ready [cedd25f]Page Load Metrics (685 ± 34 ms)
highlights:storybook
|
ui/pages/confirm-encryption-public-key/confirm-encryption-public-key.component.js
Outdated
Show resolved
Hide resolved
2986657
to
f564ddb
Compare
Builds ready [f564ddb]Page Load Metrics (768 ± 37 ms)
highlights:storybook
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mostly looks good! One more set of changes left, for the remaining message managers.
Builds ready [ecfc773]Page Load Metrics (771 ± 37 ms)
highlights:storybook
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Builds ready [0434fdc]Page Load Metrics (840 ± 36 ms)
highlights:storybook
|
Fixes: #10302