Skip to content

[Due for payment 2025-05-30] [$600] Workspace - Category and Tag "Required" switch is enabled and locked evenif all tags are disable #55431

Closed

Description

@lanitochka17

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.87-0
Reproducible in staging?: Y
Reproducible in production?: Y
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
Email or phone of affected tester (no customers): testpayment935@gmail.com
Issue reported by: Applause - Internal Team
Component: Workspace Settings

Action Performed:

  1. Navigate to https://staging.new.expensify.com/
  2. Create WS and enable Tag
  3. Add some tags and enable "Members must tag all expenses" toggle
  4. Navigate to Category and enable "Members must categorize all expenses" toggle
  5. Select all Category and disable all category.
  6. Navigate to setting and note that the toggle is is disabled and locked
  7. Go back and navigate again and note that the toggle is enabled and locked
  8. Navigate to Tag and Select all tags.
  9. Disable all tags and navigate to setting and note that the toggle is enabled and locked

Expected Result:

The toggle is disabled and locked when all tags and categories are disabled

Actual Result:

The toggle is enabled and locked when all tags and categories are disabled

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
Bug6717031_1737140837036.bandicam_2025-01-17_21-46-17-653.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @alexpensify
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021896598139956436446
  • Upwork Job ID: 1896598139956436446
  • Last Price Increase: 2025-05-28
  • Automatic offers:
    • twilight2294 | Contributor | 106381697

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jan 17, 2025
  2. melvin-bot commented on Jan 17, 2025

    @melvin-bot

    Triggered auto assignment to @alexpensify (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.

  3. gijoe0295 commented on Jan 17, 2025

    @gijoe0295
    Contributor

    The second OpenPolicyCategoriesPage call when we dismiss the RHP returns policy's requiresCategory as true which is not correct, while the first same call returns false. This is BE related.

  4. allgandalf commented on Jan 18, 2025

    @allgandalf
    Contributor

    @alexpensify this is a BE issue, please use Internal label

  5. melvin-bot commented on Jan 21, 2025

    @melvin-bot

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

  6. alexpensify commented on Jan 22, 2025

    @alexpensify
    Contributor

    I'm adding Hot Pick, but I'm still reviewing which wave to associate with this one to get more attention.

  7. alexpensify commented on Jan 25, 2025

    @alexpensify
    Contributor

    Update: Hot Pick

  8. 124 remaining items

  9. melvin-bot commented on May 23, 2025

    @melvin-bot

    @s77rt @alexpensify @s77rt The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  10. twilight2294 commented on May 23, 2025

    @twilight2294
    Contributor

    @alexpensify @mollfpr can the compensation for this issue be increased here?. saying so cause the scope of the issue was vast, we did all the following in the PR:

    • Removed Requires categories & tags toggle turning off when all are disabled/delted.
    • Add blocking modal to block disabling last enabled Category.
    • Add blocking modal to block deleting last enabled Category.
    • Add blocking modal to block disabling last enabled Tag.
    • Add blocking modal to block deleting last enabled Tag.
    • Add blocking modal to block marking last required Multi-level tag as not required.

    Considering the wide scope, i think the compensation for this issue should be increased

  11. s77rt commented on May 25, 2025

    @s77rt
    Member

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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: fix: categorize all expense switch is not disabled #39036 (no comment as it's not clear what went wrong, we decided to choose another approach regardless)

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

      Bug requires regression test: No, we have added UI tests already

  12. mallenexpensify commented on May 27, 2025

    @mallenexpensify
    Contributor

    can the compensation for this issue be increased here?

    cc @tgolen too as you're the assigned engineer. Details and reasoning above

  13. s77rt commented on May 28, 2025

    @s77rt
    Member

    👋 Regarding the compensation, I think $600 would be fair.

    • Removed Requires categories & tags toggle turning off when all are disabled/delted.

      $50 as this is very straightforward task

    • Add blocking modal to block disabling last enabled Category.
      Add blocking modal to block deleting last enabled Category.

      $250 for handling category

    • Add blocking modal to block disabling last enabled Tag.
      Add blocking modal to block deleting last enabled Tag.

      $250 for handling tag

    • Add blocking modal to block marking last required Multi-level tag as not required.

      $50 because this is already a part of the tag work but it was kinda hidden

    cc @mallenexpensify @twilight2294

  14. changed the title [-][Due for payment 2025-05-30] [$250] Workspace - Category and Tag "Required" switch is enabled and locked evenif all tags are disable[/-] [+][Due for payment 2025-05-30] [$600] Workspace - Category and Tag "Required" switch is enabled and locked evenif all tags are disable[/+] on May 28, 2025
  15. melvin-bot commented on May 28, 2025

    @melvin-bot

    Upwork job price has been updated to $600

  16. mallenexpensify commented on May 28, 2025

    @mallenexpensify
    Contributor

    Thanks for the breakdown @s77rt, it makes it much easier to come to consensus on the job amount. I agree with $600 and updated the title to reflect the price 🚀

  17. tgolen commented on May 28, 2025

    @tgolen
    Contributor

    Yeah, sounds like a good price breakdown. Thanks for raising it @twilight2294!

  18. alexpensify commented on May 30, 2025

    @alexpensify
    Contributor

    Payment Summary

    Contributor: @twilight2294 paid $600 via Upwork
    Contributor+: @s77rt due $600 via NewDot-- please submit a request in Chat, thanks!

  19. JmillsExpensify commented on Jun 9, 2025

    @JmillsExpensify
    Contributor

    $600 approved for @s77rt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions