-
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
[HOLD for payment 2023-10-16] [$1000] Web - Chat - Hover effect lost after opening popover again before closing it. #25582
Comments
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Hover effect lost after opening context menu popover again before closing the opened one. What is the root cause of that problem?We are passing App/src/pages/home/report/ContextMenu/ReportActionContextMenu.js Lines 59 to 60 in 4a7558c
App/src/pages/home/report/ReportActionItem.js Lines 226 to 227 in 4a7558c
when we set isContextMenuActive to true here, when the previous context menu closes it will replace our true value with false. because What changes do you think we should make in order to solve the problem?We should set App/src/pages/home/report/ReportActionItem.js Line 215 in 4a7558c
We should move App/src/pages/home/report/ReportActionItem.js Line 226 in 4a7558c
() => setIsContextMenuActive(true), Result: Screen.Recording.2023-08-21.at.5.57.56.PM.movWhat alternative solutions did you explore? (Optional) |
@getusha I am about to propose the same solution but just wanted to understand the above point. |
App/src/pages/home/report/ReportActionItem.js Line 215 in 4a7558c
after the above update |
Job added to Upwork: https://www.upwork.com/jobs/~01c432588dbb79d8dd |
Current assignee @tjferriss is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
FYI: there's another solution by @allroundexperts: #24515 (comment) |
@aimane-chnaif i have a proposal here |
ProposalPlease re-state the problem that we are trying to solve in this issue.The hover effect is lost after opening popover again before closing it What is the root cause of that problem?In the popover App/src/pages/home/report/ReportActionItem.js Line 202 in 120bcbf
isContextMenuActive to become false, which overrides the true value that we set here, causing the hover to not display.
So the problem here is that we're still setting What changes do you think we should make in order to solve the problem?We need to make sure we don't set
This will make sure:
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hover effect is lost when we right-click the same report action. We can see this issue too on LHN. What is the root cause of that problem?I think everyone explains it really well. The hover effect is coming from App/src/pages/home/report/ReportActionItem.js Lines 217 to 231 in 893c2a5
When we right-click it the second time,
The reason we want to set What changes do you think we should make in order to solve the problem?Instead of using
|
@abdulrahuman5196 can you please review the proposals? |
@tjferriss, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Apologies for the delay. Will check and update soon |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I tested @getusha proposal #25582 (comment) on web and it seems to be working. It seemed the straightforward solution for now. But @bernhardoj pointed out the reason behind this original decision
I will check the effect of all the proposals on mobile devices and web as well and update again. |
@abdulrahuman5196 @pecanoro the PR is ready! |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
Just to note: This issue would be applicable for speed bonus, since the C+ approval was made before 3 days mark and there where no changes after that. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.79-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 2023-10-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Doesn't seem to be a regression. This issue should be present from before.
Yes.
|
@tjferriss I received $50 offer for reporting bonus, i think it should be $250 since this issue was created before the announcement. |
@pecanoro, @tjferriss, @abdulrahuman5196, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@tjferriss Friendly bump since this is waiting on you. |
The payments have been sent via Upworks. |
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 hover effect is present
Actual Result:
The hover effect is lost
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.55-7
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
Screen.Recording.2023-08-11.At.12.12.21.Pm.mp4
20230821_200158.mp4
Expensify/Expensify Issue URL:
Issue reported by: @getusha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691745427354299
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: