Chat header's infinite loading after merge account - #66798
Conversation
| formattedName = buildReportNameFromParticipantNames({report, personalDetails}); | ||
|
|
||
| return isArchivedNonExpense ? generateArchivedReportName(formattedName) : formattedName; | ||
| return isArchivedNonExpense ? generateArchivedReportName(formattedName) : formattedName || (report?.reportName ?? ''); |
There was a problem hiding this comment.
Should we add fallback for archivedReportName too?
p.s. im not reviewer just came across
| return isArchivedNonExpense ? generateArchivedReportName(formattedName) : formattedName || (report?.reportName ?? ''); | |
| const finalName = formattedName || (report?.reportName ?? ''); | |
| return isArchivedNonExpense ? generateArchivedReportName(finalName) : finalName; |
There was a problem hiding this comment.
Agree, we should add fallback for archivedReportName as well to avoid the empty case
|
@allgandalf 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] |
|
@thelullabyy can you test and verify if the following blocker doesn't occur again: |
|
@allgandalf yes, I did test it and add the evidence in the MacOs Web case Screen.Recording.2025-07-21.at.22.53.54.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-07-13.at.1.48.45.PM.movAndroid: mWeb ChromeScreen.Recording.2025-07-13.at.1.28.57.PM.moviOS: HybridAppScreen.Recording.2025-07-13.at.1.25.08.PM.moviOS: mWeb SafariScreen.Recording.2025-07-13.at.1.19.02.PM.movMacOS: Chrome / SafariScreen.Recording.2025-07-13.at.1.10.18.PM.movMacOS: DesktopScreen.Recording.2025-07-13.at.1.14.26.PM.mov |
marcochavezf
left a comment
There was a problem hiding this comment.
Cool, thank you guys! LGTM
|
✋ 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/marcochavezf in version: 9.1.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.88-3 🚀
|
Explanation of Change
Fixed Issues
$ #63974
PROPOSAL: #63974 (comment)
Tests
Offline tests
QA Steps
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))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.mov
Android: mWeb Chrome
android_web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios_web.mov
MacOS: Chrome / Safari
web.copy.mov
Screen.Recording.2025-07-21.at.22.53.54.mov
MacOS: Desktop
desktop.mov