fix: resolve customer unread indicators#62
Merged
Conversation
|
🤖 Fork Repository Check Complete ✅ Basic security scan completed This PR from a fork repository has passed basic safety checks. A maintainer will review the changes before running full CI/CD pipeline. This is an automated safety check for contributions from fork repositories. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fix customer unread indicators that could remain stuck when the latest chat message is not visible to customers.
Root Cause
Customer ticket detail only loads non-internal messages, but the customer ticket list and read/unread filtering used the latest message across all chat messages. If the latest message was internal, customers could not see or mark that message as read, so the sidebar unread dot could reappear after switching tickets.
Changes
Verification
bun run typecheckgit diff --check upstream/main..origin/fix/user-unreadlabring/tentix:mainis ahead by 1 commit with 4 changed files.Notes
Please merge with Create a merge commit.