chore: turn emoji picker into an experiment

This commit is contained in:
Paul Makles
2022-07-01 19:32:27 +01:00
parent 918dd15894
commit e60f182c80
3 changed files with 28 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ import Store from "../interfaces/Store";
/**
* Union type of available experiments.
*/
export type Experiment = "dummy" | "offline_users" | "plugins";
export type Experiment = "dummy" | "offline_users" | "plugins" | "picker";
/**
* Currently active experiments.
@@ -19,6 +19,7 @@ export const AVAILABLE_EXPERIMENTS: Experiment[] = [
"dummy",
"offline_users",
"plugins",
"picker",
];
/**
@@ -41,6 +42,10 @@ export const EXPERIMENTS: {
description:
"This will enable the experimental plugin API. Only touch this if you know what you're doing.",
},
picker: {
title: "Emoji Picker",
description: "This will enable a work-in-progress emoji picker.",
},
};
export interface Data {