Skip to content

feat(libraries): show item count in browse toolbar#1516

Open
RyanTheTechMan wants to merge 1 commit into
edde746:mainfrom
RyanTheTechMan:feature/media-count
Open

feat(libraries): show item count in browse toolbar#1516
RyanTheTechMan wants to merge 1 commit into
edde746:mainfrom
RyanTheTechMan:feature/media-count

Conversation

@RyanTheTechMan

Copy link
Copy Markdown
Contributor

Display the current item count next to the Browse filter and sort controls.

Changes

  • Show the total count of items as plain digits on "Browse" tab of media library. (no localization needed, mimics Plex)
  • Update the count when grouping or filters change, including folder view.
  • Display the count on desktop and TV. Mobile is excluded because it uses the Library Options sheet instead of the inline Browse toolbar. (I would love for it to be implemented on mobile in the future)

Screenshot

CleanShot 2026-07-10 at 03 11 37

Display the server-reported Browse result count next to the filter and sort controls on desktop and TV. The count follows grouping and filter changes, and renders as plain digits without locale-specific separators. This is similar to how Plex displays the number in it's app.
Copilot AI review requested due to automatic review settings July 10, 2026 07:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an item-count indicator to the Libraries “Browse” toolbar so users can see the current result size alongside grouping/filter/sort controls (desktop/TV only), and keeps it updated as browse criteria change.

Changes:

  • Render the current totalSize as a digits-only count in the browse chips bar.
  • Adjust chips bar spacing/layout to account for conditional chip visibility.
  • Add accessibility semantics for the count display.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/screens/libraries/tabs/library_browse_tab.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants