Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Document using custom profile fields in @-mentions.

Alya Abbott81909e01ebfd
diff --git a/starlight_help/src/content/docs/custom-profile-fields.mdx b/starlight_help/src/content/docs/custom-profile-fields.mdx
index cf1d25f8bea..c346f868fc6 100644
--- a/starlight_help/src/content/docs/custom-profile-fields.mdx
+++ b/starlight_help/src/content/docs/custom-profile-fields.mdx
@@ -23,6 +23,11 @@ custom profile fields to [display](#display-custom-fields-on-user-card) on user
cards. Custom profile fields can be optional or
[required](#make-a-custom-profile-field-required).
+You can [configure](#use-a-custom-profile-field-in--mention-suggestions)
+**External account** and **Short text** custom profile fields to be used for
+[@-mention](/help/mention-a-user-or-group) suggestions. For example, users could
+be mentioned by their GitHub or Mastodon usernames.
+
Zulip supports synchronizing custom profile fields from an external
user database such as LDAP or SAML. See the [authentication
methods][authentication-production] documentation for details.
@@ -113,9 +118,21 @@ it out.
checkboxes in the **Required** column of the **Custom profile fields** table.
</ZulipTip>
-## Configure whether users can edit custom profile fields
+## Use a custom profile field in @-mention suggestions
-<AdminOnly />
+**External account** and **Short text** custom profile fields can be used for
+[@-mention](/help/mention-a-user-or-group) suggestions.
+
+<FlattenedSteps>
+ <NavigationSteps target="settings/profile-field-settings" />
+
+ 1. In the **Actions** column, click the **edit** (<EditIcon />)
+ icon for the profile field you want to edit.
+ 1. Toggle **Use in @-mention suggestions**.
+ 1. Click **Save changes**.
+</FlattenedSteps>
+
+## Configure whether users can edit custom profile fields
You can configure whether users in your organization can edit custom profile
fields for their own account. For example, you may want to restrict editing if
@@ -137,17 +154,22 @@ Choose the profile field type that's most appropriate for the requested informat
* **Date**: For dates (e.g., birthdays or work anniversaries).
* **Link**: For links to websites, including company-internal pages.
* **External account**: For linking to an external account (e.g., GitHub,
- GitLab, LinkedIn, etc.). Some integrations ([GitHub](/integrations/github))
- use [silent mentions](/help/mention-a-user-or-group#silently-mention-a-user)
- to refer to users if a matching external account is configured.
+ GitLab, LinkedIn, etc.). You can
+ [configure](#use-a-custom-profile-field-in--mention-suggestions) this field to
+ be used for [@-mention](/help/mention-a-user-or-group) suggestions. Some
+ integrations ([GitHub](/integrations/github)) use [silent
+ mentions](/help/mention-a-user-or-group#silently-mention-a-user) to refer to
+ users if a matching external account is configured.
* **Dropdown**: A dropdown with a list of predefined options (e.g.,
office location).
* **Pronouns**: What pronouns should people use to refer to the user? Pronouns
are displayed in [user mention](/help/mention-a-user-or-group) autocomplete
suggestions.
* **Paragraph**: For multiline responses (e.g., a user's intro message).
-* **Short text**: For one-line responses up to 50 characters (e.g., team
- name or role in your organization).
+* **Short text**: For one-line responses up to 50 characters (e.g., team name or
+ role in your organization). You can
+ [configure](#use-a-custom-profile-field-in--mention-suggestions) this field to
+ be used for [@-mention](/help/mention-a-user-or-group) suggestions.
* **Users**: For selecting one or more users (e.g., manager or direct reports).
## Related articles
diff --git a/starlight_help/src/content/docs/mention-a-user-or-group.mdx b/starlight_help/src/content/docs/mention-a-user-or-group.mdx
index b2254ce3fea..9400213bb8c 100644
--- a/starlight_help/src/content/docs/mention-a-user-or-group.mdx
+++ b/starlight_help/src/content/docs/mention-a-user-or-group.mdx
@@ -27,9 +27,14 @@ import StartComposing from "../include/_StartComposing.mdx";
<FlattenedSteps>
<StartComposing />
- 1. Type `@` followed by a few letters from a name or email address.
+ 1. Type `@` followed by a few letters from a name.
1. Pick the appropriate user or user group from the autocomplete.
</FlattenedSteps>
+
+ <ZulipTip>
+ You can also type a user's email address or (when enabled) an external
+ account username in a [custom profile field](/help/custom-profile-fields).
+ </ZulipTip>
</TabItem>
<TabItem label="Mobile">
@@ -61,16 +66,21 @@ import StartComposing from "../include/_StartComposing.mdx";
## Silently mention a user
-A silent mention allows you to refer to a user without triggering a
+A silent mention allows you to refer to a user or group without triggering a
notification. Silent mentions start with `@_` instead of `@`.
<FlattenedSteps>
<StartComposing />
- 1. Type `@_` followed by a few letters from a name or email address.
+ 1. Type `@` followed by a few letters from a name.
1. Pick the appropriate user or user group from the autocomplete.
</FlattenedSteps>
+<ZulipTip>
+ You can also type a user's email address or (when enabled) an external
+ account username in a [custom profile field](/help/custom-profile-fields).
+</ZulipTip>
+
## Mention all topic participants
Using the `@**topic**` mention, you can mention everyone who has previously