[Glitch] Add edit history to web UI

Port fd3a45e348 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2022-02-09 01:17:07 +01:00
committed by Claire
parent 322e907e04
commit 44b06c4d96
15 changed files with 596 additions and 121 deletions

View File

@ -24,6 +24,7 @@ import {
ListEditor,
ListAdder,
PinnedAccountsEditor,
CompareHistoryModal,
} from 'flavours/glitch/util/async-components';
const MODAL_COMPONENTS = {
@ -42,9 +43,10 @@ const MODAL_COMPONENTS = {
'ACTIONS': () => Promise.resolve({ default: ActionsModal }),
'EMBED': EmbedModal,
'LIST_EDITOR': ListEditor,
'LIST_ADDER':ListAdder,
'FOCAL_POINT': () => Promise.resolve({ default: FocalPointModal }),
'LIST_ADDER': ListAdder,
'PINNED_ACCOUNTS_EDITOR': PinnedAccountsEditor,
'COMPARE_HISTORY': CompareHistoryModal,
};
export default class ModalRoot extends React.PureComponent {