-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Update IOU action when moving reports #61221
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
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
@eVoloshchak 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] |
@luacmartins I’ve noticed a few issues:
Screen.Recording.2025-05-02.at.5.35.21.PM.mov |
Nice catch @rayane-d. I can also reproduce that on main, so I don't think that's a blocker for this PR. That also seems to be the case on the 1st report, if I select the 2nd report the shown/selected report in the RHP is the correct one. I'll work on a fix for this issue in a separate PR. |
cc @waterim in case you have any thoughts on this comment. I think the issue is that we have this logic, but we should always allow users to change the report if the report is in Open or Submitted state, regardless of policy setting. |
@rayane-d let's continue reviewing this PR. I have another PR to fix this issue - #61465 |
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.
There are some failing checks
@rayane-d fixed! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-05-15.at.3.23.04.AM.movAndroid: mWeb ChromeScreen.Recording.2025-05-15.at.1.38.41.AM.moviOS: HybridAppScreen.Recording.2025-05-15.at.1.29.06.AM.moviOS: mWeb SafariScreen.Recording.2025-05-15.at.1.21.28.AM.movMacOS: Chrome / SafariScreen.Recording.2025-05-15.at.1.13.08.AM.movMacOS: DesktopUntitled.2.mov |
@ishpaul777 looks like the PR Reviewer Checklist check is failing because the checklist is duplicated? @rayane-d will you be reviewing as well? |
oops! i fixed it 😝, i think 1 c+ review is enough, Rayane might be away so @luacmartins asked for new c+ on slack |
Fixed the failing check. We can proceed with @ishpaul777's review only |
✋ 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 production by https://github.com/mountiny in version: 9.1.46-12 🚀
|
Explanation of Change
We weren't correctly updating the IOU action when moving reports so it left a "ghost" message behind. This PR fixes that by following the same logic we have here
Fixed Issues
$ #60251
Tests
Offline tests
N/A
QA Steps
Same as test
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
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
Screen.Recording.2025-05-01.at.4.41.47.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop