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

Inserter: Expand view to view patterns in a larger overlay. #26905

Closed
paaljoachim opened this issue Nov 11, 2020 · 5 comments
Closed

Inserter: Expand view to view patterns in a larger overlay. #26905

paaljoachim opened this issue Nov 11, 2020 · 5 comments
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Nov 11, 2020

This issue came about as I read: https://wptavern.com/wordpress-com-drops-over-100-block-patterns-carving-a-path-the-design-community-should-follow

Viewing a lot of patterns in the small inserter panel does not work to well. It gets tiring needing to scroll one pattern at a time. Having a larger view will help the user to compare multiple patterns at once.

Here is an example from WordPress.com. (The following is a mix of Norwegian and English language.)
We see the Inserter panel.
A user needs to scroll to see one pattern at a time.

Screen Shot 2020-11-11 at 21 10 00

--

Inserter-panel-scrolling-patterns

Going from the narrow Inserter panel to a larger overlay will make it possible to see multiple patterns at once.

I added an expand icon the user can click to open an overlay.

Patterns-overlay-gallery-mode-1

--

Patterns-overlay-galleri-mode-2

The result is more space to view patterns.

@paaljoachim paaljoachim added [Feature] Inserter The main way to insert blocks using the + button in the editing interface Needs Design Feedback Needs general design feedback. [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Nov 11, 2020
@hedgefield
Copy link

Great idea! It makes a lot of sense, also for style variations and such. First thing I would suggest is to add some kind of outline around the pattern preview image - these examples have some wild layouts with intense whitespace, makes it hard to see what belongs where. Putting some kind of outline will make it immediately clear and bring the grid feeling you're going for.

@paaljoachim
Copy link
Contributor Author

paaljoachim commented Nov 12, 2020

Hey Tim!

Yeah. I see your point. I added an outline to the default state but removed it and instead added it to the hover state. Like it is seen today.

Here is a Figma prototype:
https://www.figma.com/proto/TuDKX6ckaecNARP2B8NWp4/Expand-to-view-patterns-in-a-larger-overlay-window?node-id=3%3A49&scaling=min-zoom

An animated gif.
Pattern-expand-to-overlay-screen

The prototype I made is one piece of a bigger puzzle.

Next Steps on the Inserter
#21080
Which we also need to take into account.

As well as these issues that have the Inserter label.
[Feature] Inserter The main way to insert blocks using the + button in the editing interface

I have an associated issue for managing reusable blocks (can also be related to patterns).
#26408 (comment)
Bringing the import/export/editing/saving/removing of reusable blocks into the Gutenberg screen as an overlay.

Which could be like so.

  1. Create an overlay that multiple block types can use. Such as reusable blocks, patterns etc.
  2. Being able to manage the block types through clicking manage block. Which would give the user more control over the blocks they have available.

@skorasaurus
Copy link
Member

+1 with this; we're starting to run into this (users having to scroll down) as well even with just a handful of block patterns.

@paaljoachim
Copy link
Contributor Author

@ntsekouras
Copy link
Contributor

I'm closing this as the first iteration has landed here: #35773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

No branches or pull requests

4 participants