-
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 2023-07-10] [$1000] Report List option is not highlighted on long pressing in LNH #21066
Comments
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease restate the problemReport is not selected in LNH on long pressing for context menu. What do you think is the root cause of the problem?We have no logic in place to highlight the selected report in LNH. What changes do you think we should make to fix that problem?We should first add a state variable to track the context menu called App/src/components/LHNOptionsList/OptionRowLHN.js Lines 93 to 108 in 93957f0
We should add setIsContextMenuActive(true) when called and pass () => setIsContextMenuActive(false) to the onHide parameter of the ReportActionContextMenu.showContextMenu 3. Finally on line 137 in OptionRowLNH.js https://github.com/Expensify/App/blob/93957f0eb66a7e6998365b201a4c54ea2029ff60/src/components/LHNOptionsList/OptionRowLHN.js#LL137C5-L137C5 We need to modify the condition to the following: props.isFocused || isContextMenuActive Result: https://github.com/Expensify/App/assets/77237602/754c692e-e2f7-4778-ac61-e9cdd3b6da6d What other alternatives did you explore (optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01999e34796fd5152c |
Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
@mallenexpensify Sure; I will review the proposal today! |
Hi, Hope you're doing well. |
📣 @Ali-ch88! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Hi, Hope you're doing well. |
ProposalPlease restate the problem
What do you think is the root cause of the problem?
What changes do you think we should make to fix that problem?
Fixed: Fix-HighlightReportContextMenu.mp4What other alternatives did you explore (optional)
|
@jeet-dhandha but where is the report list in your video? |
@Ali-ch88 As you know the issue is that when long pressing / Right clicking on the Before:After: |
Contributor details |
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Thanks for the proposal @jeet-dhandha but I think using context is over-engineer. @mallenexpensify May I know the expected highlighted color for the focus LHN item? |
@mollfpr I had to use context as i am not able to get |
@mollfpr I think the highlight color should be the dark one, the same as when you're hovering over a row in LHN with your pointer. |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @esh-g You have been assigned to this job by @roryabraham! |
@mollfpr @roryabraham The PR is here #21613 🚀 |
@esh-g @mollfpr, can you please accept the job? |
Thanks @mallenexpensify I have accepted |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-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-07-10. 🎊 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.
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:
|
Looks like the remaining TODOs here are BZ checklist and payments |
The first commit that adds the secondary interaction to show popover is #16079, but I don't think this is a bug but rather an improvement.
The regression steps should be enough.
|
bump @mallenexpensify I think this issue is due |
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 option should be highlighted to indicate which one is being pinned.
Actual Result:
No option is highlighted and the user cannot see which one is being pinned.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.27-2
Reproducible in staging?: yes
Reproducible in production?: yes
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-06-02.at.12.05.45.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686629557027629
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: