-
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
Group - Hover profile of group 6+ members, the tooltip displays five members without ellipsis #56582
Comments
Triggered auto assignment to @CortneyOfstad ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-08 19:21:33 UTC. ProposalPlease 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?
What changes do you think we should make in order to solve the problem?
let shouldUseEllipsis = false;
if (shouldApplyLimit) {
if(participantAccountIDs.length > 5) {
shouldUseEllipsis = true;
}
participantAccountIDs = participantAccountIDs.slice(0, 5);
}
.join(', ') + (shouldUseEllipsis ? '...' : ''); 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:
Screen.Recording.2025-02-09.at.12.39.14.AM.movThe alternative approach will work if we don't want the ellipsis in the details page as shown: |
ProposalPlease 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 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 Line 2596 in 631006e
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Test the 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. |
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: 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
Action Performed:
Expected Result:
Hover over profile, the tooltip should display five members and ellipsis
Actual Result:
Hover over profile, the tooltip is displaying five members as this group only having 5 members
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6736754_1738976735798.Recording__900.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: