Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hotkey: Update deprecation notices to use Shift for capital letters.
N-Shar-ma1480eca7d548
diff --git a/web/src/deprecated_feature_notice.js b/web/src/deprecated_feature_notice.jsindex 4e488f0f909..0e4546e41ce 100644--- a/web/src/deprecated_feature_notice.js+++ b/web/src/deprecated_feature_notice.js@@ -20,11 +20,11 @@ export function maybe_show_deprecation_notice(key) {let message;const isCmdOrCtrl = common.has_mac_keyboard() ? "Cmd" : "Ctrl";switch (key) {- case "C":- message = get_hotkey_deprecation_notice("C", "x");+ case "Shift + C":+ message = get_hotkey_deprecation_notice("Shift + C", "X");break;case "*":- message = get_hotkey_deprecation_notice("*", isCmdOrCtrl + " + s");+ message = get_hotkey_deprecation_notice("*", isCmdOrCtrl + " + S");break;case "Shift + S":message = get_hotkey_deprecation_notice("Shift + S", "S");diff --git a/web/src/hotkey.js b/web/src/hotkey.jsindex a2c386c3a14..50224db9848 100644--- a/web/src/hotkey.js+++ b/web/src/hotkey.js@@ -881,7 +881,7 @@ export function process_hotkey(e, hotkey) {browser_history.go_to_location("drafts");return true;case "C_deprecated":- deprecated_feature_notice.maybe_show_deprecation_notice("C");+ deprecated_feature_notice.maybe_show_deprecation_notice("Shift + C");return true;case "star_deprecated":deprecated_feature_notice.maybe_show_deprecation_notice("*");