fix: thread header is not showing the exact message sent v3#76209
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ZhenjaHorbach 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] |
Reviewer Checklist
Screenshots/Videos |
|
@ZhenjaHorbach Sorry, I forgot to push the last local commit. I updated. |
| const subscriptAvatarBorderColor = isOptionFocused ? focusedBackgroundColor : theme.sidebar; | ||
| const firstIcon = optionItem.icons?.at(0); | ||
|
|
||
| // This is used to ensure that we display the text exactly as the user entered it when displaying thread header text, instead of parsing their text to HTML. |
There was a problem hiding this comment.
I suppose it's wrong text
Since here we have an issue with option row and not with thread header
|
LGTM! |
puneetlath
left a comment
There was a problem hiding this comment.
Looks like there is a lint failure @nkdengineer
This issue is not related to our changes
|
|
Will it cause an issue on main if we don't suppress it? |
|
@puneetlath I disabled the lint in this line since we don't want to change this here. |
puneetlath
left a comment
There was a problem hiding this comment.
Ok great thanks. Looks like we have some conflicts now.
|
✋ 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/puneetlath in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.2.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.77-1 🚀
|
| const firstIcon = optionItem.icons?.at(0); | ||
|
|
||
| // This is used to ensure that we display the text exactly as the user entered it when displaying LHN title, instead of parsing their text to HTML. | ||
| const shouldParseFullTitle = optionItem?.parentReportAction?.actionName !== CONST.REPORT.ACTIONS.TYPE.ADD_COMMENT; |
There was a problem hiding this comment.
Coming from #77518. Group titles can end up as an empty string if they are parsed (e.g. if the title is < >) which causes them to render with the fallback text Hidden.





Explanation of Change
Fixed Issues
$ #71434
#73092
#75942
PROPOSAL: #71434 (comment)
Tests
<div>test<div>Offline tests
Same as tests
QA Steps
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
MacOS: Chrome / Safari