Repository navigation
Admin UI: Update Page breadcrumbs to receive configuration array #86982
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
base: trunk
Are you sure you want to change the base?
Changes from all commits
f3e4ba7
c06f445
4ff3714
90d9cb6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,6 @@ | |
| "@wordpress/element": "file:../element", | ||
| "@wordpress/i18n": "file:../i18n", | ||
| "@wordpress/private-apis": "file:../private-apis", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The deleted story decorator was the only caller of |
||
| "@wordpress/route": "file:../route", | ||
| "@wordpress/style-runtime": "file:../style-runtime", | ||
| "@wordpress/ui": "file:../ui", | ||
| "clsx": "^2.1.1" | ||
|
|
||
This file was 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.
Could we show or link to the
href-to-toadapter in the migration note? PassingLinkfrom@wordpress/routedirectly ascomponents.linkfails typechecking because it requiresto. Example from this PRThere 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, I share your concern here about the downstream impact potential, and commented similarly in #87050 (comment) and the following comment. I think we should find a way to "soften" the migration impact by having
@wordpress/bootcontinue to handle this wiring as much as possible, for the common use-case. One option we could consider here is to continue depending on@wordpress/routeforBreadcrumbwhile still applying the configuration API update. That's kicking the can down the road a bit, but at least could help make some progress.