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

Improve connection between theme and pattern directories #573

Open
annezazu opened this issue Mar 29, 2023 · 3 comments
Open

Improve connection between theme and pattern directories #573

annezazu opened this issue Mar 29, 2023 · 3 comments
Labels
[Component] Pattern Directory The backend of the pattern directory: submission, management, etc [Type] Discussion Proposed idea, needs input from others before actionable

Comments

@annezazu
Copy link
Collaborator

Right now, when viewing block themes, the patterns within the theme are visible. However, the opposite isn't true when you're browsing the pattern directory. This issue seeks to propose that we better connect these experiences to create a more cohesive experience, lay the ground work for more granular theme switching, and improve the discoverability of the work of theme authors.

Tied to this, it means there's a potential for when someone is submitting a block theme, that they could automatically include patterns in the pattern directory that are tied to what they are submitting.

cc @WordPress/block-themers for thoughts here!

@MaggieCabrera
Copy link

+1 to make it easier to submit theme patterns to the directory!

@colorful-tones
Copy link
Member

I imagine we're considering adding in some meta information for pattern registration possibly in the pattern's header, e.g.

<?php
/**
* Title: A Pattern Title
* Slug: namespace/slug
* Description: A human-friendly description.
* Viewport Width: 1024
* Categories: comma, separated, values
* Keywords: comma, separated, values
* Block Types: comma, separated, values
* Inserter: yes|no
* Theme: twentytwentythree            <---- new meta for pattern
*/

I love this and think it would be a great addition. I could see it being prioritized over some other pattern enhancements.

@mikachan
Copy link
Member

Another +1 for this idea! Especially this part:

lay the ground work for more granular theme switching

I also like the idea of automatically including a theme's patterns in the pattern directory. Awesome!

@ryelle ryelle added the [Type] Discussion Proposed idea, needs input from others before actionable label May 17, 2023
@ryelle ryelle changed the title Pattern directory: show theme source for individual patterns Improve connection between theme and pattern directories Dec 11, 2024
@ryelle ryelle added the [Component] Pattern Directory The backend of the pattern directory: submission, management, etc label Dec 11, 2024
@ryelle ryelle moved this to ⚠ On Hold/Blocked in WordPress.org Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Pattern Directory The backend of the pattern directory: submission, management, etc [Type] Discussion Proposed idea, needs input from others before actionable
Projects
Status: On Hold/Blocked
Development

No branches or pull requests

5 participants