-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Library: Rename template parts to library #50769
Library: Rename template parts to library #50769
Conversation
Also adds link to reusable blocks admin.
Size Change: +22.3 kB (+2%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
packages/edit-site/src/components/sidebar-navigation-screen-templates/index.js
Outdated
Show resolved
Hide resolved
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.
LGTM 👍 !
Note that the template parts page is still showing "All template parts" rather than what the link suggests ("Manage all patterns"). This could be a source of confusion for the users. We can merge this and quickly iterate to other planned features mentioned in the issue though, so I don't think it's a blocker. Or we could also put these behind a feature flag, I don't mind either 👍 .
Thanks for the review and the updates @kevin940726 🙇
Good point. Perhaps we could just revert the renaming of that link temporarily so it still reads "Manage all template parts" which matches the page it will go to. Also, taking another look at the design direction, that "Manage all" link will likely be removed when we update the page to include reusable blocks and display everything as a grid. I'll revert that link text and get this merged. |
Flaky tests detected in bb27f0d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5040890790
|
Thanks for the suggestion and question @autumnfjeld 👍 This was just the very tip of changes to overhauling pattern, template part, and reusable block, management. The Library section of the site editor is in the process of getting some major updates which you can get a glimpse of in #50028 (comment). Some exploratory work is ongoing in #51078 but is likely to change drastically in the near future. These efforts will also combine with work being done on patterns to offer different levels of syncing, unify patterns with reusable blocks etc. When all this comes together I believe that the differentiation you refer won't really be present or at least not to a level that requires a user-facing explanation. Also, the description text was reverted in #51039 given the time it was going to take to iterate on the Library. |
Related:
What?
Renames the primary template part navigation items in the site editor and adds a link off to the reusable blocks admin.
Why?
This is a small step towards the new "Library" to manage all things patterns, reusable blocks, template parts etc.
How?
Testing Instructions
Screenshots or screencast