Skip to content
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

Bank account - Almost done screen shown briefly when coming from choose an account page #51799

Closed
1 of 8 tasks
lanitochka17 opened this issue Oct 31, 2024 · 30 comments
Closed
1 of 8 tasks
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 31, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.56-0
Reproducible in staging?: Y
**Reproducible in production?:**Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): nathanmulugetatesting+1985@gmail.com
Issue reported by: Applause - Internal Team

Issue found when executing PR #49536

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Create a workspace and enable expensify card
  3. Go to Expensify Card and click on issue card
  4. Add a bank account via plaid
  5. On choose account page choose saving and click next but watch closely before the next page appears

Expected Result:

Almost done screen does not get shown in between "Choose an account" page and "Personal Info" page

Actual Result:

Almost done screen get shown briefly in between "Choose an account" page and "Personal Info" page

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6651175_1730383754347.bandicam_2024-10-31_17-04-09-731.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021852305752972180049
  • Upwork Job ID: 1852305752972180049
  • Last Price Increase: 2024-11-01
  • Automatic offers:
    • DylanDylann | Contributor | 104984187
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Oct 31, 2024
Copy link

melvin-bot bot commented Oct 31, 2024

Triggered auto assignment to @grgia (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Oct 31, 2024

💬 A slack conversation has been started in #expensify-open-source

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@grgia grgia added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 31, 2024
@grgia
Copy link
Contributor

grgia commented Oct 31, 2024

Demoted. Reached out to @koko57 in the slack thread

Copy link

melvin-bot bot commented Oct 31, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

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.

@grgia grgia added the External Added to denote the issue can be worked on by a contributor label Nov 1, 2024
@melvin-bot melvin-bot bot changed the title Bank account - Almost done screen shown briefly when coming from choose an account page [$250] Bank account - Almost done screen shown briefly when coming from choose an account page Nov 1, 2024
Copy link

melvin-bot bot commented Nov 1, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021852305752972180049

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 1, 2024
Copy link

melvin-bot bot commented Nov 1, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@D-01576
Copy link

D-01576 commented Nov 1, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Bank account - Almost done screen shown briefly when coming from choose an account page

What is the root cause of that problem?

ConfirmationStep component inadvertently includes the "Almost done" screen in its path before reaching the intended "Personal Info" page.

What changes do you think we should make in order to solve the problem?

To resolve this, modify the navigation path within the ConfirmationStep component to skip the "Almost done" screen and navigate directly to the "Personal Info" page.

In the ConfirmationStep component, change (line 52):

    useEffect(() => {
        if (!isSuccessful) {
            return;
        }
        Navigation.navigate(backTo ?? ROUTES.WORKSPACE_EXPENSIFY_CARD.getRoute(policyID ?? '-1'));
        Card.clearIssueNewCardFlow();
    }, [backTo, policyID, isSuccessful]);

to :

Navigation.navigate(ROUTES.WORKSPACE_PERSONAL_INFO.getRoute(policyID ?? '-1'));

What alternative solutions did you explore? (Optional)

@koko57
Copy link
Contributor

koko57 commented Nov 4, 2024

@grgia I can work on this one 🙂

@melvin-bot melvin-bot bot added the Overdue label Nov 4, 2024
@melvin-bot melvin-bot bot removed Help Wanted Apply this label when an issue is open to proposals by contributors Overdue labels Nov 4, 2024
@grgia grgia changed the title [$250] Bank account - Almost done screen shown briefly when coming from choose an account page Bank account - Almost done screen shown briefly when coming from choose an account page Nov 4, 2024
@koko57
Copy link
Contributor

koko57 commented Nov 5, 2024

I will be working on this issue and the one that has the same root cause #50422, but first I need to finish some Workspace Feed issues

@koko57
Copy link
Contributor

koko57 commented Nov 8, 2024

I'm finishing my Workspace Feed tasks - I will focus on this issue from Monday.

@mountiny
Copy link
Contributor

mountiny commented Nov 8, 2024

@grgia if you want, happy to take over, I have worked with @koko57 on these flows for last couple of weeks. but do not want to force-takeover 😄 so up to you

@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
Copy link

melvin-bot bot commented Nov 11, 2024

@eVoloshchak, @koko57, @grgia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@grgia grgia assigned mountiny and unassigned grgia Nov 11, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 11, 2024
@grgia
Copy link
Contributor

grgia commented Nov 11, 2024

all yours @mountiny (now you owe me one fun issue in the future)

@koko57
Copy link
Contributor

koko57 commented Nov 12, 2024

Mostly finished WFeed issues, now I'm able to fully focus on this one.

@mountiny
Copy link
Contributor

Thanks both

@koko57
Copy link
Contributor

koko57 commented Nov 14, 2024

@mountiny today I will help with the new Workspace Feed bugs, they are higher priority? Maybe we can move this one to weekly?

@mountiny
Copy link
Contributor

sounds good

@DylanDylann
Copy link
Contributor

Note for the PR phase, we need to recheck these issues again:

@koko57
Copy link
Contributor

koko57 commented Nov 20, 2024

Working on it.

@DylanDylann
Copy link
Contributor

DylanDylann commented Nov 20, 2024

@eVoloshchak Could I take over this issue? Because this is a deploy blocker from the previous issue that I worked with @koko57 and I also have more context on these related issues

cc @mountiny

@mountiny mountiny assigned DylanDylann and unassigned eVoloshchak Nov 20, 2024
Copy link

melvin-bot bot commented Nov 20, 2024

📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@koko57
Copy link
Contributor

koko57 commented Nov 26, 2024

Still working on it. I've already removed some unnecessary code, for now it looks fine, looking for some edge cases.

@koko57
Copy link
Contributor

koko57 commented Nov 27, 2024

EDIT: I need to rethink my solution. This component has too much complexity, I will try to simplify it a bit but I can't go with the solution I thought of first

@DylanDylann
Copy link
Contributor

Feel free to post a proposal first, then we can discuss it thoroughly together

@koko57
Copy link
Contributor

koko57 commented Nov 29, 2024

I tested some other ideas, I really wanted to simplify this logic, but TBH it's really hard.
I tried to reproduce the issue once again on staging but I cannot get the exact behavior consistently.

Untitled.mov

So in my opinion, it doesn't make sense to burn more time on this - but let's retest it first. The only issue I've found - is that when we have the supported currency for the nonUSDBankAccountStep for the workflows we display the non-USD flow and for the Expensify Card we get the modal to change the currency - is it expected?

cc @mountiny

@mountiny
Copy link
Contributor

is that when we have the supported currency for the nonUSDBankAccountStep for the workflows we display the non-USD flow and for the Expensify Card we get the modal to change the currency - is it expected?

For Expensify Card, you need to have USD settlement bank account so I think yes

@izarutskaya
Copy link

Issue not reproducible anymore

bandicam.2024-11-29.14-43-01-498.mp4

@mountiny
Copy link
Contributor

Thanks! Lets close then and hopefully we dont have to handle this one again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants