[Glitch] Implement adding a user to a list from their profile

Port bb5558de62 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-11-06 17:44:28 +01:00
committed by ThibG
parent 34209c0340
commit bf92e7aaa6
12 changed files with 349 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import {
SettingsModal,
EmbedModal,
ListEditor,
ListAdder,
PinnedAccountsEditor,
} from 'flavours/glitch/util/async-components';
@ -36,6 +37,7 @@ const MODAL_COMPONENTS = {
'ACTIONS': () => Promise.resolve({ default: ActionsModal }),
'EMBED': EmbedModal,
'LIST_EDITOR': ListEditor,
'LIST_ADDER':ListAdder,
'FOCAL_POINT': () => Promise.resolve({ default: FocalPointModal }),
'PINNED_ACCOUNTS_EDITOR': PinnedAccountsEditor,
};