Skip to content

List View: Allow appending nested items #85154

Open

Description

@jeryj

The list view doesn't offer adding to nested menus. For example, you can add a buttons block, but you cannot add individual buttons. You can only add top level items. We should offer an easy way to add more child items to a submenu or nested block (buttons, social icons).

How/when the appenders should appear is in the air. Should we reveal the appenders on parent hover and focus? Just focus/select? Should they always be available?

Activity

  1. added
    [Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.
    on Nov 2, 2026
  2. jeryj commented on Nov 2, 2026

    @jeryj
    ContributorAuthor

    @WordPress/gutenberg-design - I'd love to hear your thoughts on how we could add an appender to add nested list view items. I'll be running some prototypes as well, but wanted to put it on your radar if you had time.

  3. jasmussen commented on Nov 2, 2026

    @jasmussen
    Contributor

    Busy weeks, catching up, thanks for the ping. I guess you don't mean like this?

    Image

    One of the tricky pieces is that the tiny list view window in the inspector, not the large list view as shown above, both navigates to list item attributes on click, in addition to selecting that item. One blunt instrument would be to add an explicit "edit" button to the inspector version that would "slide the inspector" to reveal drilldown items. That, and double-click, perhaps. I'm not proposing anything quite yet, to be clear, mostly just clarifying.

  4. jeryj commented on Nov 2, 2026

    @jeryj
    ContributorAuthor

    @jasmussen - Thanks for the quick response! Unfortunately Add before and Add after don't get the behavior we need. I ran into this issue on the Site Editor Navigation List View. You can add top level items but not child items, so it's impossible to add an item to a Social Icon or Button block, for example.

    Social Link options pane in the site view with Add before and Add after

    My ideal would be that we have a way to show a visible nested appender in the list view within the container. I'm not sure exactly where or when the appender should appear though. I'm exploring options. Do you have any strong feelings or direction on this?

  5. jasmussen commented on Nov 3, 2026

    @jasmussen
    Contributor

    Not strong feelings, because I haven't pictured how it might work yet. My instincts tell me that the best next step is probably to find the most adjacent piece of existing software we can look at, whether it's the Finder, other directory browsing apps, layer panels in apps like Figma or Photoshop, or other site builders and their navigation menu trees. Basically, map the territory of similar tree-view patterns and how new items are added, nested or not, and see if something stands out. Mostly that instinct says: this problem is solved, somewhere, and it's worth replicating what works to lean into learned practices. Is that fair?

  6. jeryj commented on Nov 19, 2026

    @jeryj
    ContributorAuthor

    I researched this and see a few different strategies, and have my opinion on which is the most usable:

    1. Show + in the parent row: Unclear what the + will do - add after (sibling)? Convert it to a submenu?
    2. Show nested + at the end of each unfurled container: Clearest about where the item goes.

    The downside of the nested at the end of each container is that it spaces out sections with children and takes up more space. However, it most clearly answers the question of "What happens when I click this." We could potentially avoid this by only showing it on hover or if the parent/container is selected, but that also makes it less discoverable.

    I'll try the nested approach first and see how it feels.

  7. jameskoster commented on Nov 20, 2026

    @jameskoster
    Contributor

    I worry a button in the list view row is going to be ambiguous and potentially add more noise than value. We have "Add before" and "Add after" actions in the options menu, how about adding "Add inside" or similar? Obviously it would only be available on container blocks.

  8. jeryj commented on Nov 20, 2026

    @jeryj
    ContributorAuthor

    I worry a button in the list view row is going to be ambiguous and potentially add more noise than value.

    @jameskoster - Can you clarify why you feel this way? I feel the opposite, so I'm worried there are some points I'm not considering :)

    I feel like a visible + in context of the container will make it easier to understand and build out nested menus, take fewer clicks, and avoid hunting for the hidden option. I have it as a small gray +.

    I plan to user test it, so I'm happy to put one in an options pane too and see how it goes.

  9. jameskoster commented on Nov 20, 2026

    @jameskoster
    Contributor

    I don't know that it's obvious a + button in a row = insert inside, even if it only appears on containers. It could be read as insert adjacent. Maybe a slightly different icon would help?

    Additionally, in the context of list view I think it's a relatively niche action that doesn't warrant such a prominent affordance in the UI. That's a hunch I could be wrong about. I appreciate things might shift when we talk about navigation specifically, but I don't know that the navigation UX should dictate the broader List View mechanics.

    The noise aspect I mentioned because rows can already carry quite a few details. There's barely room for another item here:

    Screenshot 2026-11-20 at 14 28 44
  10. jeryj commented on Nov 20, 2026

    @jeryj
    ContributorAuthor

    Ah, to clarify, I meant adding the + as a new row after the last nested item. I agree that putting it on the same row as the parent is not clear. I should have used a screenshot from the start!

    Navigation list view menu with nested +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DesignNeeds design efforts.[Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions