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-03] [$1000] Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar #22951
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
Hover over the Overlayed avatar and notice the tooltip shows multiple/all the selected users.
Expected Result:
The tooltip should only show users missing from the initial 2 lines
Actual Result:
The tooltip shows multiple/all the selected users.
Workaround:
Unknown
Platforms:
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.41-2 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
.slice with end 10 is the current code now to show only 10 users since some reports have hundreds of users.
The number 10 seem too small because rows will display 8 users, so I suggest increasing it to 15 or 20 or calculate it dynamic (avatarRows.length * props.maxAvatarsInRow) -1 + x, we can discuss it.
-1 above to show the user number 8.
What alternative solutions did you explore? (Optional)
changed the title [-]Web - The tooltip shows all the selected users when Hovering over the Overlayed avatar.[/-][+]Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/+]on Jul 17, 2023
Hi @jliexpensify I think they are different issues. The one you mentioned is about the Avatars moving to the left when adding more than 8 users(this issue can also be seen in the IOU report of more than 7 user splitting a bill and also in "workspace" in the settings).
The issue I posted is about the tooltip not showing the correct users.
Can you please comment on this so I can have a better understanding on how they are the same
changed the title [-]Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/-][+][$1000] Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/+]on Jul 17, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-2 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-03. 🎊
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:
[@aimane-chnaif] The PR that introduced the bug has been identified. Link to the PR:
[@aimane-chnaif] 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:
[@aimane-chnaif] 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:
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] 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:
[@aimane-chnaif] 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: N/A
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] 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.
Regression Test Proposal:
Login any account
Go to Settings > Workspaces > any workspace > Members > Invite
Select 10+ users and then click next.
Hover over the overlayed avatar and verify that tooltip shows the correct number of remaining users.
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 Jul 15, 2023
Triggered auto assignment to @jliexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 15, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ahmedGaber93 commentedon Jul 15, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The tooltip shows number of users max than the reminding when Hovering over the Overlayed avatar.
What is the root cause of that problem?
Wrong calculate for tooltip text in
MultipleAvatars, after enable multi rows in PR #21402 we missed changing it base on the new way.App/src/components/MultipleAvatars.js
Lines 195 to 198 in b9508b6
we now use rows so
tooltipTexts.slice(3, 10)is not correct because rows show 8 avatars.What changes do you think we should make in order to solve the problem?
The tooltip text should be
.slice with end 10 is the current code now to show only 10 users since some reports have hundreds of users.
The number 10 seem too small because rows will display 8 users, so I suggest increasing it to 15 or 20 or calculate it dynamic (avatarRows.length * props.maxAvatarsInRow) -1 + x, we can discuss it.
-1 above to show the user number 8.
What alternative solutions did you explore? (Optional)
we can calculate it out of tooltipTexts
jliexpensify commentedon Jul 17, 2023
Hmm, very odd - I invited 9 users and here's what I see:
So I think that hovering over the +1 should only accurately reflect who isn't currently on those 2 lines (i.e. Victoria).
[-]Web - The tooltip shows all the selected users when Hovering over the Overlayed avatar.[/-][+]Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/+]jliexpensify commentedon Jul 17, 2023
Oh, this is a dupe of #22685
daveSeife commentedon Jul 17, 2023
Hi @jliexpensify I think they are different issues. The one you mentioned is about the Avatars moving to the left when adding more than 8 users(this issue can also be seen in the IOU report of more than 7 user splitting a bill and also in "workspace" in the settings).
The issue I posted is about the tooltip not showing the correct users.
Can you please comment on this so I can have a better understanding on how they are the same
jliexpensify commentedon Jul 17, 2023
@daveSeife I'm going off the Slack link, but it looks like it might be the incorrect one associated with this GH?
[-]Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/-][+][$1000] Web - The tooltip shows multiple/all the selected users when hovering over the overlayed avatar[/+]37 remaining items
melvin-bot commentedon Jul 27, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 27, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-2 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-03. 🎊
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 27, 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:
jliexpensify commentedon Jul 28, 2023
Payment Summary:
Is this correct? Upworks Job here.
Friendly bump @aimane-chnaif to complete the checklist
aimane-chnaif commentedon Jul 28, 2023
There was weekend
jliexpensify commentedon Jul 28, 2023
@aimane-chnaif can you share the timeline please, for documentation purposes?
aimane-chnaif commentedon Jul 28, 2023
jliexpensify commentedon Jul 28, 2023
Thank you, updated above!
jliexpensify commentedon Aug 3, 2023
Bump @aimane-chnaif to complete the checklist before payment. Thanks!
aimane-chnaif commentedon Aug 3, 2023
Regression Test Proposal:
jliexpensify commentedon Aug 4, 2023
Everyone paid, job closed, Thanks!