You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-02-18] [$250] Border around workspace not matching hovered background in chat log #54387
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:
Navigate to a workspace chat
Observe the avatar
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?
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.
Please 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.
Case 2. When Item is not being hovered but is still active(example open three-dot menu for any message and the message retains active state style irrespective of pointer position).
So make following code changes.
First for case 1 -
Pass conditional background style here.
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.
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.
So in case we want to change it for all the cases pass following prop here..
@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!
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:
@shubham1206agra@stephanieelliott@shubham1206agra 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]
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not Required
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
Navigate to a workspace chat
Hover the avatar
Observe the avatar
Verify that: Border around workspace avatar matching hovered background in chat log
Create an expense
Go to expense chat
Click header of this chat to return chat report
Verify that: When active border around workspace avatar matching hovered background in chat log
Activity
melvin-bot commentedon Dec 19, 2024
Triggered auto assignment to @stephanieelliott (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nkdengineer commentedon Dec 19, 2024
Proposal
Please 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
backgroundColorprops in the same way we did hereApp/src/components/LHNOptionsList/OptionRowLHN.tsx
Line 249 in 154a485
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.
ChavdaSachin commentedon Dec 22, 2024
Proposal
Please 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.
Case 2. When Item is not being hovered but is still active(example open three-dot menu for any message and the message retains active state style irrespective of pointer position).
So make following code changes.
First for case 1 -
Pass conditional background style here.
App/src/pages/home/report/ReportActionItemSingle.tsx
Lines 210 to 213 in 154a485
And for case 2 -
Introduce a new boolean prop
isActiveforReportActionItemSinglecomponent which would hold information about active state of the component.And pass this condition
hovered || isContextMenuActive || isEmojiPickerActiveasisActiveprop value.App/src/pages/home/report/ReportActionItemSingle.tsx
Lines 70 to 80 in 154a485
App/src/pages/home/report/PureReportActionItem.tsx
Lines 990 to 1002 in 154a485
Test Branch
https://github.com/ChavdaSachin/App/tree/mock-14
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.
So in case we want to change it for all the cases pass following prop here..
App/src/pages/home/report/ReportActionItemSingle.tsx
Lines 210 to 214 in 154a485
melvin-bot commentedon Dec 23, 2024
@stephanieelliott Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Dec 25, 2024
@stephanieelliott Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Dec 27, 2024
@stephanieelliott 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
melvin-bot commentedon Dec 31, 2024
@stephanieelliott 10 days overdue. I'm getting more depressed than Marvin.
melvin-bot commentedon Jan 2, 2025
@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!
melvin-bot commentedon Jan 2, 2025
@stephanieelliott 12 days overdue. Walking. Toward. The. Light...
shubham1206agra commentedon Jan 6, 2025
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
31 remaining items
melvin-bot commentedon Feb 11, 2025
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:
melvin-bot commentedon Feb 11, 2025
@shubham1206agra @stephanieelliott @shubham1206agra 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]
stephanieelliott commentedon Feb 19, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
stephanieelliott commentedon Feb 19, 2025
Hey @shubham1206agra can you complete the BZ checklist on this one?
stephanieelliott commentedon Feb 21, 2025
Bump on this @shubham1206agra, can you complete the BZ checklist when you get a chance?
shubham1206agra commentedon Feb 21, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/50424/files#r1964931774
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not Required
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Feb 24, 2025
@stephanieelliott, @grgia, @shubham1206agra, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
stephanieelliott commentedon Feb 24, 2025
GH for TR case: https://github.com/Expensify/Expensify/issues/473990
stephanieelliott commentedon Feb 24, 2025
Summarizing payment on this issue:
Upwork job is here: https://www.upwork.com/jobs/~021876300830027484564
garrettmknight commentedon Apr 22, 2025
$250 approved for @shubham1206agra