Add feature flag for prototypes

This commit is contained in:
Travis Ralston 2020-08-20 19:44:59 -06:00
parent 5c71e33362
commit 0c80db8820
2 changed files with 7 additions and 0 deletions

View file

@ -444,6 +444,7 @@
"%(senderName)s: %(reaction)s": "%(senderName)s: %(reaction)s",
"%(senderName)s: %(stickerName)s": "%(senderName)s: %(stickerName)s",
"Change notification settings": "Change notification settings",
"Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.": "Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.",
"New spinner design": "New spinner design",
"Message Pinning": "Message Pinning",
"Custom user status messages": "Custom user status messages",

View file

@ -109,6 +109,12 @@ export interface ISetting {
}
export const SETTINGS: {[setting: string]: ISetting} = {
"feature_communities_v2_prototypes": {
isFeature: true,
displayName: _td("Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution."),
supportedLevels: LEVELS_FEATURE,
default: false,
},
"feature_new_spinner": {
isFeature: true,
displayName: _td("New spinner design"),