Investigate: New sidebar occasionally loses categories
1. Be a member of at least 2 teams
2. Create a few custom categories on each team with a DM/GM in at least one of them
3. Leave the team with a DM in a custom category or have another user remove you from that team
4. Refresh the page
Expected: The custom categories remain populated on the second team
Observed: The custom categories remain on the second team, but all channels in them are moved back to Channels or Direct Messages
We've had a few user reports that their sidebar categories disappeared randomly. A few things have stood out to me so far:
The SidebarCategories themselves don't disappear, but the SidebarChannels disappear from them.
I'm not sure if this happens on a per team or per user basis.
One user saw it happen, but he didn't see any requests made to any /categories endpoints
A couple of the reports that have come in were on Postgres, so there might be some correlation there.
Here are some conversations on it:
QA Test Steps
Tested and Passed on v.5.31.1-rc1 and v5.32-rc2. Closing.
Tested and Passed on the latest cloud
Build Date: Thu Jan 21 17:53:13 UTC 2021)
Custom categories are no longer emptying when user is removed/leaves a team.
QA note: Test case added and linked. This will be closed after v.5.32 testing.