-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Redesign search to always show search input(mobile + desktop). #55078
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
luacmartins
merged 25 commits into
Expensify:main
from
software-mansion-labs:@szymczak/add-search-input-to-mobile-search-page
Jan 29, 2025
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7fb0964
make SearchRouterInput appear on SearchPage all the time
SzymczakJ a9add33
put search input on mobile Search Page
SzymczakJ 1a75e7a
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ dc905d6
fix merge bugs
SzymczakJ ced6f85
clean up SearchPage feature
SzymczakJ 88e7540
delete SelectionModeHeader
SzymczakJ 4fc0038
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ 76170aa
fix focus bug
SzymczakJ 2fb9169
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ a0bde74
fix focus bug
SzymczakJ 1ea000a
fix PR comments
SzymczakJ e2b7baf
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ 771e214
fix animation performance
SzymczakJ 117d691
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ ecb7cf7
rename SearchHeaderHeight
SzymczakJ e9867ad
add reanimated fix patch
SzymczakJ 5259ae9
fix patch
SzymczakJ 3168a25
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ ac3ff0f
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ 3d94660
make SearchPAgeHeaderinput only hide input value on default query
SzymczakJ 4f4c809
fix eslint
SzymczakJ 2cd6648
fix PR bugs
SzymczakJ 96e463c
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ af6bb27
Merge branch 'main' into @szymczak/add-search-input-to-mobile-search-…
SzymczakJ 6c656b6
fix tooltip bug
SzymczakJ 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
20 changes: 20 additions & 0 deletions
20
patches/react-native-reanimated+3.16.4+004+fix-transform-animation-gitter.patch
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,20 @@ | ||
diff --git a/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp b/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp | ||
index 673ebd1..08d65fe 100644 | ||
--- a/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp | ||
+++ b/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp | ||
@@ -710,6 +710,15 @@ void NativeReanimatedModule::performOperations() { | ||
jsPropsUpdater.call(rt, viewTag, nonAnimatableProps); | ||
} | ||
|
||
+ if (propsRegistry_->shouldReanimatedSkipCommit()) { | ||
+ // It may happen that `performOperations` is called on the UI thread | ||
+ // while React Native tries to commit a new tree on the JS thread. | ||
+ // In this case, we should skip the commit here and let React Native do | ||
+ // it. The commit will include the current values from PropsRegistry which | ||
+ // will be applied in ReanimatedCommitHook. | ||
+ return; | ||
+ } | ||
+ | ||
bool hasLayoutUpdates = false; | ||
for (const auto &[shadowNode, props] : copiedOperationsQueue) { | ||
if (isThereAnyLayoutProp(rt, props->asObject(rt))) { |
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.
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.
What's the plan for this patch? Are we gonna fix this in the upstream repo as well?
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.
This is the fix that we found with reanimated team, they said they are going to fix it. I'll link the reanimated issue here.