Repository navigation
Add Spend navigation suggestions to Search Router #96443
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
carlosmiceli
merged 17 commits into
Expensify:main
from
nabi-ebrahimi:92752-search-router-spend-navigation
Jul 27, 2026
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cd8b383
Add Spend navigation suggestions to Search Router
nabi-ebrahimi 60bb4a5
Document Spend navigation context props
nabi-ebrahimi 8dbcb26
Reuse canned Spend search navigation
nabi-ebrahimi 4ab0b8f
Clarify Search Router approval watching
nabi-ebrahimi 9f96244
Test Spend navigation hook composition
nabi-ebrahimi a2c6c6a
Fix Spend navigation lint issues
nabi-ebrahimi 554dd2d
Merge branch 'main' into 92752-search-router-spend-navigation
nabi-ebrahimi e7c07c8
Merge branch 'main' into 92752-search-router-spend-navigation
nabi-ebrahimi 9af9639
Test Search Router approval watch state
nabi-ebrahimi 70ddc58
Clarify Spend suggestion label component name
nabi-ebrahimi 50b32b7
Document saved search navigation exclusion
nabi-ebrahimi 10bc5e3
Reuse shared icon label for Spend suggestions
nabi-ebrahimi 418ace8
Centralize Spend menu icon names
nabi-ebrahimi bcd1eca
Normalize whitespace in navigation queries
nabi-ebrahimi eec9556
Merge branch 'main' into 92752-search-router-spend-navigation
nabi-ebrahimi 9a0104b
Merge branch 'main' into 92752-search-router-spend-navigation
nabi-ebrahimi 5c03756
Merge branch 'main' into 92752-search-router-spend-navigation
nabi-ebrahimi 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import ROUTES from '@src/ROUTES'; | ||
|
|
||
| import {setSearchContext} from './actions/Search'; | ||
| import Navigation from './Navigation/Navigation'; | ||
|
|
||
| function navigateToCannedSpendSearch(searchQuery: string, clearSelectedTransactions: () => void) { | ||
| clearSelectedTransactions(); | ||
| setSearchContext(false); | ||
| Navigation.navigate(ROUTES.SEARCH_ROOT.getRoute({query: searchQuery})); | ||
| } | ||
|
|
||
| export default navigateToCannedSpendSearch; |
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.