Migrate withReportOrNotFound from withOnyx to useOnyx#49444
Migrate withReportOrNotFound from withOnyx to useOnyx#49444grgia merged 10 commits intoExpensify:mainfrom
Conversation
* migrating from withOnyx to useOnyx * Update withReportAndPrivateNotesOrNotFound.tsx
|
@shubham1206agra 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] |
|
Lets hold this on #49238 |
Co-authored-by: Shubham Agrawal <58412969+shubham1206agra@users.noreply.github.com>
Update withReportOrNotFound.tsx
|
Coming from #49238 (comment), I don't think we can HOLD this on |
|
@DylanDylann will review this PR. |
|
@Tony-MK In case you miss it : #49444 (comment) |
|
@DylanDylann, If I revert the changes |
|
@Tony-MK NAB: Yeah, so let's remove WithReportOrNotFoundOnyxProps and move all rest types to WithReportOrNotFoundProps |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-07.at.16.03.59.movAndroid: mWeb ChromeScreen.Recording.2024-10-07.at.16.03.16.moviOS: NativeScreen.Recording.2024-10-07.at.16.03.41.moviOS: mWeb SafariScreen.Recording.2024-10-07.at.16.02.50.movMacOS: Chrome / SafariScreen.Recording.2024-10-07.at.16.00.29.movMacOS: DesktopScreen.Recording.2024-10-07.at.16.01.10.mov |
|
@grgia looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Merged with lint errors per #49444 (comment) |
|
✋ 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/grgia in version: 9.0.46-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.46-5 🚀
|
Details
Fixed Issues
$ #49108
PROPOSAL: #49108 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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
Android.-.Native.webm
Android: mWeb Chrome
Android.-.Web.webm
iOS: Native
iOS-.Native.mp4
iOS: mWeb Safari
iOS.-Safari.mp4
MacOS: Chrome / Safari
Web.-.Chrome.mov
MacOS: Desktop
MacOS.-.Desktop.mov