-
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
Bump onyx #28299
Bump onyx #28299
Conversation
@abdulrahuman5196 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] |
@ospfranco This PR has merge conflicts? Could you resolve those? |
# Conflicts: # package-lock.json # package.json
Bumped onyx to the latest version |
Reviewing now |
There has been 5 PR changes in onyx getting into via this upgrade. 3 from @Szymon20000 Expensify/react-native-onyx#365 Expensify/react-native-onyx#363 Expensify/react-native-onyx#364 1 PR from @chrispader Expensify/react-native-onyx#339 1 PR from @ospfranco Expensify/react-native-onyx#369 This PR was targeted to bump onyx to fix this issue - #26190. |
Yes, you can ship the changes from my PR 👍🏼 |
Comments on authors checklist
|
My changes are also ready to land on main :) |
@@ -90,7 +90,7 @@ | |||
"react-native-linear-gradient": "^2.8.1", | |||
"react-native-localize": "^2.2.6", | |||
"react-native-modal": "^13.0.0", | |||
"react-native-onyx": "1.0.89", | |||
"react-native-onyx": "1.0.93", |
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.
@ospfranco version number here is wrong. Could you rectify this?
Here are the videos for iOS and Android. I don't think the flow is applicable to desktop. Screen_Recording_20230928_104640_Brave.mp4RPReplay_Final1695890446.MP4 |
@ospfranco thank you. kindly add the same in the author's checklist. I don't think we can test for desktop, but you can still test for mobile safari and chrome? But for desktop also we can just check if normal login is working fine |
The video I posted is iOS safari and chrome on Android. Or what do you mean? Didn't touch the login code, this is only synchronization between browser tabs. So that is working fine. |
@ospfranco Sorry My bad. Mistook the videos. Should be fine then. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-28.at.2.14.27.PM.mp4Screen.Recording.2023-09-28.at.2.15.12.PM.mp4Mobile Web - Chromeaz_recorder_20230928_150032.mp4Mobile Web - SafariScreen.Recording.2023-09-28.at.2.18.03.PM.mp4DesktopScreen.Recording.2023-09-28.at.2.41.17.PM.mp4iOSScreen.Recording.2023-09-28.at.2.35.31.PM.mp4AndroidScreen.Recording.2023-09-28.at.2.53.50.PM.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.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @luacmartins / @mountiny
🎀 👀 🎀
C+ Reviewed
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.75-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
Details
Bumps onyx to take care of the 2fa page not synchronizing across tabs, which was fixed with Propagate merge events across tabs react-native-onyx#369. Check attached video to see the fix in action. This needs to be QAd
Using a map for pending promises. A performance optimization.
Use a fast path when asking for a single key. Also a performance optimization.
Fixed Issues
$ #26190
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
CleanShot.2023-09-27.at.08.03.06.mp4
Mobile Web - Chrome
Screen_Recording_20230928_104640_Brave.mp4
Mobile Web - Safari
RPReplay_Final1695890446.MP4
Desktop
iOS
No applicable to the mobile app
Android
No applicable to the mobile app