-
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
[TS migration] Migrate 'IOUMoneyRequest' page to TypeScript #35774
[TS migration] Migrate 'IOUMoneyRequest' page to TypeScript #35774
Conversation
This was resulting in the wrong calculation of isTaxAmountInvalid
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.
@neonbhai I see a couple of lint issues
@neonbhai is this PR only migrates the Amount form, i know other pages are removed/renamed just confirming if this has been discussed i couldn't find any conversation on the issue. cc @Julesssss |
Ah right, yeah the original issue names many files. I'm also confused. @neonbhai was there any discussion about which files to migrate? |
@Julesssss hi, I had started working on these before realizing the pages I had migrated were being removed. Since the PR was delayed by some time, I had raised this PR and mentioned the situation in the PR description. I apologize for not communicating the same on the issue 🙇 cc: @ishpaul777 |
Ah no problem. So |
|
Yes, MoneyRequestAmountForm is in use in the new request page and edit request page. The rest of the pages in the old flow have been deprecated with the money request refactor. |
Alright sounds good. Lets continue with this PR. |
Hii @neonbhai, do you an ETA for resolving the type issues in this PR, it's one of the blocking component in #32002 (comment) |
|
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.
Still a lot of type errors, other than that looks good 👍
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.
Thanks @neonbhai. Let us know if you need any help with these type issues: https://github.com/Expensify/App/actions/runs/7775010274/job/21200474461?pr=35774
gentle bump @neonbhai, hope you are well |
…tion-money-request-pages
We want display the request amount with currency symbol. This necessitates the param type to be in string
…tion-money-request-pages
PR ready for review! |
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.
overall looks good 👍, just some minor comments
Co-authored-by: Ishpaul Singh <[email protected]>
Co-authored-by: Ishpaul Singh <[email protected]>
ready for review! @ishpaul777 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-21.at.1.59.52.AM.movAndroid: mWeb ChromeScreen.Recording.2024-02-20.at.6.47.31.PM-1.moviOS: NativeScreen.Recording.2024-02-20.at.6.22.54.PM-1.moviOS: mWeb SafariScreen.Recording.2024-02-20.at.6.33.57.PM-1.movMacOS: Chrome / SafariScreen.Recording.2024-02-20.at.6.19.10.PM.movMacOS: DesktopScreen.Recording.2024-02-21.at.1.47.06.AM.mov |
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-21.at.1.59.52.AM.movAndroid: mWeb ChromeScreen.Recording.2024-02-20.at.6.47.31.PM-1.moviOS: NativeScreen.Recording.2024-02-20.at.6.22.54.PM-1.moviOS: mWeb SafariScreen.Recording.2024-02-20.at.6.33.57.PM-1.movMacOS: Chrome / SafariScreen.Recording.2024-02-20.at.6.19.10.PM.movMacOS: DesktopScreen.Recording.2024-02-21.at.1.47.06.AM.mov |
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.
looks good to me!
All yours @Julesssss
✋ 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/Julesssss in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
We migrate the
MoneyRequestAmountForm
here.Rest of the pages in the original issue are being removed in #29107
Fixed Issues
$ #32004
PROPOSAL: #32004 (comment)
Tests
Offline tests
Same as Tests step.
QA Steps
Same as Tests step
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.mp4
Android: mWeb Chrome
mWeb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
Safari.mp4
MacOS: Chrome / Safari
Web.mp4
MacOS: Desktop
Desktop.mp4