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

Tag - Violation in expense preview does not show specific tag next to RBR #38124

Closed
6 tasks done
kavimuru opened this issue Mar 12, 2024 · 11 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Mar 12, 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!


Issue found when validating #37461
Version Number: 1.4.50-2
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: applause internal team

Action Performed:

Precondition:

  • User is an employee of Collect workspaces that have independent and dependent multilevel tags.
  • Tag requirement is toggled on.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create a manual request without tags.
  4. Go to request details page.
  5. Select all the tags but leaving one of tags blank.
  6. Click on the thread header subtitle to return to expense report.

Expected Result:

The violation will show "missing " next to RBR.

Actual Result:

The violation shows "missing tag" next to RBR.

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

Bug6410638_1710217481317.20240312_121530.mp4

Bug6410638_1710217481315!independant_tag.csv

View all open jobs on GitHub

@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 12, 2024
Copy link

melvin-bot bot commented Mar 12, 2024

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@kavimuru
Copy link
Author

We think this bug might be related to #wave-control
cc @JmillsExpensify

@kavimuru
Copy link
Author

@trjExpensify 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.

@trjExpensify
Copy link
Contributor

@cead22 @JmillsExpensify - I think this is pretty minor if it's a bug, but I'm not sure if we do have the name of the tag missing displayed on the preview component itself in the first place.

@melvin-bot melvin-bot bot added the Overdue label Mar 14, 2024
@JmillsExpensify
Copy link

No we don't.

@JmillsExpensify
Copy link

We could add it, though the nice thing about Tag is that we know the message can fit every time. There are some customers with some long names for the tag fields. So this just keep the design more consistent.

@trjExpensify
Copy link
Contributor

Cool, if it's expected, I'm fine with it. Let's close!

@cead22
Copy link
Contributor

cead22 commented Mar 14, 2024

This is actually not expected, and we can make this work such that the violation says "Missing Department" instead of "Missing Tag". If the tag name ends up being too long, our existing logic will show "Review required".

I'm going to reopen to use this issue to clean up some of the code for multi-tag violations and fix this. Let me know if you disagree

@cead22 cead22 reopened this Mar 14, 2024
@cead22 cead22 self-assigned this Mar 14, 2024
@trjExpensify
Copy link
Contributor

Oh haha, neat. I agree if it's expected, let's keep it open. 👍

@cead22 cead22 added the Reviewing Has a PR in review label Mar 14, 2024
@cead22 cead22 closed this as completed Mar 19, 2024
@kbecciv
Copy link

kbecciv commented Mar 21, 2024

Reopen by comment #38124 (comment)

@kbecciv kbecciv reopened this Mar 21, 2024
@cead22
Copy link
Contributor

cead22 commented Mar 25, 2024

The fix for this was deployed last week

@cead22 cead22 closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

5 participants