-
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
[$250] Border around workspace not matching hovered background in chat log #54387
Comments
Triggered auto assignment to @stephanieelliott ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Border around workspace not matching hovered background in chat log What is the root cause of that problem?We do not pass styles props to this component App/src/pages/home/report/ReportActionItemSingle.tsx Lines 210 to 213 in 154a485
What changes do you think we should make in order to solve the problem?We can pass the
App/src/pages/home/report/ReportActionItemSingle.tsx Lines 210 to 213 in 154a485
Notes: Some minor style changes can discuss in PR phase What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA 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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?Style change. What changes do you think we should make in order to solve the problem?There are two case to be considered here. Case 1. When Item is being hovered. So make following code changes. backgroundColor={isHovered || isActive ? styles.sidebarLinkActive.backgroundColor : theme.sidebar} App/src/pages/home/report/ReportActionItemSingle.tsx Lines 210 to 213 in 154a485
And for case 2 - Introduce a new boolean prop isActive for ReportActionItemSingle component which would hold information about active state of the component.And pass this condition hovered || isContextMenuActive || isEmojiPickerActive as isActive prop value.
function ReportActionItemSingle({
.
.
isActive = false
.
}) App/src/pages/home/report/ReportActionItemSingle.tsx Lines 70 to 80 in 154a485
<ReportActionItemSingle
.
.
isActive={hovered || isContextMenuActive || isEmojiPickerActive}
.
.
> App/src/pages/home/report/PureReportActionItem.tsx Lines 990 to 1002 in 154a485
Test Branch What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA. What alternative solutions did you explore? (Optional)From issue statement it is not quite clear if we want to match the background only in active state or change border color for all the cases. backgroundColor={styles.sidebarLinkActive.backgroundColor} App/src/pages/home/report/ReportActionItemSingle.tsx Lines 210 to 214 in 154a485
|
@stephanieelliott Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@stephanieelliott Eep! 4 days overdue now. Issues have feelings too... |
@stephanieelliott 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@stephanieelliott 10 days overdue. I'm getting more depressed than Marvin. |
@stephanieelliott this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@stephanieelliott 12 days overdue. Walking. Toward. The. Light... |
There are some more places where we need to check. But we can discuss this in PR. Since this issue had no movement for 2 weeks for some reason, I will kickstart this issue by doing the review here. @nkdengineer's proposal looks good to me. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@shubham1206agra I have clearly stated about a state we need to include here, so my proposal is superior to the selected proposal could you please recheck once. |
Yes, but these are minor things that can be taken care of in PR itself. |
Job added to Upwork: https://www.upwork.com/jobs/~021876300830027484564 |
This comment was marked as off-topic.
This comment was marked as off-topic.
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@stephanieelliott can you confirm that the offer wasnt sent twice for the same role here ^ |
Thanks for jumping on this @shubham1206agra! Most of us internal employees were out for the holidays. Looks like two offers were sent for the |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.77-4
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: @dubielzyk-expensify
Slack conversation (hyperlinked to channel name): expensify_bugs
Action Performed:
Expected Result:
Border around workspace avatar matching hovered background in chat log
Actual Result:
Border around workspace avatar not matching hovered background in chat log
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: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: