You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New Experiment: Generate AI block labels in List View #951
Wish list for AI Plugin features: set "metadata.name" property based on LLM summarizing on top-level blocks to summarize the content in each to make it easier to skim a page in the List View that's about twenty group s long.
It feels too trivial to do a standalone plugin for, but would be useful in the core suite
What is your proposed solution?
Add an AI experiment that generates descriptive labels for top-level container blocks, such as core/group, and stores each label in the block’s metadata.name property.
The feature could:
Add a “Generate block labels” action for the current post or page
Send the content of each eligible top-level block to the configured AI provider for a short summary
Use the returned summary as the block’s List View label, such as “Customer testimonials” or “Pricing and plan comparison”
Preserve any labels manually entered by the user
Allow generated labels to be refreshed individually or across the entire document
Labels should be concise, ideally three to six words, and should describe the block’s purpose rather than repeat its opening text.
This would make long, highly structured pages easier to navigate without altering their visible content. It fits well as a small experiment within the AI plugin because it demonstrates AI-assisted editorial organization while relying on an existing Block Editor capability.
Why is this important to you?
Because George asked nicely.
I have searched existing issues and this is not a duplicate.
Honestly I only asked in slack instead of opening an issue because I wasn't sure if it was a silly idea and slack seems better for generally batting around ideas to shape them before formalizing in an issue. :)
This seems like a good use case for a lot of people, including me. I often end up wrapping content and as a page or post grows, I then forget what each wrapper actually contains (especially when there's a deeply nested structure).
I’ve put together a small prototype to help scope the expectations for the first iteration. Rather than only iterating over top-level container blocks, I think it would make more sense to account for nested wrappers as well, since nesting can sometimes get quite deep. We could recursively determine the labels of the leaf blocks first, then work our way upward to determine the labels of their parent wrappers.
I’d like to keep individual label generation for a single block as a follow-up rather than including it in the initial iteration. I’d also appreciate any feedback on the placement of the main trigger. I’ve attached a screencast of the working prototype to help visualize the idea.
Not sure what extensions points WordPress provides here but if there's a way to put this generate button in the list view panel, I think that makes more sense.
If we can't get it there, I think we'll want to ensure if you click it from the sidebar it automatically opens the list view so it's obvious something is happening.
Would also be nice if we could put some sort of loading state on the block being processed just to make it clear where the progress lies (and ideally make it so someone can't edit the label while a label is generating).
Thanks for the discussion and feedback so far! Because of the current bandwidth issue, I’d be happy to take this up and help move it forward. I’ve put together an updated POC incorporating @dkotter’s suggestions, along with UX improvements.
Screen.Recording.2026-10-14.at.12.12.15.PM.mov
I’ve also added the ability to generate labels for individual blocks directly from the List View, making it easier to label specific blocks as needed. I’ve included a video below to demonstrate that.
Screen.Recording.2026-10-14.at.12.12.53.PM.mov
I’d really appreciate any feedback on the approach, UX, and overall direction. I'll continue refining the implementation and complete and open the PR for review once completed.
Thanks @Infinite-Null for putting this together. This looks good to me. One other consideration is to put a generation button within the Rename modal (shown when you click the three dots and click Rename), similar to what you've been working on in #1140.
Thanks for the suggestion, @dkotter! I’ve updated the UI to include a generation button within the Rename modal. Here’s a quick video showing how it looks:
Screen.Recording.2026-10-15.at.3.03.06.PM.mov
I’d really appreciate your feedback on this updated approach and the UX.
Hi @dkotter I’ve completed the implementation for this feature in PR #1175. I’d really appreciate it if you could take a look when you get a chance and share any feedback. Thanks!
Activity
georgestephanis commentedon Aug 18, 2026
Honestly I only asked in slack instead of opening an issue because I wasn't sure if it was a silly idea and slack seems better for generally batting around ideas to shape them before formalizing in an issue. :)
yogeshbhutkar commentedon Aug 19, 2026
This seems like a good use case for a lot of people, including me. I often end up wrapping content and as a page or post grows, I then forget what each wrapper actually contains (especially when there's a deeply nested structure).
I’ve put together a small prototype to help scope the expectations for the first iteration. Rather than only iterating over top-level container blocks, I think it would make more sense to account for nested wrappers as well, since nesting can sometimes get quite deep. We could recursively determine the labels of the leaf blocks first, then work our way upward to determine the labels of their parent wrappers.
I’d like to keep individual label generation for a single block as a follow-up rather than including it in the initial iteration. I’d also appreciate any feedback on the placement of the main trigger. I’ve attached a screencast of the working prototype to help visualize the idea.
prototype.mov
cc: @jeffpaul @dkotter @georgestephanis
dkotter commentedon Aug 21, 2026
@yogeshbhutkar Thanks for putting this together!
Not sure what extensions points WordPress provides here but if there's a way to put this generate button in the list view panel, I think that makes more sense.
If we can't get it there, I think we'll want to ensure if you click it from the sidebar it automatically opens the list view so it's obvious something is happening.
Would also be nice if we could put some sort of loading state on the block being processed just to make it clear where the progress lies (and ideally make it so someone can't edit the label while a label is generating).
Infinite-Null commentedon Oct 14, 2026
Thanks for the discussion and feedback so far! Because of the current bandwidth issue, I’d be happy to take this up and help move it forward. I’ve put together an updated POC incorporating @dkotter’s suggestions, along with UX improvements.
Screen.Recording.2026-10-14.at.12.12.15.PM.mov
I’ve also added the ability to generate labels for individual blocks directly from the List View, making it easier to label specific blocks as needed. I’ve included a video below to demonstrate that.
Screen.Recording.2026-10-14.at.12.12.53.PM.mov
I’d really appreciate any feedback on the approach, UX, and overall direction. I'll continue refining the implementation and complete and open the PR for review once completed.
cc: @jeffpaul @dkotter @yogeshbhutkar
dkotter commentedon Oct 14, 2026
Thanks @Infinite-Null for putting this together. This looks good to me. One other consideration is to put a generation button within the
Renamemodal (shown when you click the three dots and clickRename), similar to what you've been working on in #1140.Infinite-Null commentedon Oct 15, 2026
Thanks for the suggestion, @dkotter! I’ve updated the UI to include a generation button within the
Renamemodal. Here’s a quick video showing how it looks:Screen.Recording.2026-10-15.at.3.03.06.PM.mov
I’d really appreciate your feedback on this updated approach and the UX.
dkotter commentedon Oct 15, 2026
@Infinite-Null That all looks good to me, nice work here!
Infinite-Null commentedon Oct 20, 2026
Hi @dkotter I’ve completed the implementation for this feature in PR #1175. I’d really appreciate it if you could take a look when you get a chance and share any feedback. Thanks!
cc: @jeffpaul @yogeshbhutkar