Fix infinitely loading Of Attachment from qa.guide when opened in Search#50427
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-08.at.23.22.10.mp4Android: mWeb ChromeScreen.Recording.2024-10-08.at.23.20.47.mp4iOS: NativeScreen.Recording.2024-10-08.at.23.24.13.mp4iOS: mWeb SafariScreen.Recording.2024-10-08.at.23.29.01.mp4MacOS: Chrome / SafariScreen.Recording.2024-10-08.at.23.17.21.mp4MacOS: DesktopScreen.Recording.2024-10-08.at.23.19.24.mp4Console Warning: |
|
@shahinyan11 Please fix the ESLint check |
@suneox ESLint error related to using |
Ah, this error is not related to the scope change of this issue, we can skip this one. |
|
@suneox Is there anything else I need to do? |
@shahinyan11 Nope, another refactor will handle ESLint for this one. |
suneox
left a comment
There was a problem hiding this comment.
The pipeline fails due to the changed files, and the scope of this issue is not related to withOnyx, so we can handle replace withOnyx in another task
|
Reminder from the updated contributing guidelines
This item is checked and there's a warning on videos in both the PR author and reviewer checklists. Can you please report it or open an issue for it and link it here?
|
|
@shahinyan11 could you please verify the author checklist item |
|
Let me know if there are more recent guidelines for updating withOnyx with useOnyx, but from this post, I think we should include those updates in this PR |
I unchecked this in both checklists because I saw console errors, and didn't see where those were fixed or reported |
@cead22 I got it, thank you for pointing this out! @shahinyan11 We will handle pipeline in this PR |
|
@suneox What console error are you talking about? Do you mean |
Yes, that one on the Android Native video on the submitter checklist and the iOS native on the reviewer checklist. And
I'm not sure actually, can you ask in #expensify-open-source please? |
@cead22 That warning exists in the |
Should I implement your solution now or wait for confirmation? |
I’m still waiting for feedback, let’s wait for a confirmation. |
|
Yup, that's great. The process works :) |
|
@suneox can you give this another review please, since a few things changed? Thanks |
Sure, I’ll start the review and retest in about an hour |
|
@shahinyan11 Could you please sync with the latest main? I’d like to verify the re-render after migrate to useOnyx. Thanks! |
There was a problem hiding this comment.
We don’t need to create a new file, we should just keep it in the ImageRenderer component as this pattern doesn’t exist in the code base
suneox
left a comment
There was a problem hiding this comment.
I have verified that migrating to useOnyx keeps the render times the same for ImageRenderer component
@cead22 the new change has been 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/cead22 in version: 9.0.49-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.49-2 🚀
|
Details
Fixed Issues
$ #50006
PROPOSAL: #50006 (comment)
Tests
!(https://d2k5nsl2zxldvw.cloudfront.net/images/animations/animation_setupguide.gif)
Offline tests
N/A
QA Steps
Same as in the Tests section.
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.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
Android: Native
Screen.Recording.2024-10-08.at.16.18.32.mov
Android: mWeb Chrome
Screen.Recording.2024-10-08.at.15.38.46.mov
iOS: Native
Untitled.mov
iOS: mWeb Safari
Screen.Recording.2024-10-08.at.15.49.20.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-08.at.15.25.23.mov
MacOS: Desktop
Screen.Recording.2024-10-08.at.15.52.45.mov