-
Notifications
You must be signed in to change notification settings - Fork 3.2k
cleanup: split filtering & ordering in OptionsListUtils #53371
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
neil-marcellini
merged 28 commits into
Expensify:main
from
margelo:cleanup/split-filtering-ordering
Dec 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e68f0a8
wip, current problem:
hannojg 48d4fa1
split out filtering and ordering very cleanly so we can apply splicin…
hannojg 65c770e
fix sorting not working
hannojg 8bb573f
fix usage
hannojg 717d750
rename getOptions -> getValidOptions
hannojg 8ff8248
remove any todos
hannojg 0636ee7
Merge branch 'main' of github.com:Expensify/App into cleanup/split-fi…
hannojg 8bd35e3
add missing `userToInvite` back to filterOptions
hannojg 2e2448c
refactor: move userToInvite to its own function
hannojg e46e6ec
fix getOptions -> getValidOptions
hannojg 77e2224
clean: order functions
hannojg 08d1187
cleanup configs
hannojg a75bf95
fix ordering
hannojg 2eaeaf4
fix ordering when `maxRecentReportsToShow` option is set (added test …
hannojg 8c98f84
remove maxRecentOptionsToShow
hannojg 9e37f36
add test to verify behaviour of maxRecentReportsToShow: 0
hannojg 1e7a3b4
simplify into one var
hannojg e26cccb
fix ordering
hannojg 5373208
fix ordering logic
hannojg c60f18d
fix broken screens
hannojg ec8df5e
remove slightly redundant code
hannojg 59b5f3f
Merge branch 'main' of github.com:Expensify/App into cleanup/split-fi…
hannojg e369474
use `filterAndOrderOptions`
hannojg 3285c33
potentially fix search
hannojg dfa6fd6
maxRecentReportsToShow: 0 should return zero reports
hannojg b174805
Merge branch 'main' of github.com:Expensify/App into cleanup/split-fi…
hannojg ee50f31
fix ordering by making it two separate order function calls as before
hannojg 25a1352
call orderOptions
hannojg 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
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.