-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-02-07] [$500] [MEDIUM] Tags: Selected tag in Parent: Child format shows up multiple times in the search result list #32203
Comments
Triggered auto assignment to @greg-schroeder ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e80f76d4f90d5b88 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
It looks like a regression |
Yep regression Need to take the backslash cleaning code to here Lines 187 to 188 in 70813db
|
But @jjcoffee Can we utilize |
This comment was marked as outdated.
This comment was marked as outdated.
I think this is better fixed on the backend. In general if you're getting data from a BE and you need to modify it for presentation purposes, you do not really modify the data itself, you only modify it when presenting it on the screen. The reason for this is that the backend will send you Also, there seem to be some of inconsistencies. The API that returns all tags for a given Policy will add the Fixing the backend so that slashes are not added in the first place is the proper way to fix it IMO. |
I know it is best to fix it on BE @barros001 but it is not and it is decided it should be treated in FE that's why we worked on it maybe to treat the case where the user's have already created |
@FitseTLT Would you mind writing up your proposed fix in the proposal template format? Just so we can understand fully before moving ahead with it. |
@FitseTLT Yes, but I'd like to understand the fix before going ahead with it. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Selected tag in Parent: Child format shows up multiple times in the search result list What is the root cause of that problem?The root cause is App/src/components/TagPicker/index.js Lines 46 to 47 in e0d34b8
the filter here doesn't work as intended because policyTagList contains the uncleaned tags (from backslashes) while the selected tag is the cleaned tag so it is not filtered out and one from the policyTagList and one for the selected appear in the search result.
What changes do you think we should make in order to solve the problem?We should clean policy tags in
What alternative solutions did you explore? (Optional) |
Okay so by moving the cleanup to 🎀👀🎀 C+ reviewed |
Thanks @FitseTLT! At least one platform video, please |
Added Android mWeb video. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 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-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Okay ... so this is a super confusing saga related to this. From what I can tell:
I don't think a regression penalty was actually applied from what I can tell, so based on everything here I don't think we will issue additional payments for this issue, as it's fixing multiple regressions with the same C/C+ involved, who were already paid the full price of the original. |
filed regression test per #32203 (comment) |
@greg-schroeder I haven't received any payments on #30734. Since that issue was closed in favour of this one, I just ended the Upwork contract for it, maybe that's where the confusion stems from? (Note Milestones paid is $0) |
Hmm. When I looked at this yesterday it showed Paid, let me check again. |
Ah. Well. It shows paid for @FitseTLT: However, you're right, it just shows as |
I generated a new offer @jjcoffee - I'll pay ASAP once you accept, sorry about that! |
@greg-schroeder Haha oh I understand the confusion then, no worries at all! Offer accepted, thanks for looking into it! |
@greg-schroeder Friendly bump to complete the payout on the offer 🙇 |
done, sorry |
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.5.3
Reproducible in staging?: y
Reproducible in production?: y
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:
Issue found when executing PR #31775
Action Performed:
Precondition:
Expected Result:
The selected tag will not show up multiple times.
Actual Result:
The selected tag shows up multiple times.
This issue only happens with tags in Parent: Child format.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6294857_1701277413365.bandicam_2023-11-29_23-43-36-515.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: