You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Hold on 29107] [$500] [MEDIUM] Tag - Selected tag in split request only appears in the Recent list after details are entered #34996
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Version Number: 1.4.30-0 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:
While the scanning is ongoing, open category and tag to check Recent list in manual request confirmation page
Click on the split preview
Manually enter the details and click Split
Repeat Step 3
Expected Result:
In Step 3, the selected tag will be present in the Recent list, like category
Actual Result:
In Step 3, the selected tag is missing in the Recent list, unlike category
The selected tag only appears in the Recent list after the details are entered manually in Step 5
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Tag - Selected tag in split request only appears in the Recent list after details are entered[/-][+][$500] Tag - Selected tag in split request only appears in the Recent list after details are entered[/+]on Jan 23, 2024
@s-alves10 Thanks for the proposal. Your RCA is correct. However I think we should just put this issue on hold as wave 5 clean up should fix this. EditSplitBillPage will be removed.
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Activity
[-]Tag - Selected tag in split request only appears in the Recent list after details are entered[/-][+][$500] Tag - Selected tag in split request only appears in the Recent list after details are entered[/+]melvin-bot commentedon Jan 23, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01728abc54f34f3deb
melvin-bot commentedon Jan 23, 2024
Triggered auto assignment to @peterdbarkerUK (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jan 23, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)lanitochka17 commentedon Jan 23, 2024
We think that this bug might be related to #wave6.
CC @greg-schroeder
dummy-1111 commentedon Jan 24, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Previously selected tags doesn't appear in the recent list when editing spilt bill
What is the root cause of that problem?
When editing tag in split bill edit page, EditRequestTagPage page is displayed as you can see below
App/src/pages/EditSplitBillPage.js
Lines 149 to 156 in 3ce7dc7
As you can see, we don't pass
tagNameprops to theEditRequestTagPagecomponent. So thetagNamevalue isundefinedhereApp/src/pages/EditRequestTagPage.js
Line 48 in 3ce7dc7
In the TagPicker component, we get recently used tags list using this
tagvalueApp/src/components/TagPicker/index.js
Line 21 in ecf641e
tagisundefinedhere and sopolicyRecentlyUsedTagsListbecomes[]This is the root cause
What changes do you think we should make in order to solve the problem?
We get the tag value as the first key of
policyTagsas you can see belowApp/src/pages/iou/request/step/IOURequestStepTag.js
Line 55 in c0fbb97
App/src/pages/iou/MoneyRequestTagPage.js
Line 59 in c0fbb97
I think we don't need
tagprops inTagPickercomponent and can get its value from thepolicyTagsRemove
tagprops from theTagPickerand updateApp/src/components/TagPicker/index.js
Line 21 in ecf641e
to
This works as expected
Result
34996.mp4
What alternative solutions did you explore? (Optional)
Of course we can pass the right value of
tagNameinEditSplitBillPagebut I think the suggested solution is the bests77rt commentedon Jan 25, 2024
@s-alves10 Thanks for the proposal. Your RCA is correct. However I think we should just put this issue on hold as wave 5 clean up should fix this.
EditSplitBillPagewill be removed.s77rt commentedon Jan 25, 2024
@peterdbarkerUK Let's put this on hold for #29107
55 remaining items
s77rt commentedon Apr 15, 2024
Same ^
s77rt commentedon Apr 23, 2024
Still on hold.
s77rt commentedon May 3, 2024
Same ^
s77rt commentedon May 13, 2024
This is fixed. We can close the issue. cc @anmurali