[MM-45666] - A/B Test: Nav Bar Upgrade button (#20676)
* [MM-45666] - A/B Test: Nav Bar Upgrade button * update flag default value * update text
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2388848f47
Коммит
478ff50ffd
@@ -73,6 +73,8 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
// Enable Boards as a product (multi-product architecture)
|
// Enable Boards as a product (multi-product architecture)
|
||||||
BoardsProduct bool
|
BoardsProduct bool
|
||||||
|
|
||||||
|
PlanUpgradeButtonText string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -100,6 +102,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.AdvancedTextEditor = true
|
f.AdvancedTextEditor = true
|
||||||
f.CallsEnabled = true
|
f.CallsEnabled = true
|
||||||
f.BoardsProduct = false
|
f.BoardsProduct = false
|
||||||
|
f.PlanUpgradeButtonText = "Upgrade"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user