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
[HOLD for payment 2023-08-02] [$1000] Web - Tooltip not visible for task assignee #21713
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.30-5 Reproducible in staging?: y Reproducible in production?: y 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
changed the title [-][$1000] Web - Tooltip not visible for task assignee[/-][+][HOLD for payment 2023-08-02] [$1000] Web - Tooltip not visible for task assignee[/+]on Jul 26, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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-02. 🎊
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
For reference, here are some details about the assignees on this 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:
[@s77rt] The PR that introduced the bug has been identified. Link to the PR:
[@s77rt] 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:
[@s77rt] A discussion in #expensify-bugs 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:
[@s77rt] Determine if we should create a regression test for this bug.
[@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 27, 2023
Triggered auto assignment to @jliexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 27, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)StevenKKC commentedon Jun 27, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Tooltip not visible for task assignee.
What is the root cause of that problem?
In task view, the task assignee is shown using
MenuItem, andMenuItemusesAvatar.App/src/components/ReportActionItem/TaskView.js
Lines 113 to 127 in fa473e9
App/src/components/MenuItem.js
Lines 187 to 194 in fa473e9
Avatardoes not supportTooltip, so tooltip for task assignee is not shown.What changes do you think we should make in order to solve the problem?
We can wrap
AvatarwithUserDetailsTooltip.Add
tooltipAccountIDprop toMenuItemPass task assignee's id in
TaskViewin this line.And in
MenuItem, checktooltipAccountID. IftooltipAccountIDis valid, then wrapAvatarwithUserDetailsTooltipas below.What alternative solutions did you explore? (Optional)
In task view, the task assignee is displayed using
MenuItem.MenuItemsupport tooltip, but we does not provide proper information.App/src/components/MenuItem.js
Lines 149 to 161 in 16a83ac
As you can see, if we provide
iconprop with array type,MenuItemdisplay avatar usingMultipleAvatars, andMultipleAvatarssupport tooltip.assigneeTooltipIcontoMenuItemin this line as below.In
MenuItem, we should pass proper avatar size in this line.Because
MultipleAvatarsavatar container style is different with single avatar, so we should adjust avatar container style in this line.And add
styles.emptyAvatarSmallertostyles.jsas below.jliexpensify commentedon Jun 27, 2023
I can replicate on Staging v32-5, even with a user with a name (which should have a tooltip):
2023-06-28_08-18-22.mp4
[-]Web - Tooltip not visible for task assignee[/-][+][$1000] Web - Tooltip not visible for task assignee[/+]melvin-bot commentedon Jun 27, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01e9a87fc35eb2547b
melvin-bot commentedon Jun 27, 2023
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jun 27, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)jeet-dhandha commentedon Jun 28, 2023
I would suggest we hold this issue or close it as we are redesigning task details page.
#19330
58 remaining items
[-][$1000] Web - Tooltip not visible for task assignee[/-][+][HOLD for payment 2023-08-02] [$1000] Web - Tooltip not visible for task assignee[/+]melvin-bot commentedon Jul 26, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 26, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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-02. 🎊
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:
melvin-bot commentedon Jul 26, 2023
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:
s77rt commentedon Jul 26, 2023
jliexpensify commentedon Aug 3, 2023
Payment summary:
Upwork job
Is that all correct? It looks like this was merged in a day
s77rt commentedon Aug 3, 2023
@jliexpensify Looks correct!
jliexpensify commentedon Aug 4, 2023
Everyone's paid and job removed, thanks!