-
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
Redirect user for new virtual card after Fraud flow #55163
Redirect user for new virtual card after Fraud flow #55163
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2025-01-20.at.20.58.26.mp4Android: mWeb ChromeCleanShot.2025-01-20.at.17.37.01.mp4MacOS: DesktopCleanShot.2025-01-20.at.16.21.07.mp4 |
@narefyev91 I wasn’t able to get virtual cards, how did you manage to get it working ? Thank you. |
As i remember @robertjchen helped me to setup virtual cards to my workspace |
@narefyev91 I have successfully enabled the virtual cards. However, there is a not found view displayed before the navigation happen, can we do something about that ? |
@narefyev91 Probably we can address this bug with something similar to this : const prevVirtualCard = usePrevious(virtualCard);
...
// if (isEmptyObject(virtualCard)) {
if (isEmptyObject(virtualCard) && isEmptyObject(prevVirtualCard)) {
|
What's the latest on this one? |
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.
Looks good to me
@shawnborton it's ready to get merged. |
✋ 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/lakchote in version: 9.0.88-0 🚀
|
@izarutskaya i see on your video - that you tested on prod url - new.expensify.com - was it already deployed to prod? Do you have the same issue on staging? |
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.88-7 🚀
|
Explanation of Change
We do automatically reissue a new virtual card when a cardholder replaces an existing one. From the original docs we should land user on the page showing the new virtual card.
Fixed Issues
$ #52953
PROPOSAL: #52953 (comment)
Tests
Offline tests
No changes
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.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov