-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix/optimistic data for manager mctest scans #58902
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/optimistic data for manager mctest scans #58902
Conversation
…to fix/optimistic-data-for-manager-mctest-scans
…to fix/optimistic-data-for-manager-mctest-scans
…to fix/optimistic-data-for-manager-mctest-scans
@DylanDylann 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] |
The change looks fine |
@kubabutkiewicz when creating the test scan request offline we display the wrong last actor on LHN ![]() In this case, It should be "You" or "Dylan" like when we go back to online Screen.Recording.2025-03-27.at.15.18.23.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-03-27.at.15.34.49.movAndroid: mWeb ChromeScreen.Recording.2025-03-27.at.15.29.28.moviOS: NativeScreen.Recording.2025-03-27.at.15.33.38.moviOS: mWeb SafariScreen.Recording.2025-03-27.at.15.27.43.movMacOS: Chrome / SafariScreen.Recording.2025-03-27.at.15.18.23.movMacOS: DesktopScreen.Recording.2025-03-27.at.15.32.59.mov |
On the manual request, I also noticed a problem related to the last actor on LHN When offline: It displays "Manager MCTest: Manger: paid ...." IMO, on both situations, it should display: "Manager MCTest: paid ...." Screen.Recording.2025-03-27.at.15.37.15.movcc @kubabutkiewicz Also pleas help to verify again with Distance request if we apply the above fix |
…to fix/optimistic-data-for-manager-mctest-scans
…to fix/optimistic-data-for-manager-mctest-scans
@DylanDylann Pushed fix for that, also added one more fix for doubled message after going back to online |
Lets ask @grgia because if thats true we should also adjust response from the backend |
Yes, I agree. Let's have both use cc @aldo-expensify as you worked on the BE response here |
So now, we will wait for the BE update before moving forward here |
Is this the backend change you are waiting on? the message of the paid reportAction? Update: yes, here it is more clear #58902 (comment) :) |
Are you sure this is not an optimistic data issue? I logged out and in to take those screenshot, making sure there was no optimistic data anymore |
@aldo-expensify We were talking about situation when user enter into report preview, so like on your first screenshot but we don't see LHN there 🤔 |
@kubabutkiewicz Could you please merge the latest main? We have a new UI update that makes this bug unable to be reproduced anymore |
…to fix/optimistic-data-for-manager-mctest-scans
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.
Thank you for this!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
The LHN looks fine in that case too: ![]() |
Are applause.expensifail.com domain is beta enabled? |
🚀 Deployed to staging by https://github.com/grgia in version: 9.1.23-1 🚀
|
@kavimuru yes, beta is enabled for all accounts now |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.23-7 🚀
|
Explanation of Change
Fixed Issues
$ #58644
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop