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-27] [$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis #56582
Version Number: v9.0.95-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail: Exp Issue reported by: Applause Internal Team Device used: Win 11/Chrome App Component: Chat Report View
What changes do you think we should make in order to solve the problem?
We have 2 issues here:
The group name doesn't have the ellipsis style
If the participant's display name/login name is too long, then when the user opens the group name settings, this may cause an error without any changes as we limit the maximum name length to 100 characters
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Test the getGroupChatName function to verify the output length is less than or equal 100 characters
What alternative solutions did you explore? (Optional)
We can also add the flag to enable/disable this feature in the specific page
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.
changed the title [-]Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/-][+][$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/+]on Feb 12, 2025
changed the title [-][$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/-][+][Due for payment 2025-02-27] [$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/+]on Feb 20, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.1-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@dukenv0307@CortneyOfstad@dukenv0307 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
2b. Reported on staging (deploy blocker)
2c. 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: This is new requirement
[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: N/A
[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. Yes
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
Test:
Start a chat with many members, making the chat name very long
Open Chat details
Verify that: The Group name section the chat name is cut off
Activity
melvin-bot commentedon Feb 8, 2025
Triggered auto assignment to @CortneyOfstad (
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.Shahidullah-Muffakir commentedon Feb 8, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-02-08 19:21:33 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
we are only showing 5 users names in the group chat when user hovers over the avatar, but we are not adding the ellipsis for the rest of the names
What is the root cause of that problem?
App/src/libs/ReportUtils.ts
Line 2584 in 631006e
What changes do you think we should make in order to solve the problem?
App/src/libs/ReportUtils.ts
Lines 2583 to 2585 in 631006e
as:
...in the end here:App/src/libs/ReportUtils.ts
Lines 2588 to 2597 in 631006e
as:
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)
If we want the ellipsis to be added only in the HeaderView, then:
showEllipsisto thegetIconshere:App/src/pages/home/HeaderView.tsx
Line 195 in 631006e
getGroupChatName:App/src/libs/ReportUtils.ts
Lines 2764 to 2772 in 631006e
Screen.Recording.2025-02-09.at.12.39.14.AM.mov
The alternative approach will work if we don't want the ellipsis in the details page as shown:
daledah commentedon Feb 9, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis
What is the root cause of that problem?
If the report has multiple participants we're get the first 5 first participants, then concat them in a single report name
App/src/libs/ReportUtils.ts
Lines 2583 to 2597 in 631006e
What changes do you think we should make in order to solve the problem?
We have 2 issues here:
We should truncate the group name in
App/src/libs/ReportUtils.ts
Line 2596 in 631006e
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Test the
getGroupChatNamefunction to verify the output length is less than or equal 100 charactersWhat alternative solutions did you explore? (Optional)
We can also add the flag to enable/disable this feature in the specific page
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.
melvin-bot commentedon Feb 12, 2025
@CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
CortneyOfstad commentedon Feb 12, 2025
Was able to see this within my own account (AM customer group with 7 members and only 5 names displaying, as shown below):
[-]Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/-][+][$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/+]melvin-bot commentedon Feb 12, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021889709690861886156
31 remaining items
[-][$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/-][+][Due for payment 2025-02-27] [$250] Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis[/+]melvin-bot commentedon Feb 20, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 20, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.1-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-27. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 20, 2025
@dukenv0307 @CortneyOfstad @dukenv0307 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]
CortneyOfstad commentedon Feb 27, 2025
@dukenv0307 — please complete the checklist by EOD — thanks!
dukenv0307 commentedon Feb 27, 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: This is new requirement
[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: N/A
[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. Yes
[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 👎
dukenv0307 commentedon Feb 27, 2025
@CortneyOfstad Done. Thank you
CortneyOfstad commentedon Feb 27, 2025
Payment Summary
@daledah — paid $250 via Upwork
@dukenv0307 — to be paid $250 via NewDot
Regression Test
https://github.com/Expensify/Expensify/issues/474937
JmillsExpensify commentedon Mar 12, 2025
$250 approved for @dukenv0307