Skip to content

List View: Explore Alternatives to TreeGrid #32294

@gwwar

Description

@gwwar

The List View component is used in several places, and is currently backed by a Tree Grid implementation. A Tree Grid allows for multiple focusable items in a row, but the tradeoff is that the markup and implementation is more complex, making it more difficult to maintain and add features for.

Persistent List View in Site/Post Editor Navigation block (in all editors) Widgets List View
post:site list view navigation block Screen Shot 2021-05-27 at 1 36 43 PM

Before we get too far in List View Improvements, there was some interest in revisiting if our current approach is more complex than it needs to be.

Some prior discussion mentions the possibility of using a TreeView or a simple List instead.

List View - Features/Requirements?

What types of tasks/flows do we plan on having List View facilitate? One key flow might be helping navigate block structure and complexity, so being able to drag and drop might be one feature. Does this mean that we also need mover controls as a requirement? Do we still plan on allowing folks to perform actions, like inserting/deleting a block?

Favoring one implementation over another is going to depend on if that approach will meet our overall needs.

Folks are also welcome to edit the summary with additional context, if I missed anything.

cc @shaunandrews @jasmussen @talldan @priethor

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Type] DiscussionFor issues that are high-level and not yet ready to implement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions