-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: restore report lastMessageText after resolve whisper msg #44764
fix: restore report lastMessageText after resolve whisper msg #44764
Conversation
Signed-off-by: dominictb <tb-dominic@outlook.com>
@ishpaul777 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] |
Pls review first. I'll upload the evidence of other device later! |
this looks good, but does this include fixes for all actionable whisper, it appears that it only fixes mention whispers 🤔 |
@ishpaul777 I'll need to check and get back to you later. |
@ishpaul777 I'll add the same logic to https://github.com/Expensify/App/pull/44764/files#diff-ce6bb391d0654bf99a360da7d25fd73b85bb120211c8b4c2432ef7c7d8c708f3L3575 as well. That should be enough right? |
I think, yeah that would be enough 👍 |
Signed-off-by: dominictb <tb-dominic@outlook.com>
@ishpaul777 updated! compressed_web.mov.mp4 |
We have conflicts @dominictb |
@ishpaul777 updated! |
@dominictb I have tested and it works great for room and mention whispers, but can we also include fix track expense whispers in PR, i believe it should it be straightforward, but let me know if you think otherwise ? Screen.Recording.2024-07-12.at.1.06.28.AM.mov |
Signed-off-by: dominictb <tb-dominic@outlook.com>
Signed-off-by: dominictb <tb-dominic@outlook.com>
@ishpaul777 we don't need to cover for self-dm track expense whisper message in this PR as my other PR #44684 has already got it covered. Thanks! |
Signed-off-by: dominictb <tb-dominic@outlook.com>
@ishpaul777 main is merged! This should contain the fix for the self-DM track expense whisper message as well. Thanks! |
@dominictb Please fix conflict, i'll complete this today |
@ishpaul777 done! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-07-18-00-03-52.mp4Android: mWeb ChromeRecord_2024-07-17-23-54-34.mp4iOS: NativeScreen.Recording.2024-07-17.at.11.46.33.PM.movScreen.Recording.2024-07-17.at.11.44.26.PM.moviOS: mWeb SafariScreen.Recording.2024-07-17.at.11.37.40.PM.movMacOS: Chrome / SafariScreen.Recording.2024-07-18.at.12.45.25.AM.movMacOS: DesktopScreen.Recording.2024-07-18.at.12.23.26.AM.mov |
It appears the whisper message reappears after couple minutes for mention whispers, i think this is also backend related @dominictb Can you please confirm? |
@ishpaul777 yep, it's backend. I did also mention this in my proposal. |
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.
LGTM!
Side note: we still need BE changes to make this work properly currently this can be tested in offline behaviour
Just to clarify, this always gets overwritten. Not only when logging out and back in? |
yes |
Okay. So even with us being unable to resolve the backend issue anytime soon this is an improvement. I think we should merge then keep the issue open and mark as internal. @strepanier03 does it sound okay to you? Hopefully we can find someone to make the backend fix, but I think it is unlikely to happen anytime soon. |
@ishpaul777 @Julesssss this will happen whenever we call the OpenReport API again, e.g: Navigate away and back to the report screen,... |
@strepanier03 gentle bump on #44764 (comment) |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@dominictb we have conflicts |
@ishpaul777 resolved |
@Julesssss are we good to merge this? |
Yeah, thanks for reminder |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Note for QA: This can be tested in offline mode only for now. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.0.15-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀
|
Details
Fixed Issues
$ #43737
PROPOSAL: #43737 (comment)
Tests
Verify that: System message "Heads up, room-1 doesn't exist yet. Do you want to create it ?" should be dismissed
Offline tests
QA Steps
Verify that: System message "Heads up, room-1 doesn't exist yet. Do you want to create it ?" should be dismissed
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
compressed_web.mov.mp4
MacOS: Desktop