-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] [$250] Incorrect border color on subscript avatar in "Choose recipient" page #56015
Comments
Triggered auto assignment to @VictoriaExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Incorrect border color on subscript avatar What is the root cause of that problem?This bug can only be reproduced when hovering into an item and hovering out. We are defining the set hover logic here Lines 7 to 10 in b38c287
And use it as props in BaseListItem But What changes do you think we should make in order to solve the problem?We should use props
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021884807153816511629 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
Upwork job price has been updated to $125 |
I think this is a very simple fix so I'm reducing the bounty to $125. If I've misunderstood the complexity of this, please let me know and I can reassess. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The avatar subscript border has an incorrect color after hovering over it. What is the root cause of that problem?The color of the border depends on the hovered state.
The hovered state comes from the
The hook works by "connecting" the bind object to the component that we want to attach. In this case, we attach it to the pressable. App/src/components/SelectionList/BaseListItem.tsx Lines 75 to 78 in acd7a79
The Lines 4 to 10 in acd7a79
However, the mouse leave event is never triggered, so the hovered state is stuck and the border color never changes back. It's never triggered because the mouse leave event is overridden here.
What changes do you think we should make in order to solve the problem?We need to manually call mouse leave event from
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?I think we can test the BaseListItem and assert that the |
@VictoriaExpensify I think we can keep the normal price since it's tricky to find the root cause. We need to create a UI test too. |
Upwork job price has been updated to $250 |
Got it. Thanks for clarifying @bernhardoj |
Hmm @VictoriaExpensify personally I think we should make this $125, it's going to be a very simple change. |
@shawnborton That's what I thought and I changed it to $125, but put it back to $250 after @bernhardoj commented above. I'm going to put it back to $125 but if you want to give more info about the complexity justifies a $250 bounty, we can review it |
Upwork job price has been updated to $125 |
Yeah I think if we can't get reasonable proposals at this price point, we can always go up. But I have a feeling it's going to be a super simple change. The border color already changes correctly on hover, so there is nothing we need to do there. We just need to adjust it to be the correct color in this particular instance. |
The color defined is already correct. It's the hover functionality that is currently broken and since the hover functionality is attached to BaseListItem, all list is affected (for example search modal list). |
The hover styles look fine to me, it's when the row is not hovered that the color seems wrong. |
Yeah it looks like the issue is only reproducible when the list item is hovered over first and then unhovered. chrome-hover-2025-01-30_15.58.53.mp4 |
I think @bernhardoj's proposal has the right RCA, as it's the 🎀👀🎀 C+ reviewed |
Upwork job price has been updated to $250 |
@VictoriaExpensify thanks! PR is ready cc: @jjcoffee |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 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 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@jjcoffee @VictoriaExpensify @jjcoffee The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
This comment has been minimized.
This comment has been minimized.
Payment summary: @bernhardoj can you please complete the checklist and I'll get your payment organised 🙌 |
@jjcoffee is the C+ here. Requested in ND. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@VictoriaExpensify)
|
I think this is an edge case and a pretty small/harmless bug. I don't think we need to add a specific test case for this. |
Oh sorry @bernhardoj! Thanks for the input @luacmartins and the checklist @jjcoffee. Here's the updated payment summary: |
$250 approved for @jjcoffee |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.91-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation (hyperlinked to channel name): expensify_bugs
Action Performed:
Expected Result:
The border color should be lighter to match the background.
Actual Result:
The border color is not matching with the background.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: