Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1175 +/- ##
=============================================
+ Coverage 84.03% 84.18% +0.15%
- Complexity 3666 3689 +23
=============================================
Files 144 147 +3
Lines 13846 13985 +139
=============================================
+ Hits 11635 11773 +138
- Misses 2211 2212 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…lockSettingsMenuItem
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @georgestephanis. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If 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. |
|
Hi @dkotter, @jeffpaul, and @yogeshbhutkar! I’ve completed the implementation for this PR. The PR is now ready for review. I’d really appreciate it if you could take a look when you get a chance. Thanks! |
dkotter
left a comment
There was a problem hiding this comment.
Left a handful of comments but let me know if you have questions on any of those.
Beyond those things, also a few other things I've noticed:
- Should add the experiment documentation here, matching our other experiments
- If a post has no container blocks, the button shows but when clicked it does nothing. Would be great to have better error handling here, either don't show the button, show it as disabled or give an error when clicked and nothing needs processing
- If I switch from the List view to the Outline view and then back, the button never reattaches
…date validation schema and tests
… inside header component
Hi @dkotter, thank you for the feedback! I’ve addressed the comments and fixed the issues you pointed out. I also missed adding the experiment documentation initially 😅, which has now been added. The updates are pushed, and the PR is ready for another review. I’d really appreciate it if you could take another look when you get a chance. Thank you! |
…if you generate from the list view and then move to the modal view (or vice versa), things can get mixed up
…n the Outline tab
dkotter
left a comment
There was a problem hiding this comment.
Pushed a handful of additional fixes for things I saw in my last review but this looks good to go now.
A potential follow up would be to consider generating labels based on the entire document instead of the content within a container. For instance, a container label like Hero Section is probably more useful than a label that describes the content within that section, and I think right now the results we get lean towards the latter.
What?
Closes #951
Introduces a new experiment, "Label Generation", which uses AI to generate concise, descriptive labels for container blocks in the WordPress Block Editor.
Why?
Long and highly structured posts or pages often contain dozens of container blocks that appear as generic, repetitive items in List View. This makes page skimming and navigation cumbersome.
Generating purposeful block labels (such as "Customer Testimonials" or "Pricing & Plans") without modifying the visible content streamlines document navigation for content creators and editorial teams.
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Sonnet 4.6
Used for: Validating bug, suggesting a fix.
Testing Instructions
Prerequisites
Test Block List View Generation:
Groupblocks containing paragraphs or headings).Test Block Rename Modal:
Groupblock with text content).Screenshots or screencast
List View
Screen.Recording.2026-10-14.at.12.12.15.PM.mov
Rename Block
Screen.Recording.2026-10-15.at.3.03.06.PM.mov
Changelog Entry
Props
Props @yogeshbhutkar for the initial code and exploration on this experiment.