[Glitch] Add explanation to mute dialog, refactor and clean up mute/block UI

Port 9027bfff0c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
ThibG
2019-09-29 21:46:05 +02:00
committed by Thibaut Girka
parent 332be562ea
commit 88481c9653
14 changed files with 221 additions and 87 deletions

View File

@ -15,6 +15,7 @@ import FocalPointModal from './focal_point_modal';
import {
OnboardingModal,
MuteModal,
BlockModal,
ReportModal,
SettingsModal,
EmbedModal,
@ -32,6 +33,7 @@ const MODAL_COMPONENTS = {
'DOODLE': () => Promise.resolve({ default: DoodleModal }),
'CONFIRM': () => Promise.resolve({ default: ConfirmationModal }),
'MUTE': MuteModal,
'BLOCK': BlockModal,
'REPORT': ReportModal,
'SETTINGS': SettingsModal,
'ACTIONS': () => Promise.resolve({ default: ActionsModal }),