fix chat section not updating#637
Conversation
Julesssss
left a comment
There was a problem hiding this comment.
LGTM. But assigning @youssef-lr as it's related to this
|
@huult You have not implemented unit tests here as specified in your proposal. You'll need to update your PR with unit tests. cc @youssef-lr |
|
@akinwale sure |
|
I know there's nothing that can be changed. But he used my solution. That's quite funny. Expensify/App#61584 (comment) |
Here is my comment to ask C+ what I should do, since I was hired by the internal team (@youssef-lr ). @dmkt9 Please respect that I didn't use your solution. I was investigating while making the PR and found a more suitable approach. I will ask C+ to understand the next steps—whether a change proposal is needed or what happened. I THINK YOU SHOULD RESPECT OTHERS BEFORE SAYING SOMETHING LIKE THIS. IT'S NOT FUNNY. I asked C+ whether they decided to change the solution or what I should do. I'm waiting for their response, and if there are any changes, they will post them so we are informed. One more thing—I think before you say anything, you should consider and please respect others. Thanks! |
|
@huult You can say whatever you want. But in the issue thread, you and I argued quite a bit about it. |
|
@youssef-lr Can I continue with this task and create a PR to upgrade the version of react-native-onyx in the Expensify repo? |

Details
Updated logic to return full value if the key doesn't exist in the snapshot, ensuring new keys are correctly preserved in newValue.
Related Issues
Expensify/App#61584
Automated Tests
Manual Tests
Author Checklist
### Related Issuessection aboveTestssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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)Avataris modified, I verified thatAvataris working as expected in all cases)mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop