-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[NoQA] chore: bump onyx to version 2.0.52 #44065
[NoQA] chore: bump onyx to version 2.0.52 #44065
Conversation
@youssef-lr Please 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] |
Two main highlights of this bump are AFAIK: |
Update: Did some regular testing with Submit expense , workspace creation, etc works fine on desktop and web, testing on native platforms now 🟢 🔂 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc)Android: mWeb ChromeN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc)iOS: NativeN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc)iOS: mWeb SafariN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc)MacOS: Chrome / SafariN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc)MacOS: DesktopN/A (This was a Onyx Bump so did testing with Submit Expense, onboarding flow, Workspace Creation, etc) |
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.
Thanks for putting this together
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!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Which issue should i get assigned @mountiny for this PR ? |
assigned you |
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.1-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.1-19 🚀
|
Details
Bumps Onyx to version 2.0.52
For the fixed issues, we can see the performance gains below. To summarise, In the before video, we can see that we have
useOnyx
calls ~40 times and each time it takes around ~75ms. In after video, we only have 2-3 calls touseOnyx
and now they take way less execution time. It may be possible that in after, theuseOnyx
calls are more than several but due to their less execution time they are not recorded or displayed. More info hereBefore
before.mov
After
after.mov
Fixed Issues
$ #41895
$ #42421
PROPOSAL:
Tests
There are no specific tests; the changes in Onyx should not lead to any logic changes, only performance improvements. This is for general regression testing.
Offline tests
N/A
QA Steps
General regression testing
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.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov