mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
feat: add admin shortcuts for convenience
This commit is contained in:
@@ -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" | "admin_beta";
|
||||
|
||||
/**
|
||||
* Currently active experiments.
|
||||
@@ -19,6 +19,7 @@ export const AVAILABLE_EXPERIMENTS: Experiment[] = [
|
||||
"dummy",
|
||||
"offline_users",
|
||||
"plugins",
|
||||
"admin_beta",
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -41,6 +42,11 @@ export const EXPERIMENTS: {
|
||||
description:
|
||||
"This will enable the experimental plugin API. Only touch this if you know what you're doing.",
|
||||
},
|
||||
admin_beta: {
|
||||
title: "Admin Panel Shortcuts",
|
||||
description:
|
||||
"Adds context menu entries to quickly jump to Revolt Admin Panel. This is intended for use by the team.",
|
||||
},
|
||||
};
|
||||
|
||||
export interface Data {
|
||||
|
||||
Reference in New Issue
Block a user