Open
Description
We should store the list of user groups in the realm, with their metadata and their memberships, and keep the data up to date.
This data originates as realm_user_groups
in the initial snapshot at https://zulip.com/api/register-queue#response , and is updated by events.
As a preparatory refactor, we'll move PerAccountStore.users
(which is a Map<int, User>
, indexed by user ID) to live on a new type UserStore
. This will closely follow the example of streams
and StreamStore
.
Then the user groups will be added as an additional data structure on UserStore
.
This is a prerequisite for features involving user groups, in particular:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status