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.

banners: Change insecure-desktop-app intent and message.

Shubham Padia92d1fcdce66e
diff --git a/web/src/navbar_alerts.ts b/web/src/navbar_alerts.ts
index f8a01cff76b..dc1d8931ac5 100644
--- a/web/src/navbar_alerts.ts
+++ b/web/src/navbar_alerts.ts
@@ -230,10 +230,10 @@ const CONFIGURE_OUTGOING_MAIL_BANNER: AlertBanner = {
const INSECURE_DESKTOP_APP_BANNER: AlertBanner = {
process: "insecure-desktop-app",
- intent: "danger",
+ intent: "warning",
label: $t({
defaultMessage:
- "You are using an old version of the Zulip desktop app with known security bugs.",
+ "Zulip desktop is not updating automatically. Please upgrade for security updates and other improvements.",
}),
buttons: [
{
diff --git a/web/src/portico/showroom.ts b/web/src/portico/showroom.ts
index 19c16eab973..5e024beb48f 100644
--- a/web/src/portico/showroom.ts
+++ b/web/src/portico/showroom.ts
@@ -169,11 +169,11 @@ const alert_banners: Record<string, AlertBanner> = {
"insecure-desktop-app": {
process: "insecure-desktop-app",
intent: "danger",
- label: "You are using an old version of the Zulip desktop app with known security bugs.",
+ label: "Zulip desktop is not updating automatically. Please upgrade for security updates and other improvements.",
buttons: [
{
attention: "quiet",
- intent: "danger",
+ intent: "warning",
label: "Download the latest version",
},
],