-
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
fix: fix sticky autodetection banner #29061
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. |
444c738
to
d546ce6
Compare
Builds ready [d546ce6]
Page Load Metrics (1924 ± 73 ms)
Bundle size diffs
|
d546ce6
to
d190575
Compare
|
||
await dispatch( | ||
ignoreTokens({ | ||
tokensToIgnore: tokens, | ||
tokensToIgnore, |
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.
ignoreTokens should be called with an array of strings
d190575
to
cc53eab
Compare
...nts/app/detected-token/detected-token-ignored-popover/detected-token-ignored-popover.test.js
Outdated
Show resolved
Hide resolved
71beac5
to
215d104
Compare
215d104
to
61628d1
Compare
Builds ready [acc30ae]
Page Load Metrics (1862 ± 126 ms)
Bundle size diffs
|
exports[`DetectedTokenIgnoredPopover should match snapshot for ignore mode 1`] = `<DocumentFragment />`; | ||
|
||
exports[`DetectedTokenIgnoredPopover should match snapshot for import mode 1`] = `<DocumentFragment />`; |
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.
These snapshots are empty, so they aren't testing anything. I think modals have to be snapshotted differently, I'll see if i can find an example
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.
I think this does it:
0f5eda3
Builds ready [78ab85f]
Page Load Metrics (2027 ± 126 ms)
Bundle size diffs
|
Description
fix sticky autodetection banner
Related issues
Fixes: #29059
Manual testing steps
Screenshots/Recordings
Before
After
https://drive.google.com/file/d/11zcmgV1Bdq5wx9MkDlhxr8oDBr9DGB3d/view?usp=sharing
Pre-merge author checklist
Pre-merge reviewer checklist