-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Add name to select control popover slots #35353
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
Conversation
Test Results SummaryCommit SHA: e8865e3
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
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.
Works well. Nice change!
As mentioned in Slack, I had a reservation about the use of __unstableSlotName, but it doesn't really look too unstable from what you mentioned:
- PR that added it was 1.5 years ago: WordPress/gutenberg#31611
- There is a wishlist issue to remove the
unstablepart: WordPress/gutenberg#42770
Only change I suggested was updating the changelog to be a bit more descriptive.
| Significance: patch | ||
| Type: fix | ||
|
|
||
| Add name to exported popover slot so that it is not used for any popover items. |
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.
"not used for any popover items" should probably be "not used for all popover items"
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.
Oh yeah... would probably be good to mention the context of what component we are talking about.
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.
🤣 yeah that is very ambiguous
| Type: fix | ||
|
|
||
| Add name to exported popover slot so that it is not used for any popover items. | ||
| Add name to exported popover slot used to display SelectControl Menu, so it is only used for SelectControl menu's. |
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.
Ugh, I hate to be picky... but, it should be "menus", not "menu's"
mattsherman
left a comment
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.
Thanks for making the changelog change. Looks good!
|
Hi @louwie17, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
All Submissions:
Changes proposed in this Pull Request:
Adds a name to the Popover and PopoverSlot so the
Popover.Slotdoesn't get used for all the popovers within the page.How to test the changes in this Pull Request:
new-product-management-experiencefeature flag enabled (you can do so using the latest version of the Beta tester within the mono repo).Other information:
pnpm --filter=<project> changelog add?FOR PR REVIEWER ONLY: