From a76fa5d62479030fb84575e63f0e26ae090547db Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Thu, 4 Nov 2021 16:30:07 +0100 Subject: [PATCH] add feature flag for maximised widgets (#7084) --- src/i18n/strings/en_EN.json | 1 + src/settings/Settings.tsx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index f8359526ec..f57ce2cc71 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -815,6 +815,7 @@ "Render LaTeX maths in messages": "Render LaTeX maths in messages", "Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.": "Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.", "Message Pinning": "Message Pinning", + "Maximised widgets": "Maximised widgets", "Threaded messaging": "Threaded messaging", "Custom user status messages": "Custom user status messages", "Group & filter rooms by custom tags (refresh to apply changes)": "Group & filter rooms by custom tags (refresh to apply changes)", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index e8a63efb03..8b25309120 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -172,6 +172,12 @@ export const SETTINGS: {[setting: string]: ISetting} = { supportedLevels: LEVELS_FEATURE, default: false, }, + "feature_maximised_widgets": { + isFeature: true, + displayName: _td("Maximised widgets"), + supportedLevels: LEVELS_FEATURE, + default: false, + }, "feature_thread": { isFeature: true, // Requires a reload as we change an option flag on the `js-sdk`