Repository navigation
Allow $0 distance rates and $0 distance expenses, including splits #104756
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
Open
FitseTLT
wants to merge
35
commits into
Expensify:main
Choose a base branch
from
FitseTLT:allow-zero-distance-rate
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,604
−103
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
9a93822
Allow $0 workspace distance rates and treat a $0 rate as a real rate
NicolasBonet f0474e4
Support splitting $0 distance expenses by distance
NicolasBonet c2fa242
Pass the full rate form values in the validateRateValue tests
NicolasBonet c4b37e1
Make split amounts read-only for $0 distance expenses and explain why
NicolasBonet 23fc4a3
Merge branch 'main' into nicolas/allow-zero-distance-rate
NicolasBonet c3d79c6
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 6926c27
Remove the onInputBlur prop from the split input editability tests
NicolasBonet 0900651
Only use a $0 rate for $0 distance expenses when splitting, and offer…
NicolasBonet 274f787
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet d2ae35e
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 3a604b8
Restore GitHub Actions builds from main
NicolasBonet 03e7847
Merge branch 'main' into nicolas/allow-zero-distance-rate
NicolasBonet 847c75d
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 07f83b1
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 808fdfa
Split the zero-rate distance comment into plain sentences
NicolasBonet 2245eba
Recalculate positive-rate splits when making the splits of a $0 dista…
NicolasBonet 1f4ab34
Add the required transaction fields to the zero-total split test
NicolasBonet 0d65a29
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 3a222fe
Stub on-mount policy category/tag loaders in CategoryTagPickerAutoFoc…
NicolasBonet 3697787
Merge remote-tracking branch 'origin/main' into nicolas/allow-zero-di…
NicolasBonet 1b77e8a
Keep a split's distance when its odometer readings are saved unchanged
NicolasBonet 6df1c00
Make the amount of a split on a $0 rate read-only
NicolasBonet 743e1a9
Fix $0 distance rate split bugs found in review
NicolasBonet 2101809
Merge branch 'main' into nicolas/allow-zero-distance-rate
NicolasBonet a0bd406
Merge branch 'main' into nicolas/allow-zero-distance-rate
NicolasBonet bf8855f
Fix $0 distance split edge cases: rate changed from $0, Search eligib…
NicolasBonet e7ed2e2
Merge remote-tracking branch 'upstream/main' into allow-zero-distance…
FitseTLT 6194fac
Merge branch 'main' into allow-zero-distance-rate
FitseTLT 3aeafc2
minor fixes
FitseTLT bb069e9
fix zero distance error calculation
FitseTLT 87d6312
standardize tests
FitseTLT b7cb171
Merge branch 'main' into allow-zero-distance-rate
FitseTLT 7bd4cb5
minor fix
FitseTLT 8fcbc9c
Merge branch 'main' into allow-zero-distance-rate
FitseTLT 3facc38
revert
FitseTLT 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
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
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.