Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
custom-profile-fields: Allow setting hints of default external accounts.
Niloth Pfa3956da9d6c
diff --git a/web/src/settings_profile_fields.ts b/web/src/settings_profile_fields.tsindex 4b08375f486..485d79a0052 100644--- a/web/src/settings_profile_fields.ts+++ b/web/src/settings_profile_fields.ts@@ -246,7 +246,7 @@ function external_account_item_click_callback(const external_account = realm.realm_default_external_accounts[external_account_type];assert(external_account !== undefined);$("#profile_field_name").val(external_account.name).prop("disabled", true);- $("#profile_field_hint").val("").prop("disabled", true);+ $("#profile_field_hint").val(external_account.hint).prop("disabled", true);widget.render();}diff --git a/zerver/lib/external_accounts.py b/zerver/lib/external_accounts.pyindex 2ebf1711d58..3201c78ba59 100644--- a/zerver/lib/external_accounts.py+++ b/zerver/lib/external_accounts.py@@ -102,8 +102,8 @@ DEFAULT_EXTERNAL_ACCOUNTS = {"mastodon": ExternalAccount(text="Mastodon",url_pattern="%(username)s",- name=gettext_lazy("Mastodon profile URL"),- hint="",+ name=gettext_lazy("Mastodon profile"),+ hint="The full URL to your profile",),"medium": ExternalAccount(text="Medium",