adding a feature flag for inline post editing (#19210)

Этот коммит содержится в:
Michel Engelen
2021-12-21 08:59:52 +01:00
коммит произвёл 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")
InviteToTeam string
// Enable inline post editing
InlinePostEditing bool
}
func (f *FeatureFlags) SetDefaults() {
@@ -94,6 +97,7 @@ func (f *FeatureFlags) SetDefaults() {
f.GuidedChannelCreation = false
f.ResendInviteEmailInterval = ""
f.InviteToTeam = "none"
f.InlinePostEditing = false
}
func (f *FeatureFlags) Plugins() map[string]string {