-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[TS migration] Migrate 'MoneyReportHeader.js' component to TypeScript #33570
Conversation
Signed-off-by: Abhas Kumar <[email protected]>
@KrAbhas Please, resolve lint and TS errors. If the TS issue appears due to not migrated files, follow the rules described in the guidelines. Also please add screenshots for every platform. |
Lint issues have been resolved, I am testing and adding the screenshots, will be done in a couple of hours. Will let you know once completed.
|
Please update PR name to follow the issue name, so |
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
I will attach the screenshots for mobile devices soon, after resolving some of the setup issues. Almost solved, due to new Mac setup facing some trouble. |
Added all screenshots and videos. |
@rlinoz , everything updated. The lint error is coming from some other files(not changed in this PR), so will be fixed as part of other issues I guess. |
@rlinoz Yes it's fixed. Thanks! |
Oh I approved, but lint is failing |
Yes I am still waiting on the lint fixes, will start with the checklist then. @KrAbhas Can you please fix the lint issue? |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-money-report-header.movAndroid: mWeb Chromemweb-chrome-money-report-header.moviOS: Nativeios-money-report-header.moviOS: mWeb Safarimweb-safari-money-report-header.movMacOS: Chrome / Safariweb-money-report-header.movMacOS: Desktopdesktop-money-report-header.mov |
🎯 @mananjadhav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #34484. |
One more conflict to go, then we can merge. |
@KrAbhas Please resolve conflicts |
@rlinoz some problem is coming from master in unchanged file related to typecheck. please tag me once fixed, I will take a fresh pull. |
✋ 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/rlinoz in version: 1.4.27-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.27-1 🚀
|
Details
Migrating the MoneyReportHeader component from jsx to tsx
Fixed Issues
Typescript migration for MoneyReportHeader
$ #25108
PROPOSAL: #25108 (comment)
Tests
Offline tests
Same as Tests steps.
QA Steps
Same as Tests steps.
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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.mov
Android: mWeb Chrome
androidmweb.mov
iOS: Native
iphone_native.mov
iOS: mWeb Safari
iphonemweb.mov
MacOS: Chrome / Safari
For request report For sent reportMacOS: Desktop