mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
Instead of showing the actual names like "role:everyone", "role:moderators", etc. for system groups, we show "Everyone", "Moderators", etc. for system user group in pills, typeaheads and popovers. Though system groups are not shown in typeahead as of this commit, we update the typeahead code as well to not conside "role:" prefix while matching with the query as we would soon show system groups in typeahead when we would add new UI for group-based settings. Previously, only "role:everyone" group was shown as "Everyone" in popover and pills but for other system groups their original names for shown and this commit changes that behavior to be same for all system groups. The original display_name field for settings_config.system_user_groups_list objects, which was used for dropdown widgets, is also renamed so that we can use display_name field for the names to be used in other places.
18 KiB
18 KiB