-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Manual distance] Create the distance creation tabs v2 #69372
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
|
@allroundexperts 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] |
|
And the crash issue that happened previously #69278 is not related to this PR |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppUnable to build android Android: mWeb ChromeScreen.Recording.2025-08-28.at.5.32.59.AM.moviOS: HybridAppScreen.Recording.2025-08-28.at.5.21.30.AM.moviOS: mWeb SafariScreen.Recording.2025-08-28.at.5.16.27.AM.movMacOS: Chrome / SafariScreen.Recording.2025-08-28.at.4.22.56.AM.movScreen.Recording.2025-08-28.at.4.24.29.AM.movScreen.Recording.2025-08-28.at.4.25.32.AM.movScreen.Recording.2025-08-28.at.4.26.15.AM.movScreen.Recording.2025-08-28.at.4.30.23.AM.movMacOS: DesktopScreen.Recording.2025-08-28.at.4.56.07.AM.movScreen.Recording.2025-08-28.at.4.57.01.AM.mov |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
This bug #69372 (comment) is expected for now because the edit distance page will be implemented later in #64368 |
|
This bug #69372 (comment) is expected as per design doc but we can disable it temporarily until #64369 gets done. Wdyt? |
Let's leave it as it is and address it in #64369 |
allroundexperts
left a comment
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.
neil-marcellini
left a comment
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 and very thoroughly tested. 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/neil-marcellini in version: 9.2.1-0 🚀
|
|
Hello @neil-marcellini This PR should be internal QA, as this #68402 (comment)? Thank you |
|
Same thing here. Please QA this when you get the chance @neil-marcellini |
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.1-20 🚀
|
| const isCreatingNewRequest = !(backTo || isEditing); | ||
|
|
||
| const customUnitRateID = getRateID(transaction); | ||
| const unit = DistanceRequestUtils.getRate({transaction, policy}).unit; |
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.
Explanation of Change
Fixed Issues
$ #64849
PROPOSAL:
Tests
Precondtion:
manualDistancebeta is enabledkmormi, it'smiby default if workspace has not configured distance rates feature)$0.7 / mileby default and it's read onlyPrecondition:
manualDistancebeta is NOT enabledPrecondition:
manualDistancebeta is enabledOffline tests
None
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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
iOS: Native
Screen.Recording.2025-08-15.at.02.42.54.mov
Normal distance expense:
Screen.Recording.2025-08-28.at.00.32.55-compressed.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Receipt is editable for manual distance and manual amount expenses:
Normal distance requests:
Screen.Recording.2025-08-28.at.00.08.21-compressed.mov
Split normal distance requests:
Screen.Recording.2025-08-28.at.00.10.57-compressed.mov
Map & Manual distance expense in self DM:
Screen.Recording.2025-08-28.at.00.04.46-compressed.mov
Map & Manual distance expense in IOU:
Screen.Recording.2025-08-28.at.00.15.33-compressed.mov
Screen.Recording.2025-08-28.at.00.16.34-compressed.mov
Workspace:
Screen.Recording.2025-08-28.at.00.27.06-compressed.mov
Screen.Recording.2025-08-28.at.00.31.12-compressed.mov
Move track expenses to workspace:
Screen.Recording.2025-08-28.at.00.18.15-compressed.mov
Categorize, Submit to someone, Share with accountant track expense:
Screen.Recording.2025-08-28.at.00.20.02-compressed.mov
MacOS: Desktop