diff --git a/packages/edit-site/src/components/sidebar-navigation-item/style.scss b/packages/edit-site/src/components/sidebar-navigation-item/style.scss
index fd9da59eaa888..e9ec7ecf91909 100644
--- a/packages/edit-site/src/components/sidebar-navigation-item/style.scss
+++ b/packages/edit-site/src/components/sidebar-navigation-item/style.scss
@@ -19,6 +19,15 @@
.edit-site-sidebar-navigation-item__drilldown-indicator {
fill: $gray-700;
}
+
+ &:is(a) {
+ text-decoration: none;
+
+ &:focus {
+ box-shadow: none;
+ outline: none;
+ }
+ }
}
.edit-site-sidebar-navigation-screen__content .block-editor-list-view-block-select-button {
diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-main/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-main/index.js
index 7ad0dc07ae0f0..2419383f72a03 100644
--- a/packages/edit-site/src/components/sidebar-navigation-screen-main/index.js
+++ b/packages/edit-site/src/components/sidebar-navigation-screen-main/index.js
@@ -102,7 +102,7 @@ export default function SidebarNavigationScreenMain() {
withChevron
icon={ symbol }
>
- { __( 'Template Parts' ) }
+ { __( 'Library' ) }
}
diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-templates/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-templates/index.js
index 8c9c563888473..7b302be1c7e9f 100644
--- a/packages/edit-site/src/components/sidebar-navigation-screen-templates/index.js
+++ b/packages/edit-site/src/components/sidebar-navigation-screen-templates/index.js
@@ -36,12 +36,13 @@ const config = {
},
wp_template_part: {
labels: {
- title: __( 'Template parts' ),
- loading: __( 'Loading template parts' ),
- notFound: __( 'No template parts found' ),
+ title: __( 'Library' ),
+ loading: __( 'Loading library' ),
+ notFound: __( 'No patterns found' ),
manage: __( 'Manage all template parts' ),
+ reusableBlocks: __( 'Manage reusable blocks' ),
description: __(
- 'Template Parts are small pieces of a layout that can be reused across multiple templates and always appear the same way. Common template parts include the site header, footer, or sidebar.'
+ 'Manage what patterns are available when editing your site.'
),
},
},
@@ -123,14 +124,28 @@ export default function SidebarNavigationScreenTemplates() {
) ) }
{ ! isMobileViewport && (
-
+ <>
+
+ { config[ postType ].labels.manage }
+
+ { !! config[ postType ].labels
+ .reusableBlocks && (
+
+ {
+ config[ postType ].labels
+ .reusableBlocks
+ }
+
+ ) }
+ >
) }
) }
diff --git a/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js b/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js
index 5668832e4162c..5bd1fbd29d52b 100644
--- a/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js
+++ b/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js
@@ -62,7 +62,7 @@ test.describe( 'Site editor url navigation', () => {
page,
} ) => {
await admin.visitSiteEditor();
- await page.click( 'role=button[name="Template Parts"i]' );
+ await page.click( 'role=button[name="Library"i]' );
await page.click( 'role=button[name="Add New"i]' );
// Fill in a name in the dialog that pops up.
await page.type(