-
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
Migrate withReportOrNotFound from withOnyx to useOnyx #49444
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 |
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
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