-
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
Draft
aaronrobertshaw
wants to merge
1
commit into
try/rename-template-part-command
Choose a base branch
from
try/duplicate-template-part-command
base: try/rename-template-part-command
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Template Parts: Add duplicate template part command #55342
aaronrobertshaw
wants to merge
1
commit into
try/rename-template-part-command
from
try/duplicate-template-part-command
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaronrobertshaw
added
[Type] Enhancement
A suggestion for improvement.
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
labels
Oct 13, 2023
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
|
aaronrobertshaw
force-pushed
the
try/duplicate-template-part-command
branch
from
October 17, 2023 07:49
8ade2be
to
3483448
Compare
aaronrobertshaw
force-pushed
the
try/rename-template-part-command
branch
from
March 22, 2024 07:57
c673833
to
f03551c
Compare
Refactored during rebased post dataviews change on Patterns site editor page.
aaronrobertshaw
force-pushed
the
try/duplicate-template-part-command
branch
from
March 24, 2024 02:09
3483448
to
3e5113b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Type] Enhancement
A suggestion for improvement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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