-
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 'IOU' page to TypeScript #35253
[TS migration] Migrate 'IOU' page to TypeScript #35253
Conversation
…ypescript # Conflicts: # src/ONYXKEYS.ts # src/pages/iou/SplitBillDetailsPage.js
…ypescript # Conflicts: # src/ONYXKEYS.ts # src/libs/actions/IOU.ts
…ypescript # Conflicts: # src/pages/home/report/withReportAndReportActionOrNotFound.tsx
…ypescript # Conflicts: # src/ONYXKEYS.ts
…ypescript # Conflicts: # src/libs/actions/IOU.ts
What's the status on this @pac-guerreiro ? |
…ypescript # Conflicts: # src/libs/actions/IOU.ts
…ypescript # Conflicts: # src/libs/TransactionUtils.ts # src/libs/actions/IOU.ts
This is ready for re-review by our team! |
…ypescript # Conflicts: # src/libs/Navigation/types.ts
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.
Great work! Left couple comments 😄
Reviewer Checklist
Screenshots/VideosAndroid: NativeiouAndroid.mp4Android: mWeb ChromeiouAndroidChrome.mp4iOS: NativeiouiOS.mp4iOS: mWeb SafariiouiOSSafari.mp4MacOS: Chrome / SafarisplitBillChrome.mp4sendMoneyChrome.mp4MacOS: DesktopsplitBillDesktop.mp4sendMoneyDesktop.mp4 |
Creating a split bill offline shows a continuous loading indicator on the group chat on this branch whereas on splitBillOffline.mp4 |
@pac-guerreiro bump |
…ypescript # Conflicts: # src/libs/actions/IOU.ts
All feedback addressed, thanks for your patience! 😄 The split bill bug should be resolved, as you can see below but give it a try once again just in case Screen.Recording.2024-03-26.at.23.32.22.mp4 |
Hi @c3024, can you take another look at this whenever you get a chance? |
No changes are made to this file in this PR so I think this need not be tested. This is not being used anywhere and completely deprecated in #34610
This is not used anywhere anymore and this will also be deprecated in #34614 |
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
@srikarparsi All yours! |
@pac-guerreiro Let's merge the newest main here |
@fabioh8010 @srikarparsi @blazejkustra I merged latest main to this branch |
@srikarparsi kind bump 😄 |
Sorry about that, taking a look |
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 as well, thanks for the changes :)
@srikarparsi looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
No tests failed above, removing the emergency label Screen.Recording.2024-03-29.at.1.51.48.PM.mov |
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
Fixed Issues
$#25200
PROPOSAL: N/A
Tests
Split bill - Details (
SplitBillDetailsPage.tsx
&WithReportAndReportActionOrNotFound.tsx
)Request money
manual
, enter any valid amount and continueSplit
on any participant and click onAdd to split
Split {currency} {amount}
Send money - Confirmation step (
MoneyRequestConfirmationList.tsx
)Send money
NewDistanceRequestPage.tsx
NewRequestAmountPage.tsx
Offline tests
Same as tests
QA Steps
Same as tests
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop