Repository navigation
Browsing sidebar: Add content menu items preview - #29225
Conversation
|
Size Change: +935 B (0%) Total Size: 1.38 MB
ℹ️ View Unchanged
|
Addison-Stavlo
left a comment
There was a problem hiding this comment.
This looks great and test well! No Qs after a little digging, and I don't really have any ideas for improvement.
Its cool to see that rendering a preview of content is as simple as rendering a template in the right context. 😁
There was a problem hiding this comment.
Will add my ✅ as well, this works as expected for me, and brings parity between the content and template previews that are generated from the sidebar.
A couple of related issues (which I think should be addressed separately from this PR, as they affect both kinds of previews from the sidebar):
First, preview performance can be quite slow when there are many posts contained in it (such as with a category archive)
Second, it looks like all the rendering and network requests are being done for smaller screens, even when the preview doesn't display


Fixes #29164
Description
Add previews for content menu items.
How has this been tested?
Screenshots
Types of changes
New feature (non-breaking change which adds functionality)
Checklist: