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-06-20] [HOLD for payment 2024-06-18] Workspace features-User not returned to WS settings after enabling Accounting in more features #42789

Closed
2 of 6 tasks
lanitochka17 opened this issue May 29, 2024 · 21 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@lanitochka17
Copy link

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

Issue found when executing PR #42026

Action Performed:

  1. Open the app and log in
  2. Create a new workspace
  3. Navigate to the workspace settings
  4. Open More features
  5. Enable Accounting

Expected Result:

User is returned to workspace settings, the Accounting feature is highlighted

Actual Result:

User is not returned to the workspace settings. The Accounting feature is not removed immediately after disabling

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

Bug6495362_1717004098448.video_2024-05-29_13-34-27.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @bfitzexpensify / @kadiealexander
Issue OwnerCurrent Issue Owner: @bfitzexpensify / @kadiealexander
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@lanitochka17
Copy link
Author

@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@Nodebrute
Copy link
Contributor

Nodebrute commented May 29, 2024

Proposal

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

Workspace features-User not returned to WS settings after enabling Accounting in more features

What is the root cause of that problem?

It's because we are not navigating after enabling policy connections

API.write(WRITE_COMMANDS.ENABLE_POLICY_CONNECTIONS, parameters, onyxData);
}

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

We can add after this

API.write(WRITE_COMMANDS.ENABLE_POLICY_CONNECTIONS, parameters, onyxData);
}

    if (enabled && getIsNarrowLayout()) {
        navigateWhenEnableFeature(policyID);
    }

What alternative solutions did you explore? (Optional)

@bfitzexpensify
Copy link
Contributor

@allroundexperts looks like this might have been caused by #42026 - mind checking?

@bfitzexpensify bfitzexpensify removed their assignment May 30, 2024
@bfitzexpensify bfitzexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 30, 2024
@Nodebrute
Copy link
Contributor

@bfitzexpensify Hey, It's not a regression from this #42026

Copy link

melvin-bot bot commented May 30, 2024

Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@bfitzexpensify bfitzexpensify self-assigned this May 30, 2024
@bfitzexpensify
Copy link
Contributor

Assigning a second BZ team member to this one while I head OOO from later on today until Tuesday June 11th.

@kadiealexander Next steps:

@Nodebrute
Copy link
Contributor

@kadiealexander Hey, this isn't a regression. We never implemented the feature to navigate after enabling accounting.

@melvin-bot melvin-bot bot added the Overdue label Jun 3, 2024
@kadiealexander
Copy link
Contributor

Thanks @Nodebrute! I'd like to get confirmation from someone who worked on the original issue, @sobitneupane could you please confirm since you were C+ on the original PR?

@melvin-bot melvin-bot bot removed the Overdue label Jun 4, 2024
@sobitneupane
Copy link
Contributor

@allroundexperts Looks like #39214 issue was not addressed in #42026 PR.

@allroundexperts
Copy link
Contributor

Yep, you're correct @sobitneupane. I'll create a PR for this.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jun 4, 2024
@allroundexperts
Copy link
Contributor

PR: #43043

Copy link

melvin-bot bot commented Jun 6, 2024

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

@thienlnam
Copy link
Contributor

Merged, it looks like we forgot to add this in a previous PR

@kadiealexander
Copy link
Contributor

@thienlnam do you think anyone is due payment here?

@thienlnam
Copy link
Contributor

Doesn't look like it since this was a feature that was missed as part of a previous PR - looks like we're good to close

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 11, 2024
@melvin-bot melvin-bot bot changed the title Workspace features-User not returned to WS settings after enabling Accounting in more features [HOLD for payment 2024-06-18] Workspace features-User not returned to WS settings after enabling Accounting in more features Jun 11, 2024
Copy link

melvin-bot bot commented Jun 11, 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 Jun 11, 2024
Copy link

melvin-bot bot commented Jun 11, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊

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

Copy link

melvin-bot bot commented Jun 11, 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.
  • [@bfitzexpensify / @kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 13, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-18] Workspace features-User not returned to WS settings after enabling Accounting in more features [HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] Workspace features-User not returned to WS settings after enabling Accounting in more features Jun 13, 2024
Copy link

melvin-bot bot commented Jun 13, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-06-20. 🎊

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

Copy link

melvin-bot bot commented Jun 13, 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.
  • [@bfitzexpensify / @kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

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. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants