[MM-39060] - A/B Test: Reminder to Join Workspace email (#18894)

* [MM-39060] - A/B Test: Reminder to Join Workspace email

* Fix error and add error handling

* feedback impl

* run make i18n-extract

* improvements

* make i18n-extract

* setup ability to do telemetry on reminder invite emails

* improvement

* add telemetry

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Allan Guwatudde
2021-11-15 18:42:15 +03:00
коммит произвёл GitHub
родитель e1eb0a0cf3
Коммит 0ee2a3ca35
12 изменённых файлов: 166 добавлений и 48 удалений

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

@@ -46,6 +46,7 @@ type FeatureFlags struct {
// Determine whether when a user gets created, they'll have noisy notifications e.g. Send desktop notifications for all activity
NewAccountNoisy bool
// Enable Boards Unfurl Preview
BoardsUnfurl bool
@@ -61,6 +62,9 @@ type FeatureFlags struct {
// A/B test for the add members to channel button, possible values = ("top", "bottom")
AddMembersToChannel string
// Determine after which duration in hours to send a second invitation to someone that didn't join after the initial invite, possible values = ("48", "72")
ResendInviteEmailInterval string
// A/B test for whether radio buttons or toggle button is more effective in in-screen invite to team modal ("none", "toggle")
InviteToTeam string
}
@@ -84,6 +88,7 @@ func (f *FeatureFlags) SetDefaults() {
f.AutoTour = "none"
f.BoardsFeatureFlags = ""
f.AddMembersToChannel = "top"
f.ResendInviteEmailInterval = ""
f.InviteToTeam = "none"
}