-
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
[Site Editor]: Sort template parts by type in navigation screen #50841
Conversation
accumulator[ key ].push( item ); | ||
return accumulator; | ||
}, | ||
{ header: [], footer: [], sidebar: [], rest: [] } |
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.
Is the sidebar
template part still a thing? 🤔
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.
It has never been exposed in the UI, except perhaps if a theme supplies one?
Size Change: +82 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in a20e855. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5045267087
|
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 works, thanks Nik!
What?
Follow up of: #50791 and specifically this comment.
This PR sorts the templates parts by type:
Screenshots or screencast