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

[HOLD for payment 2024-03-07] [$500] Workspace - Tap connect BA in reimbursements & tap app back button unable to go LHN #36460

Closed
3 of 6 tasks
lanitochka17 opened this issue Feb 14, 2024 · 27 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 14, 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: 1.4.41
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap settings icon
  3. Tap workspaces
  4. Tap on a Workspace which has default currency
  5. Tap reimbursements
  6. Tap connect bank account
  7. Tap app back button
  8. Again tap app back button

Expected Result:

Tapping on connect back account in reimbursement page, and tapping app back button, user must be able to navigate to LHN

Actual Result:

Tapping on connect back account in reimbursement page, and tapping app back button unable to navigate to LHN. User is directed to "connect bank account" & "workspaces" page repeatedly instead of LHN when tapping app back button

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6378738_1707864984255.az_recorder_20240214_012516.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a0fc2f48cc03bdf1
  • Upwork Job ID: 1757590533941366784
  • Last Price Increase: 2024-02-14
  • Automatic offers:
    • jjcoffee | Contributor | 0
    • abzokhattab | Contributor | 0
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 14, 2024
@melvin-bot melvin-bot bot changed the title Workspace - Tap connect BA in reimbursements & tap app back button unable to go LHN [$500] Workspace - Tap connect BA in reimbursements & tap app back button unable to go LHN Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

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

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

melvin-bot bot commented Feb 14, 2024

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Feb 14, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@abzokhattab
Copy link
Contributor

abzokhattab commented Feb 14, 2024

Proposal

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

Tap connect BA in reimbursements & tap app back button unable to go LHN

What is the root cause of that problem?

the go-back behavior when we have the following dialog is not the same when we have USD currency set.

image

onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)}

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

we need to change the onBackButtonPress in the prev component to be the same as ContinueBankAccountSetup component :

onBackButtonPress={() => {
Navigation.goBack();
}}
/>

@ntdiary
Copy link
Contributor

ntdiary commented Feb 14, 2024

Hey, @trjExpensify, I'm OOO until Feb 18th, could you please reassign another c+? :)

@jjcoffee
Copy link
Contributor

Happy to take this one over @trjExpensify 🙇

@trjExpensify
Copy link
Contributor

We think that this bug might be related to #vip-vsp

This is likely ideal-nav related with goBack, so wave8 is more appropriate. CC: @adamgrzybowski @hayata-suenaga is this on the radar somewhere?

@trjExpensify trjExpensify assigned jjcoffee and unassigned ntdiary Feb 14, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

📣 @jjcoffee 🎉 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 📖

@hayata-suenaga
Copy link
Contributor

This is likely ideal-nav related with goBack, so wave8 is more appropriate. CC: @adamgrzybowski @hayata-suenaga is this on the radar somewhere?

The fix for the back navigation was deployed to production. @adamgrzybowski could you check if this issue is related to the back navigation issue?

@trjExpensify
Copy link
Contributor

Thanks!

@jjcoffee
Copy link
Contributor

@abzokhattab's proposal LGTM! We appear to just be using goBack to navigate to the incorrect page here:

onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)}

So I don't think this is anything wrong with back navigation itself.

🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented Feb 15, 2024

Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot added the Overdue label Feb 19, 2024
@trjExpensify
Copy link
Contributor

@grgia awaiting your secondary review of the proposal please!

@melvin-bot melvin-bot bot removed the Overdue label Feb 19, 2024
@hayata-suenaga
Copy link
Contributor

So I don't think this is anything wrong with back navigation itself.

nice! I'll leave this to @grgia to select the proposal 🙇

@grgia
Copy link
Contributor

grgia commented Feb 21, 2024

All yours @abzokhattab

Copy link

melvin-bot bot commented Feb 21, 2024

📣 @abzokhattab 🎉 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 📖

@melvin-bot melvin-bot bot added the Overdue label Feb 21, 2024
@grgia
Copy link
Contributor

grgia commented Feb 21, 2024

not overdue, assigned

@melvin-bot melvin-bot bot removed the Overdue label Feb 21, 2024
@jjcoffee
Copy link
Contributor

@abzokhattab Don't forget to let us know when we can expect a PR. Thanks!

@abzokhattab
Copy link
Contributor

Should be ready today @jjcoffee thank you

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 23, 2024
@jjcoffee
Copy link
Contributor

PR is up! I will review on Monday.

@trjExpensify
Copy link
Contributor

Thanks, @jjcoffee! Over to you, @grgia. :)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 29, 2024
@melvin-bot melvin-bot bot changed the title [$500] Workspace - Tap connect BA in reimbursements & tap app back button unable to go LHN [HOLD for payment 2024-03-07] [$500] Workspace - Tap connect BA in reimbursements & tap app back button unable to go LHN Feb 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Feb 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-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 2024-03-07. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Feb 29, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@jjcoffee] The PR that introduced the bug has been identified. Link to the PR:
  • [@jjcoffee] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@jjcoffee] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@jjcoffee] Determine if we should create a regression test for this bug.
  • [@jjcoffee] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@jjcoffee jjcoffee mentioned this issue Mar 7, 2024
50 tasks
@jjcoffee
Copy link
Contributor

jjcoffee commented Mar 7, 2024

  • The PR that introduced the bug has been identified. Link to the PR: [Wave 8] Ideal nav  #33280
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: [Wave 8] Ideal nav  #33280 (comment)
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A - massive PR so unavoidable to have a few mistakes
  • Determine if we should create a regression test for this bug. Yes
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

  1. Tap settings icon
  2. Tap Workspaces
  3. Tap on a workspace which has non-USD default currency
  4. Tap reimbursements
  5. Tap connect bank account
  6. Tap app back button
  7. Tap app back button again
  8. Validate you navigate back to the settings page

Do we agree 👍 or 👎

@trjExpensify
Copy link
Contributor

Thanks!

Payment summary as follows:

Going to hold off on the regression test, as we're changing that flow now, so we're in the process of updating with the new workspace editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Status: Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals)
Development

No branches or pull requests

7 participants