-
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
Extract a PostPanelRow component from the different sidebar panels #56238
Conversation
Size Change: -115 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
cce18b7
to
b5b713d
Compare
<PostSticky /> | ||
<PostPendingStatus /> | ||
<PostFormat /> | ||
<PostSlug /> | ||
<PostAuthor /> | ||
<PostSyncStatus /> |
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 moved this because it actually looks way better before the "pending status". Check by opening a reusable block in the post editor.
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'm not sure how to view this component 😅
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.
You click on the "manage all patterns" link in the more menu of the post editor and then create a pattern/reusable block from there.
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.
This looks good, thanks!
I've noticed that we keep repeating the same styles over and over between the different panels in the "summary" panel in the site editor sidebar (or post editor).
This PR just creates a small internal UI component to reuse between the different panels.