-
Notifications
You must be signed in to change notification settings - Fork 291
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
feat: show read receipt in message header (WPB-6284) #16851
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #16851 +/- ##
=======================================
Coverage 45.97% 45.97%
=======================================
Files 748 748
Lines 24494 24496 +2
Branches 5592 5593 +1
=======================================
+ Hits 11262 11263 +1
Misses 11807 11807
- Partials 1425 1426 +1 |
bbdae3e
to
c1686d5
Compare
<ReadIndicator | ||
message={lastMessageInGroup} | ||
is1to1Conversation={conversation.is1to1()} | ||
isLastDeliveredMessage={isLastDeliveredMessage || lastMessageInGroup.status() === StatusType.DELIVERED} | ||
showIconOnly | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the message directly after the header, we pass the last message in the group to the read indicator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems solid 😎
Description
A non clickeable read receipt is added after the message header (username + timestamp)
It reflects the status of the last message in the group
Screenshots/Screencast (for UI changes)
1on1:
Group:
Checklist