Fix: deleted messages are shown until revisit page#38609
Conversation
|
lgtm |
|
@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/VideosAndroid: NativeScreen.Recording.2024-03-23.at.5.53.32.PM.movAndroid: mWeb ChromeScreen.Recording.2024-03-23.at.5.51.22.PM.moviOS: NativeScreen.Recording.2024-03-23.at.5.55.57.PM.moviOS: mWeb SafariScreen.Recording.2024-03-23.at.5.54.47.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-23.at.5.45.53.PM.movMacOS: DesktopScreen.Recording.2024-03-23.at.5.48.27.PM.mov |
|
Hi @OlimpiaZurek, can you please add the test steps? |
|
@allroundexperts added test steps. |
allroundexperts
left a comment
There was a problem hiding this comment.
Works good. Thanks!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Would love to see some unit tests added to cover |
|
also, it's worth noting that this causes the |
|
@roryabraham Given the PR you're working on, is your comment about adding unit tests still valid? |
|
I consolidated logic a bit and added some tests for the base logic but if you want to:
I'd happily review that PR |
|
@roryabraham I'd love to work on it. Is there a separate issue for this? |
|
Hey @roryabraham I've been busy with other things lately and haven't had time to work on this one. Can you create follow up issue so we don't miss it? |
|
thanks, I'll actually be handling these follow-up as part of #40059 |
Details
This PR fixes the issue: deleted messages are shown until revisit page
Fixed Issues
$ #36351
PROPOSAL: #36351 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
recording.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop