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

Default curation filter makes it seem like very few patterns exist #709

Open
threadi opened this issue Sep 16, 2024 · 2 comments
Open

Default curation filter makes it seem like very few patterns exist #709

threadi opened this issue Sep 16, 2024 · 2 comments
Labels
[Component] Theme The frontend of the pattern directory, pattern lists UI

Comments

@threadi
Copy link

threadi commented Sep 16, 2024

It's about: https://wordpress.org/patterns/

There you can see that there are currently 1,964 patterns.

If you enter "404" as a search term, as shown in https://learn.wordpress.org/tutorial/personalizing-your-404-template/, there are no hits.

I also notice that despite the 1964 patterns, only 2 pages of patterns are displayed. There is no third page at all.

@ryelle
Copy link
Contributor

ryelle commented Sep 17, 2024

The default filter is to only show curated patterns, and there are 55 of those (2 pages). It was decided in #580 to default the patterns to the curated view. There are 1964 patterns total, which you can see if you update the filter to "All"

Screenshot 2024-09-17 at 10 43 59 AM

@threadi
Copy link
Author

threadi commented Sep 17, 2024

I see. For me as a user (as well as apparently others), this filter is apparently not conscious. I also noticed the following problem:

  1. Call this URL: https://wordpress.org/patterns/
  2. Set the filter from Curated to All and click on “Apply”, URL then: https://wordpress.org/patterns/?curation=all
  3. Now search for “404”. Result: 0 results as the filter is set to Curated again. URL: https://wordpress.org/patterns/?s=404
  4. Only when I now set the filter again from Curated to All and click on Apply I do see results.

I think this is not necessarily optimal in terms of handling. I understand if there are users who despair about the filtering.

Is there any chance of optimization?

@ryelle ryelle changed the title No results & less pages in directory Default curation filter makes it seem like very few patterns exist Dec 11, 2024
@ryelle ryelle added [Type] Discussion Proposed idea, needs input from others before actionable [Component] Theme The frontend of the pattern directory, pattern lists UI labels Dec 11, 2024
@ryelle ryelle moved this to 🛑 Pending discussion in WordPress.org Dec 11, 2024
@ryelle ryelle removed the [Type] Discussion Proposed idea, needs input from others before actionable label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Theme The frontend of the pattern directory, pattern lists UI
Projects
Status: 🛑 Pending discussion
Development

No branches or pull requests

2 participants