You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web - Unable to search room after it has been created #6726
👋 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:
Identify the pull request that introduced this issue and revert it.
Actually, just noticed that this has also the and unable to search part, which is not solved in that PR, the linked PR only makes sure the tile name is shown, but one still cannot really search and find the room once you click away from it.
changed the title [-]Web - Room name doesn't display in the header after creating and unable to search[/-][+]Web - Unable to search room after it has been created[/+]on Dec 13, 2021
Alright, so I have updated this issue to be only about the inability to search the room after creating it and created separate deploy locker for the room name here as their solutions are not completely connected and it would be better to have a separate PR to solve this as the PR mentioned above is already covering 3 issues (better for testing and granularity).
It seems like we can't really "share" a report with the person who creates it, so maybe we should remove the creator's accountID from the chat report because other chat reports don't tend to have that.
Alternatively we could tweak the fetch chats query to include owned reports, but I think the above solution makes more sense. No other chats seem to be "owned" by users who are in them. This will also allow owners to leave rooms they create if they want to as well.
I'll work on a CQ to fix this issue for existing chatReports. However, we should run it after the above PR goes into production so that we can capture all chatReports that are made incorrectly in production.
Oh I didn't notice this was overdue because the PR was already merged! I still need to make the query to fix the existing chats. That's not a super pressing issue though so I'll make this a weekly. Going to finish workspace chat docs first.
Activity
OSBotify commentedon Dec 13, 2021
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:MelvinBot commentedon Dec 13, 2021
Triggered auto assignment to @NikkiWines (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.mountiny commentedon Dec 13, 2021
I have added two more lines to the PR I already raised to fix other two blockers related to this component to fix this issue as well.
mountiny commentedon Dec 13, 2021
Actually, just noticed that this has also the
and unable to searchpart, which is not solved in that PR, the linked PR only makes sure the tile name is shown, but one still cannot really search and find the room once you click away from it.I will split this into two issues then.
[-]Web - Room name doesn't display in the header after creating and unable to search[/-][+]Web - Unable to search room after it has been created[/+]mountiny commentedon Dec 13, 2021
Alright, so I have updated this issue to be only about the inability to search the room after creating it and created separate deploy locker for the room name here as their solutions are not completely connected and it would be better to have a separate PR to solve this as the PR mentioned above is already covering 3 issues (better for testing and granularity).
7 remaining items
TomatoToaster commentedon Dec 13, 2021
You can see from these lines of code:
https://github.com/Expensify/Auth/blob/6fe483924dfa8f4d5356e97cc2fd662e0569b29d/auth/lib/Account.cpp#L2128-L2133
We fetch chat reports that are shared with users NOT chat reports that they own.
TomatoToaster commentedon Dec 13, 2021
Got a PR for this soon ~ just testing it out locally first.
TomatoToaster commentedon Dec 14, 2021
Ok so that PR didn't work and herein lies the problem:
https://github.com/Expensify/Auth/blob/c0e21eada76b52827126e2b7d7480cf9ed1032ab/auth/lib/Report.cpp#L402-L406
It seems like we can't really "share" a report with the person who creates it, so maybe we should remove the creator's accountID from the chat report because other chat reports don't tend to have that.
Alternatively we could tweak the fetch chats query to include owned reports, but I think the above solution makes more sense. No other chats seem to be "owned" by users who are in them. This will also allow owners to leave rooms they create if they want to as well.
TomatoToaster commentedon Dec 14, 2021
I'll work on a CQ to fix this issue for existing chatReports. However, we should run it after the above PR goes into production so that we can capture all chatReports that are made incorrectly in production.
MelvinBot commentedon Dec 21, 2021
@TomatoToaster Whoops! This issue is 2 days overdue. Let's get this updated quick!
MelvinBot commentedon Dec 23, 2021
@TomatoToaster Eep! 4 days overdue now. Issues have feelings too...
TomatoToaster commentedon Dec 23, 2021
Oh I didn't notice this was overdue because the PR was already merged! I still need to make the query to fix the existing chats. That's not a super pressing issue though so I'll make this a weekly. Going to finish workspace chat docs first.
TomatoToaster commentedon Jan 6, 2022
This should be fixed as of this PR for new Workspace Chats
mvtglobally commentedon Jan 11, 2022
Issue not reproducible during KI retests. (First week)
mvtglobally commentedon Jan 18, 2022
Issue not reproducible during KI retests. (Second week)
mvtglobally commentedon Jan 25, 2022
Issue not reproducible during KI retests. (Third week) Closing