Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section overview UI (exploded view) #40319

Closed
12 tasks
Tracked by #50739
jorgefilipecosta opened this issue Apr 13, 2022 · 4 comments
Closed
12 tasks
Tracked by #50739

Section overview UI (exploded view) #40319

jorgefilipecosta opened this issue Apr 13, 2022 · 4 comments
Assignees
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") General Interface Parts of the UI which don't fall neatly under other labels. [Type] Enhancement A suggestion for improvement.

Comments

@jorgefilipecosta
Copy link
Member

jorgefilipecosta commented Apr 13, 2022

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
@jorgefilipecosta jorgefilipecosta added the [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") label Apr 13, 2022
@youknowriad
Copy link
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.

@annezazu
Copy link
Contributor

annezazu commented Oct 3, 2022

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.

@annezazu
Copy link
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.

@mtias mtias mentioned this issue May 18, 2023
40 tasks
@jordesign jordesign added [Type] Enhancement A suggestion for improvement. General Interface Parts of the UI which don't fall neatly under other labels. labels Sep 14, 2023
@jorgefilipecosta
Copy link
Member Author

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
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") General Interface Parts of the UI which don't fall neatly under other labels. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants