-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Room - 'No workspace found' page is not displayed when user navigates to room #34253
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @cead22 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?The default "{user}'s Expenses" workspace is now present in Onyx for the newly created users: And it is not filtered out when building the list of workspaces available for room creation. What changes do you think we should make in order to solve the problem?If we don't want to allow to create rooms in it, we should filter out the default "{user}'s Expenses" workspace here: App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 188 to 196 in 38cf1b6
Similar to how we decide whether the Policy should be present in the User's policies list: Lines 80 to 94 in de0a96b
What alternative solutions did you explore? (Optional)We can partially revert de0a96b by bringing back the |
ProposalPlease re-state the problem that we are trying to solve in this issue.User is navigated to 'Create room' page but is unable to create. a room What is the root cause of that problem?BE returns the default policy of the user. So the workspace option is not empty here
What changes do you think we should make in order to solve the problem?If we only want to create a room for the workspace which is displayed in
What alternative solutions did you explore? (Optional)NA |
Huh? Why/how? Ohhhhh, is it because we are not creating the chats for the admin? Basically what @Julesssss pointed out here? |
Yes. We should have kept the We are still keeping this check when deciding whether the Workspace should be visible on Profile -> Workspaces page: Lines 80 to 94 in de0a96b
|
Well that kind of defeats the purpose of the PR... I think we need to do what @Julesssss suggested in the backend, but waiting for him to double check. |
Damnit! Sorry about that. I swear it's your avatars, they look too similar for my shitty ill working eyes 😂 |
Looks like we're waiting on Vit to confirm, and this might need a backend fix. @iwiznia I assigned you since you'll be on before me tomorrow, and you seem to be familiar with this issue |
Should we revert that PR for the meantime so we can continue with deploy? Seems like reverting will just require you to create a workspace and that works as intended - so seems like we should go with that for now and then we can figure out what changes are required later |
So can we close this now that it was reverted? |
Yeah, we can close this since this bug no longer exists and then move the convo to the original issue |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
'No workspace found' page should be displayed
Actual Result:
User is navigated to 'Create room' page but is unable to create. a room
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6337845_1704901616647.Screen_Recording_2024-01-10_at_2.55.02_in_the_afternoon__1_.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: