-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Bump Onyx to 1.0.100 #28894
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 to 1.0.100 #28894
Conversation
|
@AndrewGable 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] |
|
Using the latest version of Onyx means, that any (nested) value retrieved from Onyx in the app will from now on be We might need to do a broader investigation, if this change might affect some parts of the app, especially when we compare Onyx values like I checked the whole app for |
|
@chrispader Are we holding merging this on that investigation? Or how did you want to proceed here? |
|
Also I think we can limit it to the usage of |
|
@chrispader please test on all platforms and share videos and/or images after the PR checklist |
Yes, i started doing a more in-depth investigation. I'll let you know when i'm done 👍 |
|
Everything seems to work on all platforms 👍 Included screenshots for all platforms and recordings for desktop and android. cc @marcaaron |
|
should we include version |
|
Doesn't look like it would include anything useful, but you can if you want I guess. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-10-10.at.4.47.25.PM.movMobile Web - ChromeScreen.Recording.2023-10-10.at.4.53.10.PM.movMobile Web - SafariScreen.Recording.2023-10-10.at.4.51.48.PM.movDesktopScreen.Recording.2023-10-10.at.4.50.19.PM.moviOSScreen.Recording.2023-10-10.at.4.52.32.PM.movAndroidScreen.Recording.2023-10-10.at.4.54.02.PM.mov |
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.
Testing well!
|
🎯 @allroundexperts, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #29174. |
This is fine. I've got a PR that I need to bump it to the latest version anyway. |
|
Thanks @allroundexperts Lets get this one merged in this deploy 🙏 @marcaaron @AndrewGable |
| key: ONYXKEYS.MODAL, | ||
| callback: (modalArg) => { | ||
| if (_.isNull(modalArg)) { | ||
| if (_.isNull(modalArg) || _.isUndefined(modalArg)) { |
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.
Maybe it would be better to check if modalArg is not what we are looking for instead of checking if it's something we are not looking for (null, undefined, 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.
did you mean it like this?
Maybe it would be better to check if modalArg is what we are looking for instead of checking if it's something we are not looking for (null, undefined, etc).
If so, what would it be that we're looking for. I think it's better to just early-return in case of nullish values.
If not, what do you mean by that?
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.
I meant something like - is it supposed to be a string? If so, then neither null or undefined are String
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.
Ok, got it! Thanks!
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.
In this case, ONYXKEYS.MODAL is an object, so we'll still have to check for null, because null is treated as type object
|
✋ 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/marcaaron in version: 1.3.85-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.85-4 🚀
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.86-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.86-5 🚀
|
@tgolen @marcaaron @blazejkustra
Details
Bump Onyx version to include changes from this PR
Fixed Issues
Related to Expensify/react-native-onyx#353
Tests
Offline tests
QA Steps
No QA.
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
Screen.Recording.2023-10-09.at.09.54.28.mov
iOS
Android
android.webm