Closed lanitochka17 closed 4 weeks ago
Triggered auto assignment to @puneetlath (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
We think that this bug might be related to #wave-control
@puneetlath 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
Job added to Upwork: https://www.upwork.com/jobs/~014197c427158deea5
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (External
)
Tags settings βTags not appears in the LHP of the workspace settings if added in OldDot
and Warning: Maximum update depth exceeded
loop bug occurs
The root cause is when the report field enabling comes from OD enabledItem
is set to the reportField item so highlighted
will be true for the reportField item
https://github.com/Expensify/App/blob/d4d5a2586910ff46147219ee3e98bb3e936f8037/src/pages/workspace/WorkspaceInitialPage.tsx#L433-L434
But the problem is shouldHighlight
will be fixed to be true in useAnimatedHighlightStyle
which will set startHighlight
https://github.com/Expensify/App/blob/d4d5a2586910ff46147219ee3e98bb3e936f8037/src/hooks/useAnimatedHighlightStyle/index.ts#L68-L69
and that will in turn run this effect
https://github.com/Expensify/App/blob/d4d5a2586910ff46147219ee3e98bb3e936f8037/src/hooks/useAnimatedHighlightStyle/index.ts#L75-L76
which will set it to false so we will get into a loop and Warning: Maximum update depth exceeded
occurs.
The starting of the highlight should only be triggered on shouldHighlight
change not be triggered continously if it is true which will cause a loop as in this current issue.
So we need to change
https://github.com/Expensify/App/blob/d4d5a2586910ff46147219ee3e98bb3e936f8037/src/hooks/useAnimatedHighlightStyle/index.ts#L69-L70
}, [shouldHighlight]);
@puneetlath, @alitoshmatov Huh... This is 4 days overdue. Who can take care of this?
@FitseTLT Thank you for your proposal. You solution is fixing Maximum update depth exceeded
error but toggle is not getting enabled.
There is just a lot of issue going on here. For example when there is a change in old dot, Report fields
toggle is getting enabled but it is not getting added to workspace menu. Moreover the same happening after some changes in old dot, the Report fields
is not appearing in the menu after enabling it using toggle
@FitseTLT Thank you for your proposal. You solution is fixing
Maximum update depth exceeded
error but toggle is not getting enabled.There is just a lot of issue going on here. For example when there is a change in old dot,
Report fields
toggle is getting enabled but it is not getting added to workspace menu. Moreover the same happening after some changes in old dot, theReport fields
is not appearing in the menu after enabling it using toggle
I don't understand @alitoshmatov Everything is working fine for me:
https://github.com/user-attachments/assets/a35a96cd-65c6-4e62-ba3a-2fe6e24c7b19
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
@puneetlath, @alitoshmatov Whoops! This issue is 2 days overdue. Let's get this updated quick!
@alitoshmatov any thoughts?
@puneetlath @alitoshmatov this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
Sorry for late response, @FitseTLT I remember having some issues back then but now everything is working correctly after applying your solution maybe messed up something last time.
We can go with @FitseTLT 's proposal
C+ reviewed π π π
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.
π£ @alitoshmatov π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @FitseTLT π 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 π
This issue has not been updated in over 15 days. @puneetlath, @FitseTLT, @alitoshmatov eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
@puneetlath payment overdue here
This issue eroded to monthly issue. The pr went into production on 20th of september.
All paid. Sorry for the delay.
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: 9.0.21-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4864753&group_by=cases:section_id&group_id=316342&group_order=asc Email or phone of affected tester (no customers): applausetester+omco4@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Precondition: create Control workspace in OD
Expected Result:
"Report Fields" button should be be displayed green color and toggle on state should be enabled
Actual Result:
"Report Fields" buttons changed color to green, but toggle button state remains disabled (the the dot inside the button is oriented incorrectly)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/91514fd0-a4a9-4768-a15c-18a04e11ad84
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alitoshmatov