-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2024-05-09] [$250] Group chat - Chat header does not follow chat name in LHN after removing all group members #41076
Comments
Triggered auto assignment to @puneetlath ( |
We think this issue might be related to the #vip-vsb. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat header does not follow chat name in LHN after removing all group members What is the root cause of that problem?On HeaderView we use displayNamesWithTooltips for the header text where it returns the partyicipants names App/src/pages/home/HeaderView.tsx Line 96 in fcbc5ac
What changes do you think we should make in order to solve the problem?We need to add a new const const isSingleParticipantGroupChat = isGroupChat && participants.length === 1; Then update <DisplayNames
fullTitle={title}
- displayNamesWithTooltips
+ displayNamesWithTooltips={displayNamesWithTooltips}
tooltipEnabled={!isSingleParticipantGroupChat}
numberOfLines={1}
textStyles={[styles.headerText, styles.pre]}
- shouldUseFullTitle={isChatRoom || isPolicyExpenseChat || isChatThread || isTaskReport || shouldUseGroupTitle}
+ shouldUseFullTitle={isChatRoom || isPolicyExpenseChat || isChatThread || isTaskReport || shouldUseGroupTitle || isSingleParticipantGroupChat}
renderAdditionalText={renderAdditionalText}
/> POC: |
ProposalPlease re-state the problem that we are trying to solve in this issue.Group chat - Chat header does not follow chat name in LHN after removing all group members What is the root cause of that problem?It becomes from changes in this PR but I do not think it is regress. Here we pass What changes do you think we should make in order to solve the problem?Here need to understand correct behavior, should tooltip be displayed when hovering over group member name if there is only one member ? If No - Update this condition as follows If Yes - Add below code here
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01529d302503f7e16a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Thanks for the proposals @dragnoir and @shahinyan11. Since. this is a regression from #40528 and it's still within the regression period @Nodebrute should handle this. @Nodebrute Can you please comment so you can be assigned |
@s77rt Yes. Assign this issue to me. |
📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Nodebrute 🎉 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 1.4.69-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 2024-05-09. 🎊 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:
|
|
This can be closed since it was a regression |
Great, thanks @s77rt |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.66-2
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The chat header name will follow the chat name in LHN.
Actual Result:
The chat header name shows the group creator's name only, while LHN shows "User's group chat".
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6462517_1714114012791.bandicam_2024-04-26_14-39-01-102.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: