-
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
[HOLD for payment 2025-02-07] [$250] Wallet - "It's not here" error is briefly shown when deactivating a virtual card #53996
Comments
Triggered auto assignment to @JmillsExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~021867191340390551829 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
@izarutskaya Video of reproducing bug is not playing. |
@koko57 would you want to work on this? |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
It will set the card data to null: Line 55 in 258e2be
and then call:
which will set the card data to
the navigation action needs time to process. Meanwhile, we display the not found page since BE has set the card data to null: App/src/pages/settings/Wallet/ReportVirtualCardFraudPage.tsx Lines 84 to 86 in 258e2be
What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional)
to:
and
to:
|
Hi! I'm Bartek from Callstack - expert contributor group. I’d like to work on this issue (if you decide to decline the above proposal, of course). |
@JmillsExpensify, @mountiny, @alitoshmatov Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@truph01 Thank you for your proposal. In your RCA you are mentioning that |
@truph01 Correction: Okay I think Edit:
We already have a loading button, we don't want to introduce another loading screen just to appear for a small amount of time when navigation is happening |
Based on C+ doc, since existing proposal is not selected we can assign @burczu to this issue and wait for their proposal |
@alitoshmatov Thanks for your feedback! I have a question regarding your point above: Why do you think my alternative solution would break the app? It simply shows a loading state in the button during navigation. |
@truph01 Did you tested your alternative solution?
We have a usage of virtualCard here. To be fair this small issue and could be fixed easily. But I am still in doubt about isNavigating state, I haven't seen similar use case in other places
|
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx Lines 93 to 95 in a5913b9
|
Yeah - based on my testing - not found page is not shown any more |
Ah okay - so @JmillsExpensify @mountiny maybe we close this then? |
@shawnborton I don't think we should close this issue - the other PR only fixes the problem with redirecting to the wrong page after card deactivation. In this issue we are changing the flow of the card deactivation and adding the confirmation page to improve UX as @mountiny proposed in this comment (and fixing this issue as a side effect). I see the PR from @narefyev91 is already merged so I'll sync with it and check how it affects this issue. |
Sounds good, that works for me - thanks for the gut check here. |
@mountiny @alitoshmatov I've synced with the changes from this PR, and it looks like it does not interfere with my changes so I'm keeping the proposal as it is. Especially we need to keep the Regarding this comment: #53996 (comment) this is fixed by the other PR so once we get back to this page, it is correctly populated with new card details. That being said, can I proceed with the PR now? |
Thanks for the discussion, I believe you can move ahead now if I understood everything right |
The PR is now ready for review. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.92-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @JmillsExpensify @alitoshmatov The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
This will be ready to pay out |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Slack conversation (hyperlinked to channel name):
Action Performed:
Precondition: Use a Gmail member account that has a single assigned virtual Expensify Card.
Expected Result:
I should be getting a proper error message at the bottom of the RHP.
Actual Result:
"It's not here" error is briefly shown when deactivating a virtual card.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6689664_1733809758992.bandicam_2024-12-10_06-43-16-080.mp4
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: