Fix: Welcome message flickers on LHN after message deletion#23341
Conversation
|
@allroundexperts 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] |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-23.at.12.35.33.AM.movMobile Web - ChromeScreen.Recording.2023-07-23.at.12.45.06.AM.movMobile Web - SafariScreen.Recording.2023-07-23.at.12.43.12.AM.movDesktopScreen.Recording.2023-07-23.at.12.41.32.AM.moviOSScreen.Recording.2023-07-23.at.12.43.39.AM.movAndroidScreen.Recording.2023-07-23.at.12.46.54.AM.mov |
allroundexperts
left a comment
There was a problem hiding this comment.
Looks good largely. Just a single change needed.
|
@allroundexperts The tests are failing, let me take a look. |
This reverts commit 9bd655d.
|
@allroundexperts Removing |
|
Also, as mentioned in the RCA:
|
|
✋ 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/stitesExpensify in version: 1.3.46-0 🚀
|
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.47-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.46-2 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀
|
Details
LHN last message flickers from room's welcome message to
No activity yetafter deleting a message. This PR fixes that.Fixed Issues
$ #22591
PROPOSAL: #22591 (comment)
Tests
No activity yetOffline tests
NA
QA Steps
No activity yetPR 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
Web
welcome-message-compressed.mov
Mobile Web - Chrome
video_2023-07-21_17-18-52.mp4
Mobile Web - Safari
welcome-message-ios-web-compressed.mov
Desktop
welcome-message-desktop-compressed.mov
iOS
welcome-message-ios-compressed.mov
Android
welcome-message-android-compressed.mov