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-03-22] [$500] Tag - Selected tag in Parent: Child format is displayed as Parent\: Child in split menu #37289

Closed
6 tasks done
lanitochka17 opened this issue Feb 27, 2024 · 27 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 27, 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: 1.4.44-0
Reproducible in staging?: Y
Reproducible in production?: N
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 an employee of paid workspace
  • The paid workspace has tags in Parent: Child format
  1. Go to workspace chat
  2. Go to + > Split bill > Scan
  3. Select a receipt
  4. Click Tag
  5. Select a tag in Parent: Child format
  6. Click Split
  7. Click on the split preview

Expected Result:

The selected Tag in Parent: Child format will be displayed correctly in the split menu

Actual Result:

The selected Tag in Parent: Child format is displayed as Parent: Child in split menu

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

Bug6393834_1709031573949.20240227_080353.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a0f7b9261707ddc4
  • Upwork Job ID: 1762476499067256832
  • Last Price Increase: 2024-03-06
  • Automatic offers:
    • dukenv0307 | Contributor | 0
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 27, 2024
@melvin-bot melvin-bot bot changed the title Tag - Selected tag in Parent: Child format is displayed as Parent\: Child in split menu [$500] Tag - Selected tag in Parent: Child format is displayed as Parent\: Child in split menu Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01a0f7b9261707ddc4

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 27, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 27, 2024
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.

Copy link

melvin-bot bot commented Feb 27, 2024

Triggered auto assignment to @iwiznia (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-split-p2p-chat-groups
CC @arielgreen

@FitseTLT
Copy link
Contributor

FitseTLT commented Feb 27, 2024

Proposal

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

Tag - Selected tag in Parent: Child format is displayed as Parent: Child in split menu

What is the root cause of that problem?

When implementing multilevel tags in #34983 we missed the colon cleaning code here

title={TransactionUtils.getTag(transaction, index)}
description={name}

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

we should clean the escaping char as

                                title={PolicyUtils.getCleanedTagName(TransactionUtils.getTag(transaction, index))}

What alternative solutions did you explore? (Optional)

@dukenv0307
Copy link
Contributor

Proposal

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

  • Tag - Selected tag in Parent: Child format is displayed as Parent: Child in split menu

What is the root cause of that problem?

  • In here we do not use getTagForDisplay to display the tag, that leads to the bug (see PR)

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

  • We should use title={TransactionUtils.getTagForDisplay(transaction, index)} instead

What alternative solutions did you explore? (Optional)

  • NA

@iwiznia
Copy link
Contributor

iwiznia commented Feb 27, 2024

Context https://expensify.slack.com/archives/C01GTK53T8Q/p1709049225214569
Seems this was fixed in #36978

@kbecciv
Copy link

kbecciv commented Mar 5, 2024

QA team is able to reproduce the issue on build 1.4.47.0
Account - applausetester+kh040301@applause.expensifail.com

bandicam 2024-03-06 00-57-13-029

Copy link

melvin-bot bot commented Mar 6, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@iwiznia iwiznia assigned yuwenmemon and unassigned iwiznia Mar 6, 2024
@yuwenmemon yuwenmemon removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Mar 6, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 11, 2024
Copy link

melvin-bot bot commented Mar 11, 2024

📣 @dukenv0307 🎉 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 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 12, 2024
@dukenv0307
Copy link
Contributor

@mananjadhav PR #38111 is ready to review

@mananjadhav
Copy link
Collaborator

Done with the PR Review, waiting on @yuwenmemon now.

@yuwenmemon
Copy link
Contributor

Merged!

Copy link

melvin-bot bot commented Mar 13, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 15, 2024
@melvin-bot melvin-bot bot changed the title [$500] Tag - Selected tag in Parent: Child format is displayed as Parent\: Child in split menu [HOLD for payment 2024-03-22] [$500] Tag - Selected tag in Parent: Child format is displayed as Parent\: Child in split menu Mar 15, 2024
Copy link

melvin-bot bot commented Mar 15, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 15, 2024
Copy link

melvin-bot bot commented Mar 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.52-6 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-03-22. 🎊

For reference, here are some details about the assignees on this issue:

@mananjadhav
Copy link
Collaborator

mananjadhav commented Mar 22, 2024

We replaced the PolicyUtils.getCleanedTagName(props.iouTag) here with TransactionUtils.getTag(transaction, index) which caused the issue. I posted this comment.

I am not sure if we should be adding a regression test here. @yuwenmemon wdyt? Also can you assign a BZ member here for the payout?

@mananjadhav
Copy link
Collaborator

Quick bump @yuwenmemon

@JmillsExpensify JmillsExpensify added the Bug Something is broken. Auto assigns a BugZero manager. label Mar 25, 2024
Copy link

melvin-bot bot commented Mar 25, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 25, 2024
@JmillsExpensify
Copy link

@adelekennedy Can you provide a payment summary and help with payouts please. Thanks!

@adelekennedy
Copy link

Payouts due:

Contributor: $500 @dukenv0307 (Upwork)
Contributor+: $500 @mananjadhav (NewDot)

Upwork job is here.

@JmillsExpensify
Copy link

$500 approved for @mananjadhav.

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants