fix: View details expense page in Report is messed#74779
fix: View details expense page in Report is messed#74779Gonals merged 6 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@dukenv0307 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] |
|
Yeah I'm okay with it not going on two lines and keeping it to one, but ideally we'd have this wrap to two lines given that this might be the only place on mobile to see this sentence untruncated. If we do not, then we should left align it either way. I will say though, I'd also be up for removing this line altogether. I bet we don't need to, but I don't like that there's a second tap target on this push input Happy to leave that though.
cc @dannymcclain @Expensify/product-pr |
heyjennahay
left a comment
There was a problem hiding this comment.
No concern with product change
|
Yeah I like where you're heading as well. Maybe just lets fix the alignment and do further optimizations later 👍 |
src/pages/ReportDetailsPage.tsx
Outdated
| parentReportActionID={report?.parentReportActionID} | ||
| pressableStyles={[styles.mt1, styles.mw100]} | ||
| textStyles={[styles.textAlignCenter]} | ||
| subtitleNumberOfLines={0} |
There was a problem hiding this comment.
I think we should use subtitleNumberOfLines={2} to prevent the too long subtitle
Reviewer Checklist
Screenshots/Videos |
|
@nkdengineer Can you please check the comment above? |
|
@dannymcclain I fixed this case. |
|
Waiting on @dannymcclain before merging |
Sorry if I missed it, but can we see screenshots? |
@dubielzyk-expensify Here is the result.
|
|
Nice - looks good 👍 |
|
✋ 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/Gonals in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|













Explanation of Change
fix: View details expense page in Report is messed
Fixed Issues
$ #74408
PROPOSAL: #74408 (comment)
Tests
Offline tests
None
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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