-
Notifications
You must be signed in to change notification settings - Fork 4k
feat: make distance request creation choose date-aware mileage rates #92578
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
Merged
rlinoz
merged 15 commits into
Expensify:main
from
Krishna2323:krishna/89834-date-aware-mileage-rate-selection
Jun 9, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
7dbb42f
feat: make distance request creation choose date-aware mileage rates
Krishna2323 8c3ee06
recalculate distance rate when expense date changes during creation
Krishna2323 77c79be
accept null in MileageRate dates and restore fallback comment
Krishna2323 9d119ce
restore comment.
Krishna2323 97815c7
fix: treat omitted enabled as active in date-aware rate selection
Krishna2323 ce725bc
Merge branch 'Expensify:main' into krishna/89834-date-aware-mileage-r…
Krishna2323 238829f
defer getMileageRates call to only when expenseDate is provided
Krishna2323 d092618
Fix: use policyForMovingExpenses for track expense date-aware rate se…
Krishna2323 08c59f3
Add 3-tier boundedness to rate tie-breaking: fully bounded > partiall…
Krishna2323 3e3e9d4
Skip rate recalculation for P2P distance requests on date change
Krishna2323 0f6cae1
Merge branch 'Expensify:main' into krishna/89834-date-aware-mileage-r…
Krishna2323 6852a2c
Merge branch 'Expensify:main' into krishna/89834-date-aware-mileage-r…
Krishna2323 ea9ff94
Address review feedback on date-aware getCustomUnitRateID
Krishna2323 898079c
update comment.
Krishna2323 4caf62f
Fix ESLint errors in DistanceRequestUtils and tests
Krishna2323 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.