Skip to content

fix: use filtered counts for unified account - #11338

Open
arpitagarwal1301 wants to merge 1 commit into
thunderbird:mainfrom
arpitagarwal1301:fix/9773-unified-inbox-unread-count
Open

fix: use filtered counts for unified account#11338
arpitagarwal1301 wants to merge 1 commit into
thunderbird:mainfrom
arpitagarwal1301:fix/9773-unified-inbox-unread-count

Conversation

@arpitagarwal1301

Copy link
Copy Markdown
Contributor

Fixes #9773

Use the existing filtered unified-inbox counts for the Unified Account badge instead of summing all account totals. This prevents folders excluded from the unified inbox from inflating the unread and starred counts.

Verification

  • :feature:navigation:drawer:dropdown:testDebugUnitTest --tests 'net.thunderbird.feature.navigation.drawer.dropdown.domain.usecase.GetDisplayAccountsTest'
  • spotlessCheck
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

Missing report label. Set exactly one of: report: include, report: exclude OR report: highlight.

@rafaeltonholo rafaeltonholo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @arpitagarwal1301, thanks for this contribution!

The changes work partially. If we change the folder Unify option, the changes only get applied when reopening the app, when they should be applied when getting back to the Message List/Drawer screen.

See the screen recording for reference:

Screen.Recording.2026-08-12.at.12.03.50.PM.mp4

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.

Unread message count wrong for filtered Unified Inbox

2 participants