Conversation
Selecting a navigation link or submenu in the site editor sidebar List View now opens the same content popover used by content-only List View editing, in both the site editor and the extensible site editor. The Options menu also gets an Edit item that opens it. A private block editor setting lets InspectorControlsFill route content controls to the List View popover outside of sections, and a contentPopoverProps prop lets PrivateListView render that popover anchored to the selected row. Both sidebars use ExperimentalBlockEditorProvider, since the public provider strips private settings. Closes #77071. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E1o9yTAtStCTHxjhPHeg8P
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +175 B (0%) Total Size: 8.25 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. should cut and paste individual blocks with collapsed selection in
|
What?
Closes #77071
Selecting a navigation link or submenu in the sidebar List View opens the same content popover that content-only List View editing uses, so existing items can be edited without leaving the List View. This works in both the site editor sidebar and the extensible site editor. The item's Options menu also gets an "Edit" item that opens the popover.
Why?
The sidebar List View can add, move, and remove navigation items, but editing an existing item's text or link meant switching to the canvas. Content-only List View editing already solves this with a popover anchored to the selected row, so this reuses that instead of adding another way to edit links.
How?
block-editor: a new private setting,listViewContentPopoverKey, letsInspectorControlsFillroutegroup="content"controls to the List View content popover outside of sections. A newcontentPopoverPropsprop onPrivateListViewrenders the existingListViewContentPopoveranchored to the selected row, andListViewContentPopoveracceptspopoverPropsto override its placement.Controls), exactly as content-only editing does.BlockEditorProvidertoExperimentalBlockEditorProvider. The public provider strips private settings, including symbol keys, so the setting never reached the store.The popover shows every field the block's content controls show by default outside content-only mode, including Description and Rel.
Testing Instructions
admin.php?page=site-editor-v2&p=/navigation.Testing Instructions for Keyboard
Screenshots or screencast
before-v1.mp4
after-v1.mp4
before-v2.mp4
after-v2.mp4
Use of AI Tools
This PR was written with Claude Code (Claude Opus 5.5), including the implementation, the e2e tests, and the screen recordings. I reviewed and tested the changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E1o9yTAtStCTHxjhPHeg8P