From ba1b279c5f940cd910c84663959bea5335e4f9b5 Mon Sep 17 00:00:00 2001 From: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Wed, 10 Nov 2021 13:10:14 -0500 Subject: [PATCH] [MM-39820] Add AppBarEnabled feature flag (#18967) Automatic Merge --- model/feature_flags.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/model/feature_flags.go b/model/feature_flags.go index 1b3db735c9..02be2c4f3f 100644 --- a/model/feature_flags.go +++ b/model/feature_flags.go @@ -25,9 +25,12 @@ type FeatureFlags struct { // Enable the remote cluster service for shared channels. EnableRemoteClusterService bool - // AppsEnabled toggle the Apps framework functionalities both in server and client side + // AppsEnabled toggles the Apps framework functionalities both in server and client side AppsEnabled bool + // AppBarEnabled toggles the App Bar component on client side + AppBarEnabled bool + // Feature flags to control plugin versions PluginPlaybooks string `plugin_id:"playbooks"` PluginApps string `plugin_id:"com.mattermost.apps"` @@ -69,6 +72,7 @@ func (f *FeatureFlags) SetDefaults() { f.CollapsedThreads = true f.EnableRemoteClusterService = false f.AppsEnabled = false + f.AppBarEnabled = false f.PluginApps = "" f.PluginFocalboard = "" f.PermalinkPreviews = true