Workspace chats and rooms disappear from the LHN after being deleted#59360
Conversation
…r-removing-workspace
|
@rayane-d friendly bump here |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-04-15.at.5.17.10.PM.movAndroid: mWeb ChromeScreen.Recording.2025-04-15.at.5.13.11.PM.moviOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-04-15.at.17.10.29.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-04-15.at.17.15.43.mp4MacOS: Chrome / SafariScreen.Recording.2025-04-15.at.5.05.22.PM.movMacOS: DesktopScreen.Recording.2025-04-15.at.5.07.42.PM.mov |
|
hey @rayane-d any updates 😄 |
|
@narefyev91 I see two issues:
Screen.Recording.2025-04-07.at.10.55.26.AM.mov |
Regarding the second one - Reports are not coming from BE. Probably it's the same check which we have on FE (that user notification is set to hidden). I think we need to trigger here BE dev to check - why after refresh - data is not coming from API side |
…r-removing-workspace
Yeah, it seems that |
…r-removing-workspace
That is on purpose, we do not return chat reports with hidden notification preference. This is intentional. Right now because of UX we do not return the hidden reports in Search, but that will change - then the users will be able to search for the reports with hidden preference |
|
@narefyev91 @rayane-d users should be able to find the archived rooms in Search even if the notification preference is hidden so we should be good |
|
@rayane-d ready for re-review |
|
@narefyev91 We got conflicts |
…r-removing-workspace
…r-removing-workspace # Conflicts: # src/libs/ReportUtils.ts
|
@rayane-d updated |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #56967 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
✋ 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/Valforte in version: 9.1.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|
| isSystemChat || | ||
| // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing | ||
| report.isPinned || | ||
| (!isInFocusMode && isArchivedReportWithID(report.reportID)) || |
There was a problem hiding this comment.
{BZ CHECKLIST} from #64363, we remove this conditional to always hide archived report from LHN regardless isInFocusMode

Explanation of Change
Workspace chats and rooms disappear from the LHN after being deleted
Fixed Issues
$ #56967
PROPOSAL: #56967 (comment)
Tests
Offline tests
No changes
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov