Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PBE-5969] UnreadLabel shouldn't appear when only deleted messages are unread #5403

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

JcMinarro
Copy link
Member

🎯 Goal

Currently, when a message is deleted, the read are updated removing them from the deleted message and adding them to the previous message. It causes that a deleted message on the last possition is always marked as unread.

Only non-deleted messages should be elegible to be marked as unread

🛠 Implementation details

UnreadLabel is not added on the case that only deleted messages are after the last read message

🎨 UI Changes

Before After
Screen_recording_20240910_125044.webm
Screen_recording_20240910_124628.webm

🎉 GIF

@JcMinarro JcMinarro requested a review from a team as a code owner September 10, 2024 10:54
@JcMinarro JcMinarro changed the title UnreadLabel shouldn't appear when only deleted messages are unread [PBE-5969] UnreadLabel shouldn't appear when only deleted messages are unread Sep 10, 2024
@JcMinarro JcMinarro force-pushed the fix/unread-label-over-deleted-message branch from 00d8c11 to 43f4747 Compare September 10, 2024 11:06
@aleksandar-apostolov aleksandar-apostolov merged commit da335f8 into develop Sep 10, 2024
7 checks passed
@aleksandar-apostolov aleksandar-apostolov deleted the fix/unread-label-over-deleted-message branch September 10, 2024 11:33
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