-
Notifications
You must be signed in to change notification settings - Fork 3k
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: incorrect lhn report name when partially pay held report #50762
Conversation
@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] |
@hoangzinh Found a problem with LHN last message text, will ping you once I resolve it. |
@hoangzinh Take a look at the IOU report's last message text in LHN, it's not correct: To get the last report action, we need to find the App/src/libs/OptionsListUtils.ts Line 313 in e35c4a9
The problem here is at the time create a new IOU report, App/src/libs/ReportActionsUtils.ts Lines 1028 to 1030 in e35c4a9
This bug also happens on the latest main when we do the same in the WS chat so I think we can ignore this. Or do you think we should fix it here too? |
Hi @mkzie2 What do you mean saying "but after refreshing the page"? Is it refresh page (Cmd + R) or revisit by direct link? |
cc @mkzie2 on this PR |
@hoangzinh it's |
I see. Agree, we can leave it as it is. Btw, can you help to merge latest main branch into this PR? |
@hoangzinh Done. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-01.at.05.35.20.android.movAndroid: mWeb ChromeScreen.Recording.2024-11-01.at.05.32.43.android.chrome.moviOS: NativeScreen.Recording.2024-11-01.at.05.39.58.ios.moviOS: mWeb SafariScreen.Recording.2024-11-01.at.05.42.15.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-10-31.at.23.05.32.web.movMacOS: DesktopScreen.Recording.2024-10-31.at.23.11.02.desktop.mov |
@mkzie2 can you also add recordings for other platforms? |
@hoangzinh Updated. |
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
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.
awesome, 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. |
🚀 Deployed to staging by https://github.com/robertjchen in version: 9.0.58-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
Details
Fixed Issues
$ #49274
PROPOSAL: #49274 (comment)
Tests
Offline tests
See Tests
QA Steps
See Tests
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
Screen.Recording.2024-11-04.at.19.07.07-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-11-04.at.19.04.32-compressed.mov
iOS: Native
Screen.Recording.2024-11-04.at.18.52.15-compressed.mov
iOS: mWeb Safari
Screen.Recording.2024-11-04.at.18.54.08-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-15.at.10.56.09-compressed.mov
MacOS: Desktop
Screen.Recording.2024-11-04.at.18.57.39-compressed.mov