Skip to content

Section overview UI (exploded view) #40319

Closed

Description

@jorgefilipecosta

This is purely a UI task. The objective is to implement this overview UI shown in the mockup:
image

In order for the persons working on this task not to be blocked from having the concept of sections, the first version of this task can rely on three sections the header (header template part), the middle section, all the blocks between the header, and footer, and the footer section (footer template part). The code should not take shortcuts and should be made in a way that makes it easy to update it to have N sections.

The UI should offer the button to open this mode on the site editor. It should be possible to use the delete button to remove a section, use the arrow buttons to switch header and footer template parts in a carousel-like experience, and press the replace button to open the existing template part replace modal.

After the base UI work is done, the persons working on this task should look into animations and try to have some of the animations shown on these videos #39281 (comment). The animation solution we propose should try to be as generic as possible. Ideally, we would be able to use it in other places.

  • Render a list of exploded blocks
  • Click to select a block
  • A dedicated toolbar with just the movers, block lock and the title of the block
  • Pattern switchers for "semantic sections" on the side
  • Animation between the modes
  • Animation when moving blocks
  • Drag and drop to move top level blocks
  • Double click to go back to "normal" mode?
  • A different design for the list view (focused on sections/ root level blocks)
  • A different design for the inserter (focused on patterns)
  • Remove button on the side
  • Backspace/Delete to delete the currently selected section/block

Activity

  1. youknowriad commented on Apr 14, 2022

    @youknowriad
    Contributor

    I updated the issue with a todo list that can be iterated on. The first PR is in #40314 and it checks a number of items on the list already.

  2. annezazu commented on Oct 3, 2022

    @annezazu
    Contributor

    While I know this work is still being explored, I wanted to note the following feedback from the seventeenth call for testing for the FSE Outreach Program on the currently implemented zoomed out view, since I see above that "double click to go back to normal mode" is on the list:

    I tried double clicking into a section in order to be able to go edit the individual components, but this didn’t do anything. It seems like the only way to zoom back “in” is to use the toggle in the top toolbar. Perhaps giving user a way to zoom back in in the main editing experience would make sense.

    Happy to open a separate issue but, when I saw this listed above, I decided against it.

  3. annezazu commented on Oct 15, 2022

    @annezazu
    Contributor

    More feedback from the seventeenth call for testing for the FSE Outreach Program to pass along:

    I expected a kind of 3 dot … option drop down to do additional actions such as switch area and delete.

    Zooming worked well to see what was there. I was able to insert new sections or patterns. I could also rearrange sections. I was not able to replace or delete any sections. (Not sure if that’s an option yet.)

    TLDR: folks definitely are keen to see both a delete and replace option visible when in this view.

  4. jorgefilipecosta commented on Jun 4, 2024

    @jorgefilipecosta
    MemberAuthor

    Closing this issue as it is better represented at #50739.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[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

    Sponsor
    SponsoredKunjungi sekarang
    Promo