-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix: The continue button has some extra bottom padding #48179
fix: The continue button has some extra bottom padding #48179
Conversation
@allgandalf 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] |
c.c. @shawnborton , can you check the screenshot from the contributor once, I see them just fine, want to get 🟢 from you |
@BhuvaneshPatil can you address the comments ^ |
…ntinue-btn-bottom-padding
Looking into it |
…ntinue-btn-bottom-padding
The problem is on ios native. I am trying to build using |
were you able to build @BhuvaneshPatil ? |
any update here @BhuvaneshPatil ? |
…ntinue-btn-bottom-padding
@allgandalf @shawnborton Does this look good - offline -
online -
|
Sure. Let me check if that can be done. |
This is a solution I came up with, but it has slight delay Screen.Recording.2024-09-06.at.8.38.09.PM.mov |
Hmm the delay feels a bit odd, anything we can do about that? |
…ntinue-btn-bottom-padding
@BhuvaneshPatil can you address ^ comments and also resolve conflicts, lets act quick here, this is pending for a long time now |
I checked on other pages as well on IOS. Example Description page for Track Expense option we have that extra padding there as well. It is also due to safe are padding. What do you think shall we continue having that padding here as well? |
bump @shawnborton on the ^ question |
That works for me if this already exists elsewhere. |
…ntinue-btn-bottom-padding
@BhuvaneshPatil is this ready for final review ? |
Yes |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-30.at.2.26.31.PM.movAndroid: mWeb ChromeScreen.Recording.2024-09-30.at.2.29.58.PM.moviOS: NativeScreen.Recording.2024-09-30.at.2.13.46.PM.moviOS: mWeb SafariScreen.Recording.2024-09-30.at.2.13.46.PM.movMacOS: Chrome / SafariScreen.Recording.2024-09-30.at.2.03.35.PM.movMacOS: DesktopScreen.Recording.2024-09-30.at.2.07.50.PM.mov |
@BhuvaneshPatil why is there so much padding in offline mode? ![]() |
…ntinue-btn-bottom-padding
@BhuvaneshPatil this has conflicts |
yes, resolving. |
@BhuvaneshPatil is this ready for review again? |
Yes |
@@ -2,12 +2,12 @@ import React from 'react'; | |||
import BaseOnboardingWork from './BaseOnboardingWork'; | |||
import type {OnboardingWorkProps} from './types'; | |||
|
|||
function OnboardingWork({...rest}: Omit<OnboardingWorkProps, 'shouldUseNativeStyles'>) { |
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 don't understand why are these changes required ?
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 was getting lint failure because of withOnyx
so I migrated that. After that it started giving lint error for this line. So I solved it. Let me know if I should undo the changes for withOnyx hook
@@ -5,15 +5,15 @@ import useThemeStyles from '@hooks/useThemeStyles'; | |||
import BaseOnboardingWork from './BaseOnboardingWork'; | |||
import type {OnboardingWorkProps} from './types'; | |||
|
|||
function OnboardingWork({...rest}: Omit<OnboardingWorkProps, 'shouldUseNativeStyles'>) { |
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.
same as ^
const styles = useThemeStyles(); | ||
return ( | ||
<FocusTrapForScreens> | ||
<View style={styles.h100}> | ||
<BaseOnboardingWork | ||
shouldUseNativeStyles={false} | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
{...rest} |
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.
same as ^
oh is it then i guess its fine, but we need to make sure we have the latest videos attached, can you update videos on all platforms as this PR has changed a lot from the initial PR, we need to make sure there are no regressions here |
I have updated latest screenshots on all platforms |
@allgandalf ^^ |
sorry, I was super occupied in the co-pilot, workspace feed, and Onboarding refactor work this week, I will surely complete the checklist over the weekend. thanks for understanding @BhuvaneshPatil . |
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 and tests well !
✋ 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/aldo-expensify in version: 9.0.43-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 9.0.43-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.43-6 🚀
|
Details
Continue button on the page where we add personal details while on-boarding has extra bottom padding
Fixed Issues
$ #47087
PROPOSAL: #47087 (comment)
Tests
Create a new account
In on boarding modal select, Manage my team's expenses
Check bottom padding for continue button. Both in online and offline mode
Fill details and go to next page
Check bottom padding bottom for continue button. Both in online and offline mode
Create a new account
Select track my expenses option
Check bottom padding for continue button. Both in online and offline mode
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop