add feature flag (#18404)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2af7b2392b
Коммит
fd7bc9b4a0
@@ -47,6 +47,9 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
// Enable different treatments for first time users, possible values = ("none", "tour_point", "around_input")
|
// Enable different treatments for first time users, possible values = ("none", "tour_point", "around_input")
|
||||||
PrewrittenMessages string
|
PrewrittenMessages string
|
||||||
|
|
||||||
|
// Enable different treatments for first time users, possible values = ("none", "tips_and_next_steps")
|
||||||
|
DownloadAppsCTA string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -64,6 +67,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.GlobalHeader = false
|
f.GlobalHeader = false
|
||||||
f.AddChannelButton = "by_team_name"
|
f.AddChannelButton = "by_team_name"
|
||||||
f.PrewrittenMessages = "none"
|
f.PrewrittenMessages = "none"
|
||||||
|
f.DownloadAppsCTA = "none"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user