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-08-26] [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP #45682

Closed
5 of 6 tasks
lanitochka17 opened this issue Jul 18, 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. Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 18, 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.9-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to More features.
  3. Scroll down.
  4. Toggle on Report fields.
  5. Click on the back button on RHP.
  6. Note that the page scrolls up.
  7. Enable Accounting.
  8. Go to Accounting.
  9. Toggle on NetSuite.
  10. Click on the back button on RHP.
  11. Note that app returns to workspace profile page.

Expected Result:

In Step 6, page will not scroll up after clicking on back button on RHP
In Step 11, app will remain on the same accounting page after clicking on back button on RHP

Actual Result:

In Step 6, page scrolls up after clicking on back button on RHP
In Step 11, app remains on the same accounting page after clicking on back button on RHP

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 #45930

Screenshots/Videos

Add any screenshot/video evidence

Bug6546241_1721312718504.20240718_222222.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015d4828d1746446dd
  • Upwork Job ID: 1813956464241732548
  • Last Price Increase: 2024-07-18
Issue OwnerCurrent Issue Owner: @garrettmknight
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 18, 2024
Copy link

melvin-bot bot commented Jul 18, 2024

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

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.

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Jul 18, 2024
@melvin-bot melvin-bot bot changed the title Workspace - Incorrect app navigation after clicking on back button on upgrade RHP [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP Jul 18, 2024
Copy link

melvin-bot bot commented Jul 18, 2024

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

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

melvin-bot bot commented Jul 18, 2024

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

@roryabraham
Copy link
Contributor

not 100% sure this needs to block deploy. It's definitely not a back-end issue though

@roryabraham roryabraham removed the DeployBlocker Indicates it should block deploying the API label Jul 18, 2024
@cretadn22
Copy link
Contributor

Proposal

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

Incorrect app navigation after clicking on back button on upgrade RHP

What is the root cause of that problem?

Don't pass backTo param when navigating to UpgradePage

Navigation.navigate(ROUTES.WORKSPACE_UPGRADE.getRoute(policyID, CONST.UPGRADE_FEATURE_INTRO_MAPPING.netsuite.alias));

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

Navigation.navigate(ROUTES.WORKSPACE_UPGRADE.getRoute(policyID, CONST.UPGRADE_FEATURE_INTRO_MAPPING.netsuite.alias));

Navigation.navigate(ROUTES.WORKSPACE_UPGRADE.getRoute(policyID, CONST.UPGRADE_FEATURE_INTRO_MAPPING.intacct.alias));

Add backTo props Navigation.getActiveRouteWithoutParams() as third prams:

For example:

 Navigation.navigate(ROUTES.WORKSPACE_UPGRADE.getRoute(policyID, CONST.UPGRADE_FEATURE_INTRO_MAPPING.netsuite.alias, Navigation.getActiveRouteWithoutParams());

What alternative solutions did you explore? (Optional)

@lanitochka17
Copy link
Author

The same issue is observed when performing other steps:

  1. Create a workspace
  2. Navigate to workspace settings page
  3. Click on More features > toggle Report fields
  4. Click on 'Upgrade' > click on 'Got it, thank'
Bug6546300_1721315740557.Screen_Recording_2024-07-18_at_6.08.30_in_the_evening.mp4

@trjExpensify
Copy link
Contributor

@allroundexperts @garrettmknight @rushatgabhane pretty sure GK just created an issue for this: #45692

@garrettmknight
Copy link
Contributor

Yeah, this is a dupe and also not a blocker. Closing in favor of the other one.

@cretadn22
Copy link
Contributor

@garrettmknight This isn't dupe. Could you please check the description?

@cretadn22
Copy link
Contributor

Go to staging.new.expensify.com
Go to More features.
Scroll down.
Toggle on Report fields.
Click on the back button on RHP.
Note that the page scrolls up.
Enable Accounting.
Go to Accounting.
Toggle on NetSuite.
Click on the back button on RHP.
Note that app returns to workspace profile page.

@garrettmknight
Copy link
Contributor

Sorry @cretadn22 - I think I closed the wrong issue. Reopening here, but @allroundexperts might already be fixing this one in a separate PR.

@garrettmknight garrettmknight added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Engineering labels Jul 19, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 31, 2024
@melvin-bot melvin-bot bot changed the title [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP [HOLD for payment 2024-08-07] [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP Jul 31, 2024
Copy link

melvin-bot bot commented Jul 31, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 31, 2024
Copy link

melvin-bot bot commented Jul 31, 2024

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

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

Copy link

melvin-bot bot commented Jul 31, 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:

  • [@allroundexperts] The PR that introduced the bug has been identified. Link to the PR:
  • [@allroundexperts] 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:
  • [@allroundexperts] 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:
  • [@allroundexperts] Determine if we should create a regression test for this bug.
  • [@allroundexperts] 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.
  • [@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jul 31, 2024
@garrettmknight garrettmknight removed the Awaiting Payment Auto-added when associated PR is deployed to production label Aug 7, 2024
@garrettmknight
Copy link
Contributor

Also taking this one off the payment hold while we wait for the updated PR to ship.

@garrettmknight garrettmknight changed the title [HOLD for payment 2024-08-07] [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP Aug 7, 2024
Copy link

melvin-bot bot commented Aug 14, 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.

Copy link

melvin-bot bot commented Aug 15, 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.

@garrettmknight
Copy link
Contributor

Going to keep this one open to confirm payment with @rushatgabhane for his review. Slack convo here.

@garrettmknight garrettmknight added the Awaiting Payment Auto-added when associated PR is deployed to production label Aug 28, 2024
@garrettmknight garrettmknight changed the title [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP [HOLD for payment 2024-08-26] [Upgrades] [$250] Workspace - Incorrect app navigation after clicking on back button on upgrade RHP Aug 28, 2024
@garrettmknight garrettmknight added Daily KSv2 Weekly KSv2 and removed Weekly KSv2 Daily KSv2 labels Aug 28, 2024
@garrettmknight
Copy link
Contributor

Closing - still waiting on @rushatgabhane to request payment though.

@JmillsExpensify
Copy link

JmillsExpensify commented Sep 2, 2024

Payment summary:

@garrettmknight
Copy link
Contributor

$250 approved for @rushatgabhane

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. Reviewing Has a PR in review Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

10 participants