-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Web - Report is not highlighted even if context menu is open #26952
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Report is not highlighted even if context menu is open. What is the root cause of that problem?When we right click on any report in LHS for the first time, the isContextMenuActive state is set to true and ReportActionContextMenu.showContextMenu function is called in which we pass a callback which runs on popoverHide & sets the isContextMenuActive state to false. Now when we right click on the same report the isContextMenuActive state is set to true again but now after the state is set to true the onHide callback runs and sets isContextMenuActiveto false because we closed the first popover. App/src/components/LHNOptionsList/OptionRowLHN.js Lines 116 to 133 in 1bdc5ac
What changes do you think we should make in order to solve the problem?We have a parameter in ReportActionContextMenu.showContextMenu for passing a function which runs when the context menu is shown, we can pass a function just like we do for setting the isContextMenuActive state to false when the popover closes and we can remove the setIsContextMenuActive(true) from showPopover. Result |
@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Dupe of #25582 |
@bernhardoj , I don't see this as dupe because this one happens on the reports in the LHS and the other one happens on the report action item though problem is the same but fixing that one will not fix this. |
@Krishna2323 ah you're right. My bad. |
I'm confused why this is a bug though. The LHN should always highlight the report that is in the main chat window. |
@JmillsExpensify, the report is not highlighted but it should be when context menu is open, when you right click on the LHN item the item stays highlighted but when you again right click on it without closing the first context menu it doesn't stay highlighted. |
@JmillsExpensify Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify Still overdue 6 days?! Let's take care of this! |
@JmillsExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@JmillsExpensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@JmillsExpensify 12 days overdue now... This issue's end is nigh! |
@JmillsExpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
This issue has not been updated in over 14 days. @JmillsExpensify eroding to Weekly issue. |
@JmillsExpensify, bump.
|
@JmillsExpensify this issue is now 4 weeks old and preventing us from maintaining WAQ. This should now be your highest priority. Please post below what your plan is to get a PR in review ASAP. Thanks! |
Job added to Upwork: https://www.upwork.com/jobs/~011686c8222a068c45 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia ( |
@thesahindia @JmillsExpensify , this should be external I think, I already have a proposal to fix it. |
@JmillsExpensify @thesahindia, bump. |
This should have been handled in #25582 as they both have the same root cause and just happen in different places. |
Looks similar issue, i can raise the PR. |
Ideally, this issue should have been marked dupe and notified on original issue initially. Since we were unaware of this issue, the other PR(#28639) didn't target this place of issue and the other PR is merged. |
@abdulrahuman5196, IMO I should be assigned here because I already submitted the proposal a month ago. Thanks for pointing out that. |
It was marked as dupe here by @bernhardoj. |
@aimane-chnaif, but later he said it can be fixed separately and the file and is also different and this only happens in mac because we are updating the state but at wrong place. |
@aimane-chnaif IMO i think it should've been handled here if it is a dupe or not, which was already attempted by @bernhardoj |
@JmillsExpensify, @thesahindia Eep! 4 days overdue now. Issues have feelings too... |
Agree that @bernhardoj marked this issue as a dupe long ago. I was simply curious why it was a bug, though in any case, it's a dupe so we should close it. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The report should be highlighted when context menu is open.
Actual Result:
The report is not highlighted when context menu is open.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.65.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
Notes/Photos/Videos: Any additional supporting documentation
Monosnap.screencast.2023-09-01.01-41-42.1.mp4
2023-09-07.15.12.12.mov
**Expensify/Expensify
Issue reported by: @Krishna2323
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693512993104379
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: