-
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]: Add delete
action for pages in navigation sidebar
#51101
[Site Editor]: Add delete
action for pages in navigation sidebar
#51101
Conversation
), | ||
{ | ||
type: 'snackbar', | ||
id: 'edit-site-page-removed', |
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.
We could probably add an undo
action here.. Maybe in a follow up? 😄
Size Change: +376 B (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
packages/edit-site/src/components/page-actions/delete-page-menu-item.js
Outdated
Show resolved
Hide resolved
packages/edit-site/src/components/page-actions/delete-page-menu-item.js
Outdated
Show resolved
Hide resolved
21e2cdc
to
1dc9145
Compare
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.
🚢
Flaky tests detected in 0322b34. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5131952054
|
…ordPress#51101) * [Site Editor]: Add `delete` action for pages in navigation sidebar * throw errors on delete and address feedback * close confrim dialog onRemove
What?
Part of: #50379
This PR adds a
delete
action for pages in site editor's navigation sidebar with a confirmation dialog.Testing Instructions
pages
Screenshots or screencast
Screen.Recording.2023-05-30.at.6.30.19.PM.mov