Integrate MoneyRequestConfirmationListFooter#43749
Conversation
…actor/43663-split-money-request-confirmation-list
…actor/43663-split-money-request-confirmation-list
s77rt
left a comment
There was a problem hiding this comment.
Code-wise this looks good to me. Will complete the checklist / test asap
…actor/43663-split-money-request-confirmation-list
Reviewer Checklist
Screenshots/Videos |
|
@rezkiy37 can you please fix the conflicts? thanks |
…ation-list' of https://github.com/rezkiy37/Expensify into refactor/43663-split-money-request-confirmation-list
|
@mountiny I've fixed the conflicts 🙂 |
mountiny
left a comment
There was a problem hiding this comment.
Thanks, I wish we could get rid of the large memos
|
✋ 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/mountiny in version: 9.0.2-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
| onToggle={(isOn) => onToggleBillable?.(isOn)} | ||
| isActive={iouIsBillable} | ||
| disabled={isReadOnly} | ||
| titleStyle={!iouIsBillable && {color: theme.textSupporting}} |
There was a problem hiding this comment.
The conditional titleStyle here led to this issue:
which was fixed by removing the style completely.






Details
The PR creates and integrates a new component - MoneyRequestConfirmationListFooter. It takes responsibility for rendering footer content on the Money Request Confirmation page. This change decreases the parent component by 410 lines with some onyx getters, useMemo, etc. Also, I've applied
React.memo().I did some measures and recorded the mean value. So It really improves the rendering.
Fixed Issues
$ #43663
PROPOSAL: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1718204702743269
Tests
Offline tests
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop