-
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
Sort Distance Rates on IOURequestsStepDistanceRate.tsx #50721
Sort Distance Rates on IOURequestsStepDistanceRate.tsx #50721
Conversation
We have an additional concern here, Names produced for Distance rates are not up to the mark,
From birds eye view - this function here needs improvement. App/src/libs/PolicyDistanceRatesUtils.ts Lines 42 to 45 in 1535588
Which causes visual inconsistency, see What should be our next step here? ps. Will complete my checklist after processing the decision we take here. |
…tes-IOUStepDistanceRates#50304
@ChavdaSachin no, this is unrelated - the distance rates naming is planned to be user-customizable. |
Alright I will proceed with the checklist then... |
And about useOnyx migration? |
IMO we should have a separate PR for migration. |
@ChavdaSachin this is a policy that we should make the migrations within the same PR. |
@paultsimura 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] |
https://github.com/Expensify/App/pull/50142/files#diff-7b1d9dac2fdc5c08e5f62ae430056029ab25f103fa19bd77688286f188ec3507 |
That PR is under my review, and it might take quite long to get merged. Go on and copy the migration, please – there shouldn't be any conflicts. |
Done |
Reviewer Checklist
Screenshots/VideosAndroid: Native![Screenshot_1728932439](https://github.com/user-attachments/assets/2afe6772-c95f-4a3a-88e8-813e7a930853)Android: mWeb Chrome![Screenshot_1728932211](https://github.com/user-attachments/assets/8a3ef7ae-cc6d-46eb-9823-8e0e30997437)iOS: Native![Simulator Screenshot - iPhone 15 Pro - 2024-10-14 at 20 58 08](https://github.com/user-attachments/assets/56528d45-b90e-419f-b6b0-847ad5b10260)iOS: mWeb Safari![Simulator Screenshot - iPhone 15 Pro - 2024-10-14 at 20 49 14](https://github.com/user-attachments/assets/ae71130a-b82c-40ca-a20f-a9681d6d64b2) |
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 ✔️
✋ 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/madmax330 in version: 9.0.50-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.50-8 🚀
|
Details
Fixed Issues
$ #50304
PROPOSAL: #50304 (comment)
Tests
Same as QA tests
Offline tests
Same as QA tests.
QA Steps
Note: This is a beta feature, so enable canUseP2PDistanceRequests beta before proceeding.
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-10-14.at.6.31.16.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-10-14.at.6.34.09.PM.mov
iOS: Native
Screen.Recording.2024-10-14.at.6.31.16.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-10-14.at.6.34.09.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-14.at.6.27.29.PM.mov
MacOS: Desktop
Screen.Recording.2024-10-14.at.6.36.32.PM.mov