-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Template Parts: Add duplicate template part command #55342
Template Parts: Add duplicate template part command #55342
Conversation
Size Change: +284 B (0%) Total Size: 1.72 MB
ℹ️ View Unchanged
|
Flaky tests detected in 3483448. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6544131181
|
8ade2be
to
3483448
Compare
c673833
to
f03551c
Compare
Refactored during rebased post dataviews change on Patterns site editor page.
3483448
to
3e5113b
Compare
Closing this draft as it is stale and I have limited bandwidth in the near future to resurrect it. |
Related
Note: Refactoring or consolidating modal components between new pattern dataviews action and these commands will be looked into via a follow-up.
What?
Adds a command for duplicating template parts while viewing or editing them in the site editor.
Why?
Assists in managing template parts and brings them into parity with patterns that have the same commands.
How?
TemplatePartModal
that was added in #55339 so that commands can toggle the appropriate modal.Testing Instructions
Screenshots or screencast
Screen.Recording.2024-03-24.at.12.10.21.PM.mp4