-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Docs: Remove outdated info #54707
Docs: Remove outdated info #54707
Conversation
Flaky tests detected in c7408ccb415e42f74d002ef422c81f5ad386a44b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6268257937
|
packages/components/README.md
Outdated
|
||
_If you're using [`Popover`](/packages/components/src/popover/README.md) or [`Tooltip`](/packages/components/src/tooltip/README.md) components outside of the editor, make sure they are rendered within a `SlotFillProvider` and with a `Popover.Slot` somewhere up the element tree._ | ||
_If you're using [`Popover`](/packages/components/src/popover/README.md) outside of the editor, make sure they are rendered within a `SlotFillProvider` and with a `Popover.Slot` somewhere up the element tree._ |
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 wonder if this paragraph can also be removed, after @youknowriad's recent Popover
updates (for reference:
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.
Riad, I guess this paragraph is out of date and can be deleted?
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.
Yes, it's out of date. The Provider is no longer mandatory but you can still use it with the Slot if you want to control the exact position of the popover.
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.
Looks good to me, pending the change to the paragraph @ciampo mentioned. Approving so you can merge after updating that bit 😄
c7408cc
to
9230084
Compare
@brookewp not sure what's going on with CI checks. You may want to merge latest |
9230084
to
78e81c1
Compare
What?
Tooltip no longer uses our Popover component since the refactor in #48440, so this removes the info on our legacy tooltip in the Popover section of the components package README.