Skip to content
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

Add distributing of users by groups in administration page. #562

Closed
Alpus opened this issue Mar 21, 2016 · 6 comments
Closed

Add distributing of users by groups in administration page. #562

Alpus opened this issue Mar 21, 2016 · 6 comments

Comments

@Alpus
Copy link
Contributor

Alpus commented Mar 21, 2016

When number of users increase it is hard to find needed user (e.g. from team that work directly with you). I suggest to add an opportunity to distribute users by groups in administration page. Also, it can help to solve issue #236 (If we make opportunity to create folders of users in right sidebar it seems logically that one of the folders will contain groupmates).

@timabbott
Copy link
Member

Hmm, maybe. I think I'm more excited about an implementation of #236 as a next step towards making progress on the direction of scaling the user lists; I think it's very possible the right solution here for the administration page is just to have a good search feature.

@danshev
Copy link

danshev commented Mar 24, 2016

Depending on the use-case, a group-based approach can be nice in that, with some additional modifications, it enables a User creating a Stream to easily subscribe an entire swag of Users (versus picking through the entire User list).

This suggestion could be more of an "and" rather than an "or" with #236.

@Alpus We've implemented this approach in our project and it works well. Our project has made enough mods so to not be able to merge back, but I can share some code and screenshots, if interested.

@timabbott
Copy link
Member

Cool @danshev. Some screenshots of how you did groups support would be great! One of the big challenges with this sort of thing is always figuring out how to make the UI for a groups feature work well.

@danshev
Copy link

danshev commented Mar 24, 2016

Our access paradigm is very different, so our implementation can thankfully be pretty basic. Just sharing for the sake of ideas for others:

  1. In a User's profile settings page, they can freely subscribe / unsubscribe to / from Groups:
    abc
  2. For subscribing an entire Group to a Stream, we use the TextExt jQuery Plugin to handle the UI. The plugin takes a suggestions array, which we populate with people.get_rest_of_realm() and a list of the Realm's Groups, which we pass on initial load as page_params.group_list.

def

Using TextExt creates a little work as far as reversing from full_name to email, but the UI is much better. For any value that doesn't resolve to an email (i.e. a Group name), we just pass the Group name. This requires a little work in streams.py on the backend (i.e. handling email addresses and raw group names), but it's not too bad.

@timabbott
Copy link
Member

Cool. Your screenshots reminded me that it'd be great to have that kind of name boxes in the compose box, so I opened #595 for that issue.

@timabbott
Copy link
Member

We've now implemented groups in Zulip, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants