-
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
Missing bottom padding fix #40912
Missing bottom padding fix #40912
Conversation
Seems like we have another case here - https://expensify.slack.com/archives/C049HHMV9SM/p1714419588771479 |
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.
Just left a comment. Can we make sure that we address all cases where the padding is missing?
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 waiting on @lukemorawski to address comments
Bump @lukemorawski |
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.
Bump @lukemorawski
@luacmartins Hey, I've been asked to take this over from Luke and will try to update this today :) |
…ssing_bottom_padding_fix
Thanks @MrMuzyk! Looking forward to it! |
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.
Waiting on @MrMuzyk to take over the PR and address the comments.
Nice! Let me know once the PR is ready for review! |
It's 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.
LGTM
all yours @mollfpr |
Reviewing it now! |
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.
The other pages look good to me! Just the report virtual card fraud page seems a bit off.
@@ -68,7 +71,7 @@ function ReportVirtualCardFraudPage({ | |||
title={translate('reportFraudPage.title')} | |||
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(cardID))} | |||
/> | |||
<View style={[styles.flex1, styles.justifyContentBetween]}> | |||
<View style={[styles.flex1, styles.justifyContentBetween, !paddingBottom ? styles.pb5 : null]}> |
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.
I feel like the gap in the bottom feels too much. It didn't happen before, so might be because this PR merged last week.
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.
Yes, sorry, I've missed this one 😓
Pushing a fix for this
…ssing_bottom_padding_fix
I've updated the Screen.Recording.2024-05-09.at.10.03.06.mov |
Reviewer Checklist
Screenshots/Videos |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.73-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.73-7 🚀
|
Details
This PR adds missing bottom padding when safe area bottom padding is absent on screens: ReportCardLostPage.tsx, ReportVirtualCardFraudPage.tsx, TransferBalancePage.tsx, NewTaskPage.tsx
Fixed Issues
$ #40827
PROPOSAL: no proposal
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
iOS: mWeb Safari
![web ios](https://github.com/Expensify/App/assets/134388952/9bfc7ae6-d597-4677-b719-92e56c2bf34b)MacOS: Chrome / Safari