-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat: enable bridgeless #48160
base: main
Are you sure you want to change the base?
feat: enable bridgeless #48160
Conversation
This comment has been minimized.
This comment has been minimized.
@fedirjh @roryabraham One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
So let's do this before we merge this PR, rather than creating a patch that has to be cleaned up after |
Created #50253 |
Can you link to an upstream issue plz? 🙇🏼 |
Done. |
@WoLewicki On iOS native, I cannot change the profile avatar or select an attachment in composer CleanShot.2024-10-07.at.15.12.39.mp4CleanShot.2024-10-07.at.14.56.32.mp4When creating a distance request, the composer is shinking : CleanShot.2024-10-07.at.15.09.10.mp4I got the warning several times when I created a new expenses |
@WoLewicki On android, when sending a new message, the app crashes with this error: |
Seems like the event system on bridgeless mode on Android is far more strict regarding the event names. I'll fix those issues one by one, thanks @fedirjh ! |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
hey @WoLewicki will you open PR for all patches in the repositories upstream? I could help with the vision camera patch if you'd like to! |
@WoLewicki @hannojg yeah we should definitely try to follow up with those so we can keep track of all of the patches |
Yeah, sure I'll do. Thanks @hannojg , will ping you with any problems 😅 Also, is there a reason why you didn't modify all the needed places for |
Is it missing in some of the view components javascript spec? i might have skipped doing that, due to the behaviour of w/o bridgeless reading it from the view manager. If so, feel free to add it everywhere necessary, yes! |
Ok, I did extend your patch already, thanks for clarification! |
@hannojg here is the PR to |
Nw, i will test the PR (probably going to merge it and then add anything else necessary to make new arch work, so nw, i am gonna take it from there 😊 👍 ) |
@WoLewicki how is this looking, should I create a new build and should Fedi do another round of testing or should we wait for a bit? |
Let's do another build @mountiny, it should be ready for testing. |
New build running here |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@WoLewicki It tests well on iOS and Android 🚀 . Only still getting this warning on iOS : |
@fedirjh hmm I don't know where it can come from. But at the same time it does not change anything in how the app is working yes? |
Yes the app is still working as expected. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-10-14.at.10.55.19-trimmed.mp4iOS: NativeCleanShot.2024-10-14.at.11.24.01.mp4iOS: mWeb SafariCleanShot.2024-10-14.at.11.34.34.mp4 |
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.
LGTM
@WoLewicki Are there some performance benefits we could already measure and expect from this PR? |
I tried to look at the output of |
@mountiny we could run the e2e tests, that gives us many interesting numbers (TTIs, FPS, Memory, CPU etc) |
I wouldn't expect enormous gains, but some at least due to Static View Configs. |
Details
PR enabling bridgeless mode in the App. This PR can affects the App as a whole, so should require full regression testing.
PRs for introduced patches:
react-native-modal
is not maintained from what I know and there are plans for providing our own, faster implementation of the library.Fixed Issues
$ #48163
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop