Skip to content
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

Site Editor Details text update to "Quick Edit" #67725

Open
wants to merge 7 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/edit-site/src/components/post-edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export function PostEdit( { postType, postId } ) {
} ) }
label={ __( 'Post Edit' ) }
>
<h2>{ __( 'Quick Edit' ) }</h2>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's best to use a Heading component instead of a hardcoded H2:

			<Heading level={ 2 } size={ 16 }>
				{ __( 'Quick Edit' ) }
			</Heading>

{ postId && (
<PostEditForm postType={ postType } postId={ postId } />
) }
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/post-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export default function PostList( { postType } ) {
size="compact"
isPressed={ quickEdit }
icon={ drawerRight }
label={ __( 'Details' ) }
label={ __( 'Quick Edit' ) }
onClick={ () => {
history.navigate(
addQueryArgs( location.path, {
Expand Down
Loading