-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix: distance request sharing #54669
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: 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 |
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.
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.
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
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