Switch to core page template modal
We built a "new page template" ahead of core, which was good:
Since then, core has been building similar modal over time, but it was still missing categories when I last time checked in Dec 2022 (p58i-dox-p2#comment-56492).
The modal is in active development again and will likely match or pass the UX of our soon:
We should switch to core modal when core modal has categories sidebar.
If other flow improvements from core issue ship first, we should ensure our modal works well with those improvements:
Important to follow up with docs updates.
FYI @autumnfjeld @ianstewart
Note that the core implementation does not have categories, it's just a modal. We could push this https://github.com/WordPress/gutenberg/issues/56944 forward on core thought to switch over.
Support References
This comment is automatically generated. Please do not edit it.
- [ ] p58i-dox-p2#comment-56492
@scruffian @richtabor the WP.com custom modal could now be removed since sidebar version merged in Gutenberg? https://github.com/WordPress/gutenberg/pull/66836
@scruffian @richtabor the WP.com custom modal could now be removed since sidebar version merged in Gutenberg? https://github.com/WordPress/gutenberg/pull/66836
One thing I noted is that the patterns in the dotCom modal are not represented as "Starter Content" in the Inserter.
These dedicated page patterns require the Block Types: core/post-content header passed through.
Example:
/**
* Title: Portfolio Page
* Slug: assembler/page-portfolio
* Categories: page
* Viewport width: 1400
* Block Types: core/post-content
*/
The dotCom starter content modal:
I should see a "Starter content" category here: