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 2023-03-16] Workspace- Offline mode Start over does not lead to the next step of add the bank account #15114

Closed
6 tasks done
kbecciv opened this issue Feb 14, 2023 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Feb 14, 2023

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


Issue found when executing PR #14726

Action Performed:

  1. Login App
  2. Navigate to Workspace > Connect bank account
  3. Start the process of adding a VBA
  4. Exit the flow midway
  5. Navigate to Workspace > Connect bank account again
  6. Once you see Continue with setup
  7. Go offline mode
  8. Click Start over
  9. Click Ok on confirmation modal

Expected Result:

Verify that confirming the modal leads you to the Bank Account step

Actual Result:

Confirming the modal Start over does not lead to the next step of add the bank account

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.71.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Bug5936619_14726_iOS_1.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f0efa2dcf372664e
  • Upwork Job ID: 1632700214058668032
  • Last Price Increase: 2023-03-06
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 14, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 14, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@MariaHCD
Copy link
Contributor

@miljakljajic I'd like to take a look at this because it was discovered when testing the PR I worked on

@MariaHCD MariaHCD self-assigned this Feb 14, 2023
@MariaHCD
Copy link
Contributor

Able to reproduce the issue, if the user is offline and resets their workspace bank account, then we show the offline page instead of showing the bank account setup step:

Screen.Recording.2023-02-14.at.4.40.42.PM.mov

Will continue to look into it

@francoisl
Copy link
Contributor

@MariaHCD isn't this on purpose? The ReimbursementAccountPage uses a ReimbursementAccountLoadingIndicator here, and that component uses a FullPageOfflineBlockingView here.

@ctkochan22
Copy link
Contributor

Based on the PR it doesnt' seem like it was expected behavior based on the Offline instructions in the original PR: #14726

But I don't think its a blocker though. As @francoisl pointed out exactly where the issue is I believe. Seems like an easy fix

@MariaHCD
Copy link
Contributor

Ah, I'd added isLoading in the optimistic data for RestartBankAccountSetup. So that's why we're now showing the FullPageOfflineBlockingView instead of the BankAccountStep page.

https://github.com/Expensify/App/blob/main/src/libs/actions/ReimbursementAccount/resetFreePlanBankAccount.js#L50

I did that to fix this issue: #14726 (comment)

@MelvinBot
Copy link

@MariaHCD, @miljakljajic Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@MariaHCD
Copy link
Contributor

I've got a draft PR here: #15161. Not super sure if it's the best way to solve this so I'll take a closer look.

@MelvinBot
Copy link

@MariaHCD, @miljakljajic Whoops! This issue is 2 days overdue. Let's get this updated quick!

@MariaHCD MariaHCD added the Internal Requires API changes or must be handled by Expensify staff label Mar 6, 2023
@melvin-bot melvin-bot bot unlocked this conversation Mar 6, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (Internal)

@MariaHCD
Copy link
Contributor

MariaHCD commented Mar 6, 2023

The PR is in review: #15161

@miljakljajic
Copy link
Contributor

Thank you, @MariaHCD. @mananjadhav I've invited you to the Upwork job so you're ready to be paid when the holding period is over. Please accept the offer!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Mar 9, 2023
@melvin-bot melvin-bot bot changed the title Workspace- Offline mode Start over does not lead to the next step of add the bank account [HOLD for payment 2023-03-16] Workspace- Offline mode Start over does not lead to the next step of add the bank account Mar 9, 2023
@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 9, 2023
@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.80-2 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 2023-03-16. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Mar 9, 2023

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:

@MelvinBot
Copy link

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@MariaHCD
Copy link
Contributor

MariaHCD commented Mar 9, 2023

Filled out the BZ checklist, feel free to double check me there!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 15, 2023
@mananjadhav
Copy link
Collaborator

I think we're good here wrt to the checklist. I don't think we need additional regression steps for this.

@miljakljajic wdyt?

@mananjadhav
Copy link
Collaborator

@miljakljajic This is due for payout, can you please help here?

@miljakljajic
Copy link
Contributor

Paid and contracted ended!

@mananjadhav
Copy link
Collaborator

Thanks @miljakljajic for the quick help.

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. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants