Group - Group chat header hidden; tap shows empty name while preview…#75988
Group - Group chat header hidden; tap shows empty name while preview…#75988carlosmiceli merged 11 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
091cadc to
eee4abe
Compare
9fe9f2c to
06b9a08
Compare
|
@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good from a product perspective 👍
|
@QichenZhu update I will have requested changes finished and ready 12/3/2025 just need to update testfile with requested changes. |
|
update |
This comment was marked as resolved.
This comment was marked as resolved.
339:27 error `getReportName` is deprecated. Moved to src/libs/ReportNameUtils.ts.
Use ReportNameUtils.computeReportName for full name generation.
For reading a stored name only, use ReportNameUtils.getReportName @typescript-eslint/no-deprecated
/home/runner/work/App/App/src/pages/home/HeaderView.tsx
149:19 error `getReportName` is deprecated. Moved to src/libs/ReportNameUtils.ts.
Use ReportNameUtils.computeReportName for full name generation.
For reading a stored name only, use ReportNameUtils.getReportName @typescript-eslint/no-deprecated
✖ 4 problems (2 errors, 2 warnings)okay this can hold till tomorrow. |
|
update |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2025-12-10.at.6.17.22.PM.mov |
@QichenZhu if you have any insights on this It would be much appreciated.I tried to find some documentation and reached out in slack ,so for no reply. Is this even my problem to find a solution to or am I supposed to wait for a fix to be merged into main? This is the issue that is blocking us from moving forward. import {getReportName} from "@libs/ReportNameUtils";
import reportAttributes from "@userActions/OnyxDerived/configs/reportAttributes";
const title = getReportName(report, reportAttributes);this matches the patterns mentioned in the original PR using the derived value to the get the names, however a test is failing for the component: the test is receiving a random string when it is expecting |
c7bc29d to
6e88510
Compare
|
unblocked the eslint deprecated warnings by using |
…t.tsx and refactored src/components/DisplayNames/index.native.tsx based on contributor+ feedback' '
d79bb8b to
04d3f29
Compare
…ction =false && style prop in src/pages/ReportDetailsPage.tsx reimplemented in codebase line 758
|
🤞 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.2.75-0 🚀
|
|
@whiletrace QA team notice that "Hidden" is still shown in the LHN for Web and iOS. So we fail this PR with an original issue 1765418275428.75988-Web.mp4 |
|
@IuliiaHerets this PR is very conservative and only fixes the original issue which doesn't mention LHN (see OP). We are aware of the LHN issue and fixed it before, but it caused regressions and was reverted, so we need to keep the changes minimal this time. |
|
@QichenZhu in this case we need to create a new issue, right? |
|
@IuliiaHerets what would make sense here that since the LHN was out of scope of the original issue , and this PR addresses the specific use case described in the original issue. We pass this PR and create a new issue for the the LHN display , at which time as this PR deploys to production I can submit a proposal to fix the LHN issue properly. |
|
@whiletrace logged a new issue |
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.2.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.77-1 🚀
|
@QichenZhu thanks for your support |




















… shows saved name
Group - Group chat header hidden; tap shows empty name while preview…
Explanation of Change
Creates a conditional prop
shouldParseHtml that is passed to and used by theDisplayNamescomponent. This prop is set to true for all cases except whenisGroupChatis true, ensuring HTML is not parsed for group chat titles. This behavior is also applied inReportDetailsviarawReportNameandreportNameForMessages, which allow a check againstisGroupChatto conditionally disable HTML parsing for group chats while allowing it for all other report typesFixed Issues
$ #68721 (comment)
PROPOSAL: #68721 (comment)
Tests
Launch app
2 click actions button on left of screen marked +
select create chat from the menu
in the form field that appears enter a user name, email, or phone
matching user will appear below form field
click button right side of the user entry which will be labeled add to group
on bottom Left of screen click green button labeled next
Click on Group Name
Delete previous entry
Enter < > as the group name
Click Save
note preview contains the saved group name < >
Click Create group
Note Header will have New Group name < >
Click Header
Note detail will show group name: < >-
[x] Verify that no errors appear in the JS console
Offline tests
Launch app
2 click actions button on left of screen marked +
select create chat from the menu
in the form field that appears enter a user name, email, or phone
matching user will appear below form field
click button right side of the user entry which will be labeled add to group
on bottom Left of screen click green button labeled next
Click on Group Name
Delete previous entry
Enter < > as the group name
Click Save
note preview contains the saved group name < >
Click Create group
Note Header will have New Group name < >
Click Header
Note detail will show group name: < >### QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
<img width="1206" height="2622" alt="safariweb" src="https://github.com/user-attachments/assets/86b4f23f-8af3-4317-badc-f90d40f
MacOS: Chrome / Safari