MM-39059 - AB test for the add members channel (#18832)
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
097d32f409
Коммит
841155db3e
@@ -60,6 +60,9 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
// A dash separated list for feature flags to turn on for Boards
|
// A dash separated list for feature flags to turn on for Boards
|
||||||
BoardsFeatureFlags string
|
BoardsFeatureFlags string
|
||||||
|
|
||||||
|
// A/B test for the add members to channel button, possible values = ("top", "bottom")
|
||||||
|
AddMembersToChannel string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -81,6 +84,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.CallsMobile = false
|
f.CallsMobile = false
|
||||||
f.AutoTour = "none"
|
f.AutoTour = "none"
|
||||||
f.BoardsFeatureFlags = ""
|
f.BoardsFeatureFlags = ""
|
||||||
|
f.AddMembersToChannel = "top"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user