-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Update Onyx to use a map for Onyx collection keys #27130
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
Conversation
|
Is this just full regression test? |
|
Tests are failing due a previously merged PR. devDependency is included in release code. This change indeed affects the internal working of Onyx, so a full regression test might be needed, however the main difference is on app start and transitions between pages. So if you assume correctness the only thing to measure should be app start. |
|
@ospfranco I just created a PR with a possible fix for this, let me know if it works for you |
|
After manually applying the changes on Expensify/react-native-onyx#335, tests are now passing
So that should be merged when possible |
|
@situchan this is ready for testing, there are no clear steps. I think you could just play around the app, try logging in and out with couple accounts and couple platforms |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
situchan
left a comment
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.
Tests well ![]()
Main scope of testing:
- logout, login different accounts
- offline<->online test with user preference update
- request money flow
Screen.Recording.2023-09-13.at.10.36.44.AM.mov
- Not from this PR but it would be good to remove all stale draft data from Onyx after logout
Screen.Recording.2023-09-13.at.11.02.11.AM.mov
mountiny
left a comment
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!
|
✋ 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/mountiny in version: 1.3.69-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.70-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|


Details
Update Onyx to the latest version after merging using a Map for collection keys. Merged PR.
Fixed Issues
$ #26087
PROPOSAL:
Tests
Nothing specific, full regression tests will be required
Offline tests
Nothing specific, full regression tests will be required
QA Steps
Nothing specific, full regression tests will be required
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android