-
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
Refactor/36648 wallet enablement flow personal info #40357
Refactor/36648 wallet enablement flow personal info #40357
Conversation
… redirect back to the wallet
@@ -54,7 +54,8 @@ function AddBankAccount({personalBankAccount, plaidData, personalBankAccountDraf | |||
|
|||
const exitFlow = (shouldContinue = false) => { | |||
const exitReportID = personalBankAccount?.exitReportID; | |||
const onSuccessFallbackRoute = personalBankAccount?.onSuccessFallbackRoute ?? ''; | |||
// TODO: This should be updated to the correct route once the refactor is complete |
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.
Do we know an issue URL to mention here?
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.
@rezkiy37 no, it will be done in this issue :) But yes, you're right I can add the link
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.
Left a minor comment, LGTM.
@koko57 @shawnborton just wanted to confirm some texts by comparing them with figma. Are they fine or need to be like figma?
|
I think the links are fine as they are, I vaguely recall a previous issue where we decided not to touch them. We might want to update the copy though, let's see what @jamesdeanexpensify thinks |
@shawnborton I will update the copy (the screen title). My bad, I missed it |
Looking good to me! Just have one last question out to Anu here. I bumped her in DM just now, too. |
@Pujan92 issues fixed, 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.
Thanks @koko57, some minor comments.
LGTM!
src/pages/EnablePayments/PersonalInfo/substeps/FullNameStep.tsx
Outdated
Show resolved
Hide resolved
LGTM @mountiny |
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.
In general, this looks good to me, thanks for keeping the train going on this one. Highlighted one question from @Pujan92
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.
Thanks!
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.67-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@koko57 can you help us with mobile and desktop steps?
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.68-0 🚀
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.67-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@kavimuru for mobile, if you're on a real device try typing |
I am changing the window location in the developer console with
For staging I think we need to set Screen.Recording.2024-04-30.at.17.58.33.mov |
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.68-3 🚀
|
Details
Personal Info step for Enable Wallet Refactor
DISCLAIMER: not connected to the 1st step of the flow yet
Fixed Issues
$ #36648
PROPOSAL:
Tests
Prerequisites: in settings/about/troubleshoot you should enable Use Staging Server if testing locally
npx uri-scheme open new-expensify://settings/wallet/enable-payments-refactor --android
ornpx uri-scheme open new-expensify://settings/wallet/enable-payments-refactor --ios
in the terminal with simulator/emulator opened. For desktop deep links are not working properly for nested routes - not available for testing now.Offline tests
QA Steps
npx uri-scheme open new-expensify://settings/wallet/enable-payments-refactor --android
ornpx uri-scheme open new-expensify://settings/wallet/enable-payments-refactor --ios
in the terminal with simulator/emulator opened. For desktop deep links are not working properly for nested routes - not available for testing now.PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
Screen.Recording.2024-04-18.at.14.30.00.mp4
Android: mWeb Chrome
Screen.Recording.2024-04-18.at.14.24.33.mp4
iOS: Native
Screen.Recording.2024-04-18.at.14.30.00.mp4
iOS: mWeb Safari
Screen.Recording.2024-04-18.at.14.27.42.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-04-18.at.14.20.15.mp4
MacOS: Desktop
n/a