adding a feature flag for inline post editing (#19210)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
81409ee7c4
Коммит
c198ef6e16
@@ -70,6 +70,9 @@ type FeatureFlags struct {
|
|||||||
|
|
||||||
// A/B test for whether radio buttons or toggle button is more effective in in-screen invite to team modal ("none", "toggle")
|
// A/B test for whether radio buttons or toggle button is more effective in in-screen invite to team modal ("none", "toggle")
|
||||||
InviteToTeam string
|
InviteToTeam string
|
||||||
|
|
||||||
|
// Enable inline post editing
|
||||||
|
InlinePostEditing bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -94,6 +97,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.GuidedChannelCreation = false
|
f.GuidedChannelCreation = false
|
||||||
f.ResendInviteEmailInterval = ""
|
f.ResendInviteEmailInterval = ""
|
||||||
f.InviteToTeam = "none"
|
f.InviteToTeam = "none"
|
||||||
|
f.InlinePostEditing = false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user