Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Explain that Google blob emojis are deprecated.
evykassirerc321f5778597
diff --git a/docs/subsystems/emoji.md b/docs/subsystems/emoji.mdindex d15a9c0a1a1..4130d37221f 100644--- a/docs/subsystems/emoji.md+++ b/docs/subsystems/emoji.md@@ -6,10 +6,10 @@ document discusses a number of these issues.Currently, Zulip supports these four display formats for emoji:-- Google modern-- Google classic- Plain text+- Google blob (deprecated)## Emoji codesdiff --git a/static/styles/settings.css b/static/styles/settings.cssindex b9d54762dd9..90030bd0681 100644--- a/static/styles/settings.css+++ b/static/styles/settings.css@@ -961,7 +961,7 @@ input[type="checkbox"] {}.emojiset_choices {- width: 250px;+ width: 350px;.emoji {height: 22px;diff --git a/static/templates/settings/display_settings.hbs b/static/templates/settings/display_settings.hbsindex e08f0ba70e3..d4cdd5e40b2 100644--- a/static/templates/settings/display_settings.hbs+++ b/static/templates/settings/display_settings.hbs@@ -59,6 +59,10 @@<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f389.png" />{{/if}}</span>+ {{#if (eq this.key "google-blob")}}+ <span>(<em>{{t "deprecated" }}</em>)</span>+ {{> ../help_link_widget link="/help/emoji-and-emoticons#change-your-emoji-set" }}+ {{/if}}</label>{{/each}}</div>diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.pyindex 6858ce1f267..fe4d099e5ec 100644--- a/tools/lib/capitalization.py+++ b/tools/lib/capitalization.py@@ -32,6 +32,7 @@ IGNORED_PHRASES = [r"PM",r"PMs",r"Slack",+ r"Google",r"Terms of Service",r"Tuesday",r"URL",@@ -74,6 +75,8 @@ IGNORED_PHRASES = [# SPECIAL CASES# Because topics usually are lower-case, this would look weird if it were capitalizedr"more topics",+ # Used alone in a parenthetical where capitalized looks worse.+ r"^deprecated$",# Capital 'i' looks weird in reminders popoverr"in 1 hour",r"in 20 minutes",diff --git a/zerver/migrations/0344_alter_emojiset_default_value.py b/zerver/migrations/0344_alter_emojiset_default_value.pyindex 7a66a11fa6e..128fe22b280 100644--- a/zerver/migrations/0344_alter_emojiset_default_value.py+++ b/zerver/migrations/0344_alter_emojiset_default_value.py@@ -15,10 +15,10 @@ class Migration(migrations.Migration):name="emojiset",field=models.CharField(choices=[- ("google", "Google modern"),- ("google-blob", "Google classic"),+ ("google", "Google"),("twitter", "Twitter"),("text", "Plain text"),+ ("google-blob", "Google blobs"),],default="google",max_length=20,@@ -29,10 +29,10 @@ class Migration(migrations.Migration):name="emojiset",field=models.CharField(choices=[- ("google", "Google modern"),- ("google-blob", "Google classic"),+ ("google", "Google"),("twitter", "Twitter"),("text", "Plain text"),+ ("google-blob", "Google blobs"),],default="google",max_length=20,diff --git a/zerver/models.py b/zerver/models.pyindex d751dfa031f..99e74999173 100644--- a/zerver/models.py+++ b/zerver/models.py@@ -1547,10 +1547,10 @@ class UserBaseSettings(models.Model):TEXT_EMOJISET = "text"TWITTER_EMOJISET = "twitter"EMOJISET_CHOICES = (- (GOOGLE_EMOJISET, "Google modern"),- (GOOGLE_BLOB_EMOJISET, "Google classic"),+ (GOOGLE_EMOJISET, "Google"),(TWITTER_EMOJISET, "Twitter"),(TEXT_EMOJISET, "Plain text"),+ (GOOGLE_BLOB_EMOJISET, "Google blobs"),)emojiset: str = models.CharField(default=GOOGLE_EMOJISET, choices=EMOJISET_CHOICES, max_length=20diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex a9523b8be4a..f9e8c984e95 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -8585,10 +8585,10 @@ paths:The user's configured [emoji set](/help/emoji-and-emoticons#use-emoticons),used to display emoji to the user everywhere they appear in the UI.- - "google" - Google modern- - "google-blob" - Google classic+ - "google" - Google- "twitter" - Twitter- "text" - Plain text+ - "google-blob" - Google blobsschema:type: stringexample: "google"