Skip to content

feat: add unread badge count for conversations - #560

Merged
naveensingh merged 5 commits into
mainfrom
naveensingh/unread-badge-count
Oct 15, 2025
Merged

feat: add unread badge count for conversations#560
naveensingh merged 5 commits into
mainfrom
naveensingh/unread-badge-count

Conversation

@naveensingh

@naveensingh naveensingh commented Oct 15, 2025

Copy link
Copy Markdown
Member

Type of change(s)

  • Bug fix
  • Feature / enhancement
  • Infrastructure / tooling (CI, build, deps, tests)
  • Documentation

What changed and why

  • Added a colored badge to indicate the number of unread messages in conversations. This works similarly to other messaging apps except for how mark as read and mark as unread are handled.
  • When a thread has unread items, the datetime text view is now also highlighted.
  • Added call to markThreadMessagesRead() in ThreadActivity.onResume() so all messages are marked as read as soon as users enter the chat.

Tests performed

  • Receiving and sending messages
  • Mark/unmark as read

Before & after preview

ignoreImageMinify

Closes the following issue(s)

Checklist

  • I read the contribution guidelines.
  • I manually tested my changes on device/emulator (if applicable).
  • I updated the "Unreleased" section in CHANGELOG.md (if applicable).
  • I have self-reviewed my pull request (no typos, formatting errors, etc.).
  • All checks are passing.

@naveensingh
naveensingh merged commit 0a66c46 into main Oct 15, 2025
8 checks passed
@naveensingh
naveensingh deleted the naveensingh/unread-badge-count branch October 15, 2025 15:03
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 messages aren't marked as read on opening Poor visibility of unread messages on dark themes

1 participant