-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Display banner to enable 2FA when setting up VBBA #12424
Conversation
Please hold reviewing for now. Was supposed to be draft. Need to update some things |
This is ready for review now 👍 |
@MonilBhavsar looks like we have some lint errors |
@rushatgabhane fixed |
struggling with test steps as getting to validation step is internal only (dummy data doesn't work) trying to figure out a workaround |
@MonilBhavsar sorry but I don't think this flow can be tested externally. @pecanoro all yours! |
@rushatgabhane are you getting to validation and verification step now? |
@MonilBhavsar not quite. I tried uploading a dummy passport I can't proceed after - |
Ah I see, doesn't the test bank account skip onfido flow? |
Also this is off HOLD |
Ahhh, I don't have any details about the test bank account. Maybe you could help me with that? |
I asked but as per the discussion, @pecanoro you'll need to test it |
Sorry for the delay, I will test this tomorrow, can you in the meantime solve the conflicts, please? |
fe0a15c
to
d38d5c9
Compare
Ok, I will try retest everything again now that we solved the deploy blocker. |
|
||
const propTypes = { | ||
...withLocalizePropTypes, | ||
|
||
/** Bank account currently in setup */ | ||
reimbursementAccount: reimbursementAccountPropTypes, | ||
|
||
account: PropTypes.shape({ |
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 guidelines mention: "All props are defined accurately and each prop has a /** comment above it */"
You also need to merge with main so you can retest the PR after all the changes. |
Ok, I completed the checklist, it works pretty well. Please address the comment, update the screenshots after merging with main and I will merge it tomorrow!! |
@MonilBhavsar Something that is not fully working for me but it might just my emulator is opening the link from mobile safari to set up 2FA on oldDot, it's not redirecting. Can you check? |
You'll need to go to Settings > Safari > and disable "block pop-ups" |
Addressed reviews and merged main |
Updated screenshots with dark theme cc @shawnborton |
Looks good! |
@rushatgabhane Ready for your final review and I will merge after!! |
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.
@pecanoro good to merge!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Hey @MonilBhavsar, @mvtglobally / @kavimuru and I were unable to QA this on staging, and with different errors. After enabling 2FA, they get redirected back to the "Connect Bank Account Page" (see #13326 (comment)), whereas the NewDot shows a loading spinner forever for me, on mWeb iOS & Android: Screen.Recording.2022-12-07.at.9.34.44.AM.movAny idea what could be going on? |
🚀 Deployed to production by @francoisl in version: 1.2.36-4 🚀
|
I'm also seeing this issue on web. Looks like something has changed. I think we'll need to specify the route more specifically. |
icon: Expensicons.Shield, | ||
shouldShowRightIcon: true, | ||
iconRight: Expensicons.NewWindow, | ||
iconFill: themeColors.success, |
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.
👋 Heads-up that this has caused a small visual issue in #20932
This icon wasn't changing color on hover, since we were overriding its color with iconFill
prop
Details
Fixed Issues
https://github.com/Expensify/Expensify/issues/238668
PROPOSAL: N/A
Tests
Let user have 2FA disabled
Tests with https://github.com/Expensify/Web-Expensify/pull/35394.
http://localhost:8080/bank-account
QA Steps
Prerequisite: User should have 2FA disabled in olddot > Settings > Accounts
Now,
staging.new.expensify.com/bank-account/
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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)Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android