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

Pattern inserter: iterate on current experience with categories #54620

Closed
richtabor opened this issue Sep 19, 2023 · 5 comments
Closed

Pattern inserter: iterate on current experience with categories #54620

richtabor opened this issue Sep 19, 2023 · 5 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@richtabor
Copy link
Member

richtabor commented Sep 19, 2023

I'm not following this recent changes to the pattern inserter (related #53164). This doesn't quite feel like a step forward as-is. A few questions:

  1. Is the "All pattern types" select a filtering mechanism? I can't tell if patterns are available based on this select, other than the categories changing when selecting the "My patterns" option.

  1. What is "All categories"? It competes for comprehension with "All pattern types". Is that all "My Patterns", or only synced patterns, or both? I think they're all synced patterns, as they're using the synced purple, but otherwise there is no other connection.

Edit: I think it may contain every pattern on the site? Not sure how useful this really is; I don't think we need it.

CleanShot 2023-09-19 at 15 24 12
  1. Why do curated patterns from the pattern directory render, when "Theme patterns" is selected. I would expect that the results would be limited to patterns bundled in the theme.
CleanShot 2023-09-19 at 15 26 19
  1. Are these in the process of syncing? Also, why not use the same ToggleGroup that is leveraged in Site Editor > Patterns?
CleanShot 2023-09-19 at 15 27 43 CleanShot 2023-09-19 at 15 28 33
  1. I don't think we need to bring up prominence on the pattern explorer too much yet, especially while it's not an ideal experience.
CleanShot 2023-09-19 at 15 21 49
  1. We need another design pass on the pagination and items count (count should probably be moved up towards the top).
CleanShot 2023-09-19 at 15 32 54
@richtabor richtabor added Needs Design Feedback Needs general design feedback. [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Sep 19, 2023
@annezazu annezazu moved this to Needs Design Feedback in WordPress 6.4 Editor Tasks Sep 19, 2023
@annezazu annezazu changed the title Recent pattern inserter changes Pattern inserter: iterate on current experience with categories Sep 19, 2023
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Sep 20, 2023
@annezazu
Copy link
Contributor

cc @SaxonF and @jameskoster

@glendaviesnz
Copy link
Contributor

glendaviesnz commented Sep 20, 2023

This doesn't quite feel like a step forward as-is

Thanks for the feedback @richtabor. Despite some rough edges on the UI/UX it feels like a big step forward to me as prior to this change there was no way for users to categorise their own patterns and to filter their patterns by these categories - many users had thousands of patterns with no way to group/browse them other than title. Now they can assign multiple categories to each pattern for easier management and discovery in the inserter patterns tab - previously they were all just listed under My patterns. Also prior to this change there was a confusing separation between the Patterns tab where a user's unsycned patterns were listed, and the Synced patterns tab where all their synced patterns were listed, now there is just a single Patterns tab where all can be found regardless of source or sync type. And the final big step forward was the addition of paging for the listing of patterns. Prior to this change every pattern in a given category was displayed at once in the pattern preview tab which had massive performance implications, especially for those users that had thousands of patterns for whom the inserter patterns tab was unusable.

However, this was definitely a first cut, and with the significant underlying changes needed to implement the above improvements we had to deprioritise some of the UI/UX work in order to ensure that the most important parts of the new user patterns category functionality was merged in time for the 6.4 beta - with the view that the UI/UX would then be iterated on, and your comments are a useful starting point for that iteration work. Some of the previous design discussions/decisions can be found here. I will wait to hear what @SaxonF and @jameskoster think about the best next steps.

why not use the same ToggleGroup that is leveraged in Site Editor > Patterns?

This was explored, but that toggle group control is currently not responsive so doesn't work in that narrow panel, especially with longer language strings. We didn't have time to refactor that control so a select list was used instead.

@SaxonF
Copy link
Contributor

SaxonF commented Sep 21, 2023

We are working off a branch here

@bph bph moved this from Needs Design Feedback to Needs Dev / Todo in WordPress 6.4 Editor Tasks Sep 23, 2023
@estelaris
Copy link
Member

De-emphasise pattern filters in inserter #54681 has been merged and it addresses the concerns on this PR

@github-project-automation github-project-automation bot moved this from Needs Dev / Todo to Done in WordPress 6.4 Editor Tasks Sep 25, 2023
@richtabor
Copy link
Member Author

De-emphasise pattern filters in inserter #54681 has been merged and it addresses the concerns on this PR

Some of them yes, but I can open up individual issues for these as follow-ups:

We need another design pass on the pagination and items count (count should probably be moved up towards the top).

I don't think we need to bring up prominence on the pattern explorer too much yet, especially while it's not an ideal experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
No open projects
Status: Done
Development

No branches or pull requests

6 participants