-
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-08-28] [$1000] Web - Lounge access icon does not change color on hover #22766
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
📣 @oesayan! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Lounge access icon does not change color on hover What is the root cause of that problem?We're filling the hard code color here, because of that, the icon wasn't changed color while hovering: App/assets/images/lounge-access.svg Lines 6 to 7 in f54c4f3
What changes do you think we should make in order to solve the problem?Change this to: .st0{fill-rule:evenodd;clip-rule:evenodd;}
.st1{fill-rule:evenodd;clip-rule:evenodd;} or just these 2 lines from our lounge-access.svg file What alternative solutions did you explore? (Optional)In order to keep the star's yellow when it's not hover, we should make our svg to a component.
<MenuItem
title={props.translate('loungeAccessPage.loungeAccess')}
icon={LoungAccessIcon}
iconWidth={40}
iconHeight={40}
onPress={() => Navigation.navigate(ROUTES.SETTINGS_LOUNGE_ACCESS)}
shouldShowRightIcon
/>
<G>
<Path
fill={props.isHovered ? props.fill : "#FEE45E"}
className="st1"
d="M31,9.8c-0.1-0.2-0.2-0.4-0.5-0.4h-2.1l-0.8-2C27.4,7,27.1,7,27,7c-0.1,0-0.4,0-0.6,0.4l-0.8,1.9h-2.1 c-0.4,0-0.5,0.4-0.5,0.4c0,0.1-0.1,0.4,0.1,0.6l1.6,1.8l-0.6,1.9c-0.1,0.3,0.1,0.5,0.2,0.7c0.1,0,0.3,0.2,0.7,0.1l2-1.1l2,1.2 c0.3,0.2,0.6,0,0.7-0.1c0.1-0.1,0.3-0.3,0.2-0.7l-0.6-2l1.5-1.7C31,10.3,31,10,31,9.8z"
/>
<Polygon className="st1" points="28.5,7 28.5,7 28.5,7 " />
</G> With this approach, we can do whatever color we want, we can control the way it display. Result: Screen.Recording.2023-07-31.at.19.25.34.mov |
Triggered auto assignment to @aldo-expensify ( |
@aldo-expensify - I'm re-assigning this one to you to see if you can reproduce because this I don't have access to a DEV environment 🙏 |
Sorry to hijack the thread, but as I stated in the slack thread, it is not only happening in the dev. "Hey, sorry for answering late. This icon is not about the dev/staging but about the account eligibility - I am not sure what makes the account eligible, but mine main account shows the icon even in the prod iOS build (also dev and staging of course). My other testing account is not eligible and I don’t have the button anywhere (not in dev, staging or prod) - I guess your testing account is the same. It is also reproducible on every platform, not just macOS. TLDR - not just dev build, but staging and prod too - but the account needs to be eligible to see the button. Also every platform, not just macOS Chrome/Safari." |
@oesayan the issue literally states DEV and none of the platforms staging or production are confirmed (n/a) - which means I cannot reproduce it with my environment. If this is not the case, then the issue needs to be updated to reflect that. |
@sophiepintoraetz |
I'm not sure what are the conditions for that button to show, but I reproduced it modifying the code to force the button to be there. We should fix it, my only question would be: is the yellow start supposed to turn white too when we hover? |
Asking here too - thank you Aldo! |
We will go with the star and the couch white. |
Just updated my proposal. One question, does the star need to be yellow while it's inactive? |
While it is not hovered and the couch is green? it should remain yellow |
Sounds like we decided on Slack to use all white for the icon on hover. |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @oesayan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@hungvu193 @sophiepintoraetz @aldo-expensify @situchan this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks! |
Current assignee @situchan is eligible for the Internal assigner, not assigning anyone new. |
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 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.55-8 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-08-28. 🎊 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:
|
I think this PR is eligible for urgency bonus, because It got approved in 1 day and only waiting for final review after that. |
Payouts due: Issue Reporter: $250 @oesayan (already paid) Eligible for 50% #urgency bonus? Y ![]() |
Bump @situchan |
This was missed during initial implementation of lounge access page in #20881. |
All set here. |
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:
I your account doesn't have the necessary to see the "Lounge Access" button and you are in dev, you can just force it to show here:
App/src/pages/settings/Profile/ProfilePage.js
Lines 130 to 139 in a5f6467
Expected Result:
The Lounge Access icon changes the color on hover. Note: The expected results is wrong about the star colour, it should also turn white when hovered.
iconfixed.mov
Actual Result:
The Lounge Access icon does not change color on hover.
Screen.Recording.2023-07-13.at.11.39.11.AM.mov
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.39-8
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
Expensify/Expensify Issue URL:
Issue reported by: @oesayan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689147377663069
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: