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-11-13] [HOLD for payment 2024-11-11] Workspace - categories edited online are greyed out in settings when offline #51812

Closed
1 of 8 tasks
lanitochka17 opened this issue Oct 31, 2024 · 14 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering 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?: N
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
Issue reported by: Applause - Internal Team

Action Performed:

  1. Sign in to staging.new.expensify.com
  2. Navigate to a workspace > Categories
  3. Edit " Travel" category
  4. Disable internet
  5. Navigate to settings

Expected Result:

All options are not greyed out

Actual Result:

Categories edited online appear greyed out when navigating to setting offline

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
Bug6651185_1730384453204.video_2024-10-31_17-20-01.mp4

View all open jobs on GitHub

@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 @yuwenmemon (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.

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 31, 2024

Proposal

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

Categories edited online appear greyed out when navigating to setting offline

What is the root cause of that problem?

Offending PR: #51390

updatedGroups[key] = group.category === oldCategoryName ? {...group, category: newCategoryName, pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE} : group;

const updatedMccGroup = CategoryUtils.updateCategoryInMccGroup(clonedMccGroup, policyCategory.oldName, policyCategory.newName);

mccGroup: updatedMccGroup,

We updated pendingAction for mccGroup in optimisticData but did not reset it in successData.

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

Reset the pendingAction for mccGroup in successData in renamePolicyCategory.

@lanitochka17
Copy link
Author

Production:

bandicam.2024-10-31.16-38-43-605.mp4

@Nodebrute
Copy link
Contributor

Offending PR #51390. The failure data is also incorrect, it should be mccGroup.
https://github.com/Expensify/App/pull/51390/files#diff-fe9bfd658e57c4e63236b195c38af47ab024fc4428a9264c931adcd60c760c19R646

@youssef-lr
Copy link
Contributor

@huult are you available to make a quick PR fixing the failure data?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Oct 31, 2024
@youssef-lr
Copy link
Contributor

@huult
Copy link
Contributor

huult commented Oct 31, 2024

@youssef-lr Please wait; I will create the pull requests within 12 hours.

@yuwenmemon
Copy link
Contributor

@huult We've already deployed a revert but feel free to work on a fix with the same changes.

@yuwenmemon yuwenmemon removed the DeployBlockerCash This issue or pull request should block deployment label Oct 31, 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 Nov 4, 2024
@melvin-bot melvin-bot bot changed the title Workspace - categories edited online are greyed out in settings when offline [HOLD for payment 2024-11-11] Workspace - categories edited online are greyed out in settings when offline Nov 4, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 4, 2024
Copy link

melvin-bot bot commented Nov 4, 2024

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

Copy link

melvin-bot bot commented Nov 4, 2024

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

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Nov 6, 2024
@melvin-bot melvin-bot bot added the Weekly KSv2 label Nov 6, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-11-11] Workspace - categories edited online are greyed out in settings when offline [HOLD for payment 2024-11-13] [HOLD for payment 2024-11-11] Workspace - categories edited online are greyed out in settings when offline Nov 6, 2024
Copy link

melvin-bot bot commented Nov 6, 2024

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

Copy link

melvin-bot bot commented Nov 13, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 15, 2024
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 Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants