App: [Wave 6: Tags][$500][HOLD https://github.com/Expensify/App/issues/32735] Tag - Two tags are highlighted when one sub-tag is selected

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: Y Reproducible in staging?: N Reproducible in production?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:

Action Performed:

Precondition: User is a member of workspace that has some tags in Parent: Child format. There has to be at least 9 tags in the policy.

  1. Go to the workspace chat
  2. Click + > Request money > Manual
  3. Enter amount > Next
  4. Click Show more > Tag
  5. Select a subcategory
  6. Click Tag

Expected Result:

Only the selected tag is highlighted

Actual Result:

Two tags are highlighted when a sub-tag is selected

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

https://github.com/Expensify/App/assets/78819774/f6fefd51-6014-4bac-9e17-d8cde0baef52

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01da048e9d51f0937c
  • Upwork Job ID: 1732341978058440704
  • Last Price Increase: 2023-12-13

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 41 (27 by maintainers)

Most upvoted comments

@aldo-expensify Let’s assign @dukenv0307 here, thanks!

@aldo-expensify Tags in form of Parent: child will still show nested in the tag list (like the Accounting > Child 2 below), my proposal is only so that the selected one will not show nested, so it will look like this (which is consistent with the categories)

Oh, I understand now, for a moment I thought it was going to remove all nesting, but it only does for the selected item. That looks good to me then, specially if it is consistent with categories.

Thanks, I got the tags working now!

@lanitochka17 what was the account used to reproduce this? Otherwise, can we have clearer steps on how to create the tags in the “Precondition”? I tried creating a workspace with multilevel tags in OldDot and I don’t see what you see in the video. I don’t see multiple levels.