-
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
[Awaiting Checklist] [$500] Chat - Hovering menu option didn't hightlight the icon #28535
Comments
Triggered auto assignment to @twisterdotcom ( |
Job added to Upwork: https://www.upwork.com/jobs/~01afeb6d58d5ae9d6b |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Proposal by: @hungvu193 ProposalPlease re-state the problem that we are trying to solve in this issue.The icons from threedots menu are not highlight while hovering on it. What is the root cause of that problem?We added new UI in our threedots menu and adding new property App/src/pages/home/HeaderView.js Line 100 in 6093340
However, in our MenuItem logic, if we has iconFill props, our icon won't change the color when hovering:App/src/components/MenuItem.js Lines 198 to 204 in 6093340
What changes do you think we should make in order to solve the problem?In order to keep the fill={
StyleUtils.getIconFillColorForMenuItem(props.iconFill, shouldAcceptHoverState, props.focused || isHovered, pressed, props.success, props.disabled, props.interactive) ||
StyleUtils.getIconFillColor(
getButtonState(props.focused || isHovered, pressed, props.success, props.disabled, props.interactive),
true,
)
}
What alternative solutions did you explore? (Optional)Remove all the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hovering menu option didn't hightlight the icon What is the root cause of that problem?This threedot menu is rendered by The App/src/components/MenuItem.js Lines 198 to 204 in 6093340
What changes do you think we should make in order to solve the problem?We should remove the static iconfill from the menuItem object here: App/src/pages/home/HeaderView.js Line 94 in 52f0e3c
Why? This will allow the default styles to be applied: App/src/components/MenuItem.js Lines 198 to 204 in 6093340
Keeping the popover styles consistent in the app. Result:popover.webmWhat alternative solutions did you explore? (Optional)xx |
ProposalUpdatedAdded video implementing solution. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hovering menu option didn't hightlight the icon What is the root cause of that problem?App/src/components/MenuItem.js Lines 198 to 204 in 52f0e3c
props.iconFill is not letting other styles apply. What changes do you think we should make in order to solve the problem?fill={
isHovered || !props.iconFill ?
StyleUtils.getIconFillColor(
getButtonState(props.focused || isHovered, pressed, props.success, props.disabled, props.interactive),
true,
): props.iconFill
} This way if the icon is hovered, hovered style will be applied rest normal styles will remain same. What alternative solutions did you explore? (Optional)N/A |
@eVoloshchak, @twisterdotcom Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Other proposals suggest retaining the current color of the icons and changing it only on hover, but that is inconsistent with the rest of the app
|
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@eVoloshchak isn't it dupe of my alternative solution? |
My bad @hungvu193, you are correct, I missed the alternative solution (I was viewing your proposal on Slack) Let's proceed with @hungvu193's alternative solution 🎀👀🎀 C+ reviewed! |
Current assignee @Beamanator is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@hungvu193 please hold off on creating a PR for this - I'm starting a discussion related to this internally, will post back here when we're ready to go |
Thanks for weighing in, I like your reasoning and I agree @twisterdotcom 👍 |
Thanks for your kind feedback 🙏 . Both of my solutions archive the same thing (to make the menu consistent with others menu) so I didn't explain it in my alternative solution, but I'll learn from it next time. @Beamanator Please let me know if I can create a PR. |
@Beamanator @eVoloshchak @twisterdotcom @hungvu193 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! |
Not overdue |
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 a note, this PR was merged within 1 days (it was held for internal discussion). Incase there's no regression causes by this PR, I think it will be eligible for urgency bonus. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.85-4 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-24. 🎊 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:
|
Payment summary: |
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Sorted. |
$750 payment approved for @eVoloshchak based on this summary. |
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:
Icon should be highlight when hovering
Actual Result:
Icon is not highlight when hovering
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.75.2
Reproducible in staging?: y
Reproducible in production?: new feature
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-09-30.at.11.35.50.mov
Screen.Recording.2023-09-29.at.09.15.25.mov
Screen.Recording.2023-09-29.at.09.13.41.mov
Recording.4804.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695953603559579
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: