fix: Chat - Emoji reactions are not being displayed in order of who reacted first#29846
Conversation
Signed-off-by: Pavlo Tsimura <paultsimura@gmail.com>
Signed-off-by: Pavlo Tsimura <paultsimura@gmail.com>
Signed-off-by: Pavlo Tsimura <paultsimura@gmail.com>
|
@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
I'll test this PR soon. |
mollfpr
left a comment
There was a problem hiding this comment.
Looks good, left a minor comment.
| onPress, | ||
| onReactionListOpen, | ||
| pendingAction: emojiReaction.pendingAction, | ||
| oldestTimestamp: lodashGet(oldestTimestamp, 'oldestTimestamp'), |
There was a problem hiding this comment.
This value is returning undefined.
There was a problem hiding this comment.
You're right, it was missed during refactoring 🤦
Fixed now, thanks.
Reviewer Checklist
Screenshots/VideosWeb29846.Web.mp4Mobile Web - Chrome29846.mWeb-Chrome.mp4Mobile Web - Safari29846.mWeb-Safari.mp4Desktop29846.Desktop.mp4iOS29846.iOS.mp4Android29846.Android.mp4 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 1.3.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.88-11 🚀
|
Details
Implement ordering of emoji reaction in the order of users' reaction time.
Fixed Issues
$ #27961
PROPOSAL: #27961 (comment)
Tests
Same as QA.
Offline tests
NA, since other users' reactions are not populated offline.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop