-
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
Template parts: set backpath to patterns page #60667
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -35 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
✅
This one feels a little unexpected. So long as the "Manage all template parts" page is accessible, I think you should be returned there if you actively navigate through it. Obviously this will no longer be an issue once that view is removed.
✅ Nice work! |
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 can't confidently provide a very in-depth review here, but LGTM. I left what is probably a silly question, but have a look before merging.
packages/edit-site/src/components/sidebar-navigation-screen-template/index.js
Outdated
Show resolved
Hide resolved
I really appreciate the work you into this PR's presentation: the break down into distinct commits, each with an explanation and a link, the area-by-area testing instructions, etc! 🎉 |
Reverted it at 5c1609e I'll follow-up tomorrow with a PR to remove the link and will include this commit there. With that in place, the last bit would be to reorganize the sidebar in the Patterns page I believe. The code for Parts was a bit over the place, to be honest 😅 |
#60689 removes the "Manage all parts" link, page, and code. |
Part of #55083
Related #59659 and #60359
What?
Sets the backpath to the Patterns page for all actions related to Template Parts:
Why?
We are trying to get rid of the "Manage all template parts" screen at #60359. This is a preliminary step.
How?
Testing Instructions
Details view sidebar: go back action — from the "Patterns" page.
Details view sidebar: go back action — from the "Manage all parts" page.
Details view sidebar: delete the custom part action.
Editor sidebar: delete the custom part action.
Command bar: delete the custom part action.