[MM-51514] Custom user settings (#27535)
* Custom user settings * Implement error boundary, fix validation * Extraction tests * Tests * Bring back refresh option for failed pluggable * [MM-51514] Allow plugins to open user settings modal (#27742) * Allow plugins to open user settings modal * [MM-51514] Improvements to custom plugin user settings (#27754) * Allow compass icon to be used * Pass props to custom plugin settings * Export react-select * Revert "Export react-select" This reverts commit 6b026c4eb789d298b721494a70e0e860a704d428. --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5bfc8a81d1
Коммит
e5842e67a8
@@ -15,6 +15,7 @@ import PostMessagePreview from 'components/post_view/post_message_preview';
|
||||
import StartTrialFormModal from 'components/start_trial_form_modal';
|
||||
import ThreadViewer from 'components/threading/thread_viewer';
|
||||
import Timestamp from 'components/timestamp';
|
||||
import UserSettingsModal from 'components/user_settings/modal';
|
||||
import BotTag from 'components/widgets/tag/bot_tag';
|
||||
import Avatar from 'components/widgets/users/avatar';
|
||||
|
||||
@@ -65,6 +66,11 @@ window.WebappUtils = {
|
||||
modals: {openModal, ModalIdentifiers},
|
||||
notificationSounds: {ring: NotificationSounds.ring, stopRing: NotificationSounds.stopRing},
|
||||
sendDesktopNotificationToMe: notifyMe,
|
||||
openUserSettings: (dialogProps) => openModal({
|
||||
modalId: ModalIdentifiers.USER_SETTINGS,
|
||||
dialogType: UserSettingsModal,
|
||||
dialogProps,
|
||||
}),
|
||||
};
|
||||
Object.defineProperty(window.WebappUtils, 'browserHistory', {
|
||||
get: () => getHistory(),
|
||||
|
||||
Ссылка в новой задаче
Block a user