This repository was archived by the owner on Oct 15, 2026. It is now read-only.
Repository navigation
Unread messages and badges - #16
Merged
Merged
Conversation
Track when each user last read a channel and send them unread counts on connect and as messages arrive. The header chat button shows a badge, and a document's comms tab shows its count through Umbraco's view hints. A document channel counts once you've posted in it. Closes #2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unread counts for chat.
BackChatReadStatetable records when each user last read each channel.MarkReadhub method clears a channel; every tab you have open stays in step.ChannelAccessService, so everything that notifies about a channel checks it the same way.Tested on a local v17 site with a second user driven by a script: live badge updates, clearing on open, staying cleared after reload, two tabs in step, uncounted document channels staying silent.
Closes #2
Part of the roadmap in #12. This is one of a stack of PRs, one per issue, each based on the one before it. Merge them in order; GitHub retargets the next one when its base branch is deleted.
🤖 Generated with Claude Code