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

Templates: Enable users to quickly browse by author/source #58111

Closed
jameskoster opened this issue Jan 23, 2024 · 3 comments · May be fixed by #58946
Closed

Templates: Enable users to quickly browse by author/source #58111

jameskoster opened this issue Jan 23, 2024 · 3 comments · May be fixed by #58946
Assignees
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

When managing templates it can be helpful to quickly view templates by author/source, e.g.:

  • Templates added by the active theme.
  • Templates added by specific plugins like WooCommerce or bbPress.
  • Custom, user-generated page templates ($custom).

To achieve this currently requires several clicks navigating the filters menu.

Dedicated views

Screenshot 2024-01-23 at 10 00 17

This approach builds on the sorting that exists in the current templates list by providing views for the following template groups:

  • All templates – self-explanatory.
  • Theme – templates bundled with the active theme.
  • Custom – any user-generated $custom templates.
  • Per-plugin views.

Adding these views could be a nice enhancement for 6.5. The first three should appear regardless, and per-plugin views would appear dynamically when the corresponding plugin is activated.

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. [Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond labels Jan 23, 2024
@jameskoster
Copy link
Contributor Author

This wasn't fully captured by #58124 so I don't think we can close yet.

Missing details:

  • For the 'All templates' view could we use the file icon to differentiate it from the theme views?
  • It would be nice to include the counts.
  • Perhaps most important: ideally all user-generated templates would be grouped together in a view called "Custom", rather than individual views per user. This view would be the equivalent to filtering by author and selecting all users.

@youknowriad
Copy link
Contributor

Given that RC1 is today I'm removing this one from 6.5 as non essential.

@jameskoster
Copy link
Contributor Author

Closing this in favor of individual issues for the outstanding items since they're better handled separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants