Skip to content

[Due for payment 2025-08-13] [$250] Bug: Fix dependent tag highlighting for new tag rows. #65976

Closed

Description

@yuwenmemon

Coming from https://expensify.slack.com/archives/C049HHMV9SM/p1750675625449369

Original GH: #64544

Issue for @allgandalf

Problem

We have updated the highlighting logic for Tag rows so that it will only be in effect for dependent tags for now. However, we still have the problem where we are incorrectly highlighting the tag row when dependent tags are enabled. We should only highlight the tag row when a new child tag is initiated by the selection of a parent tag.

CleanShot.2025-07-11.at.12.47.48.mp4

Solution

Fix the logic for dependent tags selection, most likely here, to only highlight for new child tag rows.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021943750901574452821
  • Upwork Job ID: 1943750901574452821
  • Last Price Increase: 2025-07-11
  • Automatic offers:
    • allgandalf | Contributor | 108010506
    • QichenZhu | Reviewer | 108335674
Issue OwnerCurrent Issue Owner: @strepanier03

Activity

  1. added
    Daily
    Improvement
    External
    Bug
    on Jul 11, 2025
  2. changed the title [-]Bug: Fix dependent tag highlighting for new tag rows.[/-] [+][$250] Bug: Fix dependent tag highlighting for new tag rows.[/+] on Jul 11, 2025
  3. melvin-bot commented on Jul 11, 2025

    @melvin-bot
  4. added
    Help Wanted
    and removed
    Help Wanted
    on Jul 11, 2025
  5. melvin-bot commented on Jul 11, 2025

    @melvin-bot

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

  6. melvin-bot commented on Jul 11, 2025

    @melvin-bot

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

  7. melvin-bot commented on Jul 11, 2025

    @melvin-bot

    📣 @allgandalf 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job
    Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
    Keep in mind: Code of Conduct | Contributing 📖

  8. 33 remaining items

  9. allgandalf commented on Aug 13, 2025

    @allgandalf
    Contributor

    I'm not sure if i'm eligible for payment here, @yuwenmemon can you please help with this, this originally stemmed from the project we worked on but this particular bug was a lot complex to solve

  10. strepanier03 commented on Aug 14, 2025

    @strepanier03
    Contributor

    Payment summary

  11. strepanier03 commented on Aug 14, 2025

    @strepanier03
    Contributor

    I can remvoe you from the payment summary @allgandalf once we know if you should be paid or not.

    @eh2077 do you need a checklist and reg test for this?

  12. eh2077 commented on Aug 15, 2025

    @eh2077
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    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: This is a follow-up improvement of [Multi-tags] Expense: Selecting Dependent Tags #62483

    • [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: NA

    • [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.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    • Have a workspace with multi level dependent tags added

    Test:

    1. Create expense
    2. Open it
    3. Select or deselect a tag
    4. Verify that the child tag row is only highlighted when we select a parent tag
    5. Verify that reopen the expense or refresh the expense report don't have highlight effect on the tag row

    Do we agree 👍 or 👎

  13. eh2077 commented on Aug 15, 2025

    @eh2077
    Contributor

    @strepanier03 Thanks for the reminder! Checklist completed.

  14. allgandalf commented on Aug 18, 2025

    @allgandalf
    Contributor
  15. yuwenmemon commented on Aug 18, 2025

    @yuwenmemon
    ContributorAuthor

    👍🏽 For payment to @allgandalf

  16. strepanier03 commented on Aug 18, 2025

    @strepanier03
    Contributor

    Payment summary is here and I paid the contract for @allgandalf as well. Closing this out.

  17. flaviadefaria commented on Sep 8, 2025

    @flaviadefaria
    Contributor

    $250 approved for @eh2077

  18. garrettmknight commented on Sep 11, 2025

    @garrettmknight
    Contributor

    $250 approved for @eh2077

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternalImprovement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions