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

Filtering patterns by keyword #45606

Closed
jameskoster opened this issue Nov 8, 2022 · 5 comments
Closed

Filtering patterns by keyword #45606

jameskoster opened this issue Nov 8, 2022 · 5 comments
Labels
[Feature] Pattern Directory The Pattern Directory, a place to find patterns [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

When registered Patterns are able to include keywords which, in addition to categories, help to describe the pattern. I suppose we can think of them as post tags, for block patterns.

I'm not sure how widespread the use of this affordance is, but when patterns with keywords exist on a site (or when browsing the pattern explorer after it has been connected to the pattern directory) it would be nice if the UI allowed folks to filter by keyword. In #44501 a 'wireframe' keyword is being considered, which could elevate usage.

Areas of the editor to consider surfacing keyword filtering:

Pattern explorer

Screenshot 2022-11-08 at 14 22 54

Patterns panel

Screenshot 2022-11-08 at 14 23 19

Are there others?

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. Needs Design Needs design efforts. [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Feature] Pattern Directory The Pattern Directory, a place to find patterns labels Nov 8, 2022
@ntsekouras
Copy link
Contributor

Filtering by keywords is already supported. Did you encounter a case that didn't work?

@jameskoster
Copy link
Contributor Author

Do you mean it's supported in the search? That's good to know. I was thinking more about surfacing specific keywords as filtering options in the UI in order to aid discovery.

It's certainly not a high-priority item, just something to think about as the pattern directory grows.

@ntsekouras
Copy link
Contributor

Do you mean it's supported in the search?

Yes, that was what I meant.

@youknowriad
Copy link
Contributor

I think we should rework this UI to use DataViews and support filters/search ...

@jameskoster
Copy link
Contributor Author

Yup. The main issue was ensuring keywords are included in the search function. A keyword field might be worth adding to the Patterns data view.

@jameskoster jameskoster closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Pattern Directory The Pattern Directory, a place to find patterns [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants