-
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
[Due for payment 2025-02-27] [$250] 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. |
@CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~021889709690861886156 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
Hey @dukenv0307! We have two proposals above when you have a chance — thanks! |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@dukenv0307 I believe we need to add the ellipsis conditionally only if the Screen.Recording.2025-02-12.at.11.32.57.PM.mov |
@Shahidullah-Muffakir I think it's expectation since the group name in these places are consistency. Let's see the final decision from internal team. Thank you |
cc @Expensify/design Is there any preference for how we apply ellipsis in this flow? This is a good image showcasing how it seems like there are only a certain amount of members where there are more |
Hmm I would think we should use all of the members in the group name, and then we can use the ellipsis to truncate based on available space (in the header and details view). |
Agree with that. |
@shawnborton @dannymcclain For the header, we limit the space to 1 line only, but for the detail page how can we limit the group name space? Besides, we just allow the maximum group name length to be 100, so I'm now sure how we can use the available space |
Ah, so just to confirm, for the details view we do not truncate via ellipsis, we just limit the group name character count to 100? That is fine with me, but it seems like we aren't making the group names as long as they could be, right? |
Yes, here is what is happening on staging/main, the group name is too long, so when open the edit page, it will show the error without making any change Screen.Recording.2025-02-13.at.23.06.04.movSo I think the best way is to limit the group name character count to 100. |
Hmm yeah I would think that you shouldn't even be able to create a group name that long if we already have the 100 character limit. And I feel like we should automatically trim the group name for the user otherwise we might create a bunch of cases where the user makes a big group and can't click the Start group button because of a name length error. |
Thank you @shawnborton @dannymcclain Can you please check the result with this solution?
Screen.Recording.2025-02-13.at.23.33.03.mov |
I guess that is better, though that group name doesn't seem particularly useful... Though in the mainline case I guess most users would likely have a Display Name. What do you think Shawn? |
I think this is probably the best way to handle this for now... then in the future, we should consider perhaps changing the actual 100char limit on these sorts of things if we find that group chats need longer names. But I don't think it's a super widely used feature, and hopefully people will rename their groups anyways. |
Sounds good to me. |
@dukenv0307 I updated the proposal: #56582 (comment), I just removed the |
@daledah's proposal is still valid, we're good to go with his solution @thienlnam |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
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:
|
@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] |
@dukenv0307 — please complete the checklist by EOD — thanks! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
@CortneyOfstad Done. Thank you |
Payment Summary@daledah — paid $250 via Upwork Regression Test |
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
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: