-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Close notification UI if no unapproved confirmations #8358
Conversation
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.
Aside from the one requested change, I think this looks good! Definitely deserves a QA pass though. I'm going to check this out on Monday locally and use it a bit to ensure it works as expected.
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.
There are two things not considered in the current check: connect requests, and suggested tokens. Both of these can already be checked by existing props (firstPermissionRequestId
and suggestedTokens
), so it should be simple enough to add those to the condition.
b3e258d
to
a8e8287
Compare
Builds ready [79b96ce]
|
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!
* close notification UI if no pending confirmations * change benchmark page to 'home'
* close notification UI if no pending confirmations * change benchmark page to 'home'
* close notification UI if no pending confirmations * change benchmark page to 'home'
* close notification UI if no pending confirmations * change benchmark page to 'home'
The page tested by the benchmark was changed from `notification` to `home` in #8358, but the announce script was still expecting the `notification` page to be in the results. It does collect results for all pages, but the `notification` page was hard-coded to be used for the benchmark summary. The announce script now correctly looks for the `home` page results for the benchmark summary. Variable names have been updated to make it more clear what's going on here as well.
The page tested by the benchmark was changed from `notification` to `home` in #8358, but the announce script was still expecting the `notification` page to be in the results. It does collect results for all pages, but the `notification` page was hard-coded to be used for the benchmark summary. The announce script now correctly looks for the `home` page results for the benchmark summary. Variable names have been updated to make it more clear what's going on here as well.
Fixes #8348 (well enough)
Attempts to resolve #8348 by ensuring that the notification UI is closed if there are no unapproved confirmations to approve.
Unapproved confirmations include (exhaustively):