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

Data views: Show total count in menu item #57072

Open
Tracked by #55083
jameskoster opened this issue Dec 14, 2023 · 2 comments
Open
Tracked by #55083

Data views: Show total count in menu item #57072

jameskoster opened this issue Dec 14, 2023 · 2 comments
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

jameskoster commented Dec 14, 2023

In the Patterns page, each view (pattern category) has an associated count:

Screenshot 2023-12-14 at 16 22 10

It would be nice to bring this UI detail to other views, e.g.:

Screenshot 2023-12-14 at 16 21 32
@jameskoster jameskoster changed the title Show total count in menu item Data views: Show total count in menu item Dec 14, 2023
@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. Needs Dev Ready for, and needs developer efforts [Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond labels Dec 14, 2023
@finitelydope
Copy link

Can you explain the issue a bit more?

@jameskoster
Copy link
Contributor Author

Sure. In the Pattern management sidebar each category is represented by a menu item. Inside each menu item is a count indicating how many patterns there are in the category.

I'd like to bring the same count to the DataViewItem component. Then, when you visit page management each view (e.g. "All", "Drafts", "Trash") will communicate how many pages it contains without having to visit it directly.

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 Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.
Projects
Status: No status
Development

No branches or pull requests

2 participants