summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-01-18 20:24:14 +0100
committerGitHub <noreply@github.com>2022-01-18 20:24:14 +0100
commitaad60c882e16cd2c8769a49e6d9f87a040590d62 (patch)
tree3bfe1f8953b40f9beb39c69db3a7647ea6de54d2 /vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go
parentfecca575078a21dedb0cab213dde7fd97161c0fa (diff)
downloadmatterbridge-msglm-aad60c882e16cd2c8769a49e6d9f87a040590d62.tar.gz
matterbridge-msglm-aad60c882e16cd2c8769a49e6d9f87a040590d62.tar.bz2
matterbridge-msglm-aad60c882e16cd2c8769a49e6d9f87a040590d62.zip
Bump github.com/mattermost/mattermost-server/v6 from 6.1.0 to 6.3.0 (#1686)
Bumps [github.com/mattermost/mattermost-server/v6](https://github.com/mattermost/mattermost-server) from 6.1.0 to 6.3.0. - [Release notes](https://github.com/mattermost/mattermost-server/releases) - [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/mattermost/mattermost-server/compare/v6.1.0...v6.3.0) --- updated-dependencies: - dependency-name: github.com/mattermost/mattermost-server/v6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go35
1 files changed, 26 insertions, 9 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go b/vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go
index 81b62172..a2d53e34 100644
--- a/vendor/github.com/mattermost/mattermost-server/v6/model/feature_flags.go
+++ b/vendor/github.com/mattermost/mattermost-server/v6/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"`
@@ -41,14 +44,9 @@ type FeatureFlags struct {
// Enable different team menu button treatments, possible values = ("none", "by_team_name", "inverted_sidebar_bg_color")
AddChannelButton string
- // Enable different treatments for first time users, possible values = ("none", "tour_point", "around_input")
- PrewrittenMessages string
-
- // Enable different treatments for first time users, possible values = ("none", "tips_and_next_steps")
- DownloadAppsCTA string
-
// Determine whether when a user gets created, they'll have noisy notifications e.g. Send desktop notifications for all activity
NewAccountNoisy bool
+
// Enable Boards Unfurl Preview
BoardsUnfurl bool
@@ -57,6 +55,21 @@ type FeatureFlags struct {
// Start A/B tour tips automatically, possible values = ("none", "auto")
AutoTour string
+
+ // A dash separated list for feature flags to turn on for Boards
+ BoardsFeatureFlags string
+
+ // A/B test for the add members to channel button, possible values = ("top", "bottom")
+ AddMembersToChannel string
+
+ // Enable Create First Channel
+ GuidedChannelCreation bool
+
+ // Determine after which duration in hours to send a second invitation to someone that didn't join after the initial invite, possible values = ("48", "72")
+ ResendInviteEmailInterval string
+
+ // A/B test for whether radio buttons or toggle button is more effective in in-screen invite to team modal ("none", "toggle")
+ InviteToTeam string
}
func (f *FeatureFlags) SetDefaults() {
@@ -66,17 +79,21 @@ func (f *FeatureFlags) SetDefaults() {
f.CollapsedThreads = true
f.EnableRemoteClusterService = false
f.AppsEnabled = false
+ f.AppBarEnabled = false
f.PluginApps = ""
f.PluginFocalboard = ""
f.PermalinkPreviews = true
f.GlobalHeader = true
f.AddChannelButton = "by_team_name"
- f.PrewrittenMessages = "tour_point"
- f.DownloadAppsCTA = "tips_and_next_steps"
f.NewAccountNoisy = false
f.BoardsUnfurl = true
f.CallsMobile = false
f.AutoTour = "none"
+ f.BoardsFeatureFlags = ""
+ f.AddMembersToChannel = "top"
+ f.GuidedChannelCreation = false
+ f.ResendInviteEmailInterval = ""
+ f.InviteToTeam = "none"
}
func (f *FeatureFlags) Plugins() map[string]string {