Skip to content

Group membership change propegation

Ben requested to merge fix/group-membership-propegation-2228 into master

Summary

Closes #2228 (closed)

This MR makes it so that when joining, leaving, creating and destroying a group, the sidebar updates without the user having to refresh.

Steps to test

Create and Delete
  1. Log in.
  2. Create a new group.
  3. Check the sidebar has the new group without you having to reload.
  4. Delete the group, it should now be gone.
Leave and Join
  1. Join a group that you are not an admin of.
  2. Leave the group - it should now be gone from the sidebar.
  3. Rejoin, it should be back.

Estimated Regression Scope

GroupsService, The group sidebar have been the main focus of this change, most of the logical changes are in there.

I've also touched two other areas due to errors flooding my console when testing:

Avatar component, the only change is an extra condition in an if statement, so I don't see much of an issue with that but note it has been touched.

Other than that some changeDetection was added to the videochat component.

Merge request reports