-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: Migrate to reusable sub step components #58197
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
feat: Migrate to reusable sub step components #58197
Conversation
@madmax330 Can we assign @hungvu193 here? |
I'll review on my morning |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemChrome.moviOS: NativeIOS.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDesktop.mov |
✋ 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/madmax330 in version: 9.1.13-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.13-5 🚀
|
inputId={COMPANY_TAX_ID_KEY} | ||
inputLabel={translate('businessInfoStep.taxIDNumber')} | ||
defaultValue={defaultCompanyTaxID} | ||
shouldUseDefaultValue={shouldDisableCompanyTaxID} |
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.
Minor issue
Since these inputs only accept numbers, we need to pass inputMode={CONST.INPUT_MODE.NUMERIC} to enable a numeric keyboard
Explanation of Change
Migrated remaining screens (where it was possible) to reusable SubStep component
Fixed Issues
$ #58089
PROPOSAL:
Tests
USD flow
non USD flow
create a fresh CAD workspace
start connecting bank account
verify that confirmation screens of steps 3 and 4 are displayed correctly
Verify that no errors appear in the JS console
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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.mp4
Android: mWeb Chrome
android.chrome.mp4
iOS: Native
ios.native.mp4
iOS: mWeb Safari
ios.safari.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4