feat: Migrate to reusable sub step components#58197
Merged
madmax330 merged 1 commit intoExpensify:mainfrom Mar 13, 2025
Merged
Conversation
Contributor
Author
|
@madmax330 Can we assign @hungvu193 here? |
Contributor
|
I'll review on my morning |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemChrome.moviOS: NativeIOS.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDesktop.mov |
hungvu193
approved these changes
Mar 13, 2025
madmax330
approved these changes
Mar 13, 2025
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
90 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.1.13-0 🚀
|
Contributor
|
🚀 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} |
Contributor
There was a problem hiding this comment.
Minor issue
Since these inputs only accept numbers, we need to pass inputMode={CONST.INPUT_MODE.NUMERIC} to enable a numeric keyboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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.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