Skip to content

DataViews: Add counts/badges to filter options #73421

@Initsogar

Description

@Initsogar

What problem does this address?

Currently, DataViews filters don't show counts for available options, making it difficult for users to understand the distribution of items across filter categories before applying them.

Specifically:

  • Users cannot see how many items match each filter option without actually applying the filter
  • Users must trial-and-error through filters to discover which categories contain items
  • Empty or sparsely populated filter options aren't clearly indicated, potentially leading to confusion when a filter appears to do nothing.

What is your proposed solution?

Add optional count badges/numbers next to DataViews filter options to show how many items match each filter criteria.

Visual Example

Image

@keoshi @jameskoster @StevenDufresne feel free to add any additional detail that you consider relevant for this proposal 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Type] EnhancementA suggestion for improvement.
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions