MM-52173 Add setting to delay channel autocomplete (#22952)

* Add unit tests for ChannelMentionProvider.handleCompleteWord

* Add a minimum length before the ChannelMentionProvider triggers

* MM-52173 Move delayed autcomplete behind a setting

* Fix e2e test type check

* Update Textbox tests

* Add new setting to server telemetry
Этот коммит содержится в:
Harrison Healey
2023-05-02 10:11:15 -04:00
коммит произвёл GitHub
родитель 609ab9c765
Коммит 3ba75afa08
13 изменённых файлов: 271 добавлений и 6 удалений

Просмотреть файл

@@ -136,6 +136,7 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
props["InsightsEnabled"] = strconv.FormatBool(c.FeatureFlags.InsightsEnabled)
props["PostPriority"] = strconv.FormatBool(*c.ServiceSettings.PostPriority)
props["AllowSyncedDrafts"] = strconv.FormatBool(*c.ServiceSettings.AllowSyncedDrafts)
props["DelayChannelAutocomplete"] = strconv.FormatBool(*c.ExperimentalSettings.DelayChannelAutocomplete)
if license != nil {
props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer)