-
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
[CP Staging] [NoQA] Bump the onyx version to loosen mergeCollection #22782
Conversation
@Santhosh-Sellavel 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] |
Reviewing it now |
Same here! Btw, we can also manually store that mal-formated data by going to the console and running Onyx.merge('queuedOnyxUpdates', [
{
"onyxMethod": "mergecollection",
"key": "transactions_1282450064524658",
"value": {
"2463815779269125254": {
"amount": 3000,
"comment": { "comment": "" },
"created": "2023-06-28 16:28:44",
"currency": "USD",
"modifiedAmount": 0,
"modifiedCreated": "",
"modifiedCurrency": "",
"transactionID": "2463815779269125254"
},
}
}
]); |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-13.at.7.56.07.PM.movDesktopScreen.Recording.2023-07-13.at.7.57.16.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.
@mountiny Old transaction details are not loading. Screen.Recording.2023-07-13.at.7.54.11.PM.mov |
Is this happening on main as well? I dont think this should be related |
Okay, Cool then. I played around with the app and didn't see the error mentioned. |
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, tests well!
@thienlnam 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] |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[NoQA] Bump the onyx version to loosen mergeCollection (cherry picked from commit 3c35be1)
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.40-3 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.40-5 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.42-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
Details
Follow up to Expensify/react-native-onyx#272, when mergeCollection keys in the onyx updates queue are malformed, it will block the entire queue, this change will discard such malformed update and allows the app to work normally after that.
cc @luacmartins @PauloGasparSv
Fixed Issues
$ #22853
Related to https://expensify.slack.com/archives/C049HHMV9SM/p1689120594593919
Tests
Offline tests
N/A
QA Steps
N/A
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
Including web screenshots only as thats the main platform we can test the console errors
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android