fix: distance request sharing#54669
Conversation
3f63e4c to
ce923a5
Compare
|
@neil-marcellini the #53995 is still reproducible. From what I see – it looks like a BE issue. It happens only when sharing with a workspace created automatically if you click "Share with accountant" while not having any workspaces created. Could you please check on the BE side? Screen.Recording.2024-12-30.at.22.39.45.mov |
|
@neil-marcellini bump on #54669 (comment) |
# Conflicts: # src/languages/en.ts # src/languages/es.ts # src/pages/iou/request/step/IOURequestStepParticipants.tsx
|
@neil-marcellini bump on #54669 (comment) |
|
@paultsimura I'm not able to reproduce this problem with this branch checked out locally. I think it has been fixed. |
# Conflicts: # src/libs/actions/IOU.ts # src/pages/iou/request/step/IOURequestStepParticipants.tsx
|
@Pujan92 please test this one carefully because the flow is quite diverse, and there were some regressions last time. |
|
@Pujan92 bump for review. |
# Conflicts: # src/components/MoneyRequestConfirmationListFooter.tsx
|
I will review this tomorrow |
|
@Pujan92 what's the review status? Every day I have to fix new conflicts... |
# Conflicts: # src/libs/API/parameters/ShareTrackedExpenseParams.ts # src/libs/actions/IOU.ts # src/pages/iou/request/step/IOURequestStepParticipants.tsx
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2025-01-23.at.22.31.07.mp4Screen.Recording.2025-01-23.at.22.24.47.movScreen.Recording.2025-01-23.at.22.45.06.movScreen.Recording.2025-01-23.at.22.36.12.movMacOS: Desktop |
neil-marcellini
left a comment
There was a problem hiding this comment.
Great work on round #2. It looks like we verified it's not causing any of the blockers that occurred before so that's great, thanks for the testing.
I want to make some of the comments more clear before we merge this, because the code can be pretty confusing without them IMO.
neil-marcellini
left a comment
There was a problem hiding this comment.
Looks great now, thanks for the updates!
|
✋ 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/neil-marcellini in version: 9.0.90-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.90-6 🚀
|
| function getForExpenseMovedFromSelfDM(destinationReportID: string) { | ||
| const destinationReport = allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${destinationReportID}`]; | ||
| const rootParentReport = getRootParentReport(destinationReport); | ||
|
|
There was a problem hiding this comment.
We've ended up adding another message for the case when the destination chat in Self DM: #56202
Explanation of Change
This PR is intended to fix several issues with the tracked distance expenses shared with accountants.
Fixed Issues
$ #46897
PROPOSAL: #46897 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Violation flow
Auto-select rate flow
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
Android: mWeb Chrome
chrome.webm
iOS: Native
2025-01-16.-.20.05.-.Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-01-16.at.20.04.17.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-01-16.at.19.50.26.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-01-16.at.19.42.48.mov
MacOS: Desktop
Screen.Recording.2025-01-16.at.19.54.44.mov