- Adds a new section under settings/notifications for adding custom multi-word keywords that get highlighted without notification - Adds a new classname for highlighting words although the styling is the same as mentions highlights - Added a few components to the ReduxFromProps pattern - Adds supported type for the hook of PluginComponent type - Add upsell for highlight without notification - Moved 'setting_item.tsx' to the components folder - Improved prop names and function structure for setting_item, setting_item_max and setting_item_min - Moved 'toggle_modal_button.tsx' to the components folder - Removed t and utility messages from a few components - Fixed bug where the tooltip was not getting rendered on restrictedButtons - Improved the mobile view of the settings modal - Adds E2E for the feature
60 строки
1.7 KiB
TypeScript
60 строки
1.7 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {ChannelsHeader} from './channels/header';
|
|
import {ChannelsAppBar} from './channels/app_bar';
|
|
import {ChannelsPostCreate} from './channels/post_create';
|
|
import {ChannelsPost} from './channels/post';
|
|
import {ChannelsCenterView} from './channels/center_view';
|
|
import {ChannelsSidebarLeft} from './channels/sidebar_left';
|
|
import {ChannelsSidebarRight} from './channels/sidebar_right';
|
|
import {DeletePostModal} from './channels/delete_post_modal';
|
|
import {FindChannelsModal} from './channels/find_channels_modal';
|
|
import {SettingsModal} from './channels/settings/settings_modal';
|
|
import {Footer} from './footer';
|
|
import {GlobalHeader} from './global_header';
|
|
import {MainHeader} from './main_header';
|
|
import {PostDotMenu} from './channels/post_dot_menu';
|
|
import {PostReminderMenu} from './channels/post_reminder_menu';
|
|
import {PostMenu} from './channels/post_menu';
|
|
import {ThreadFooter} from './channels/thread_footer';
|
|
import {EmojiGifPicker} from './channels/emoji_gif_picker';
|
|
|
|
const components = {
|
|
GlobalHeader,
|
|
ChannelsCenterView,
|
|
ChannelsSidebarLeft,
|
|
ChannelsSidebarRight,
|
|
ChannelsAppBar,
|
|
ChannelsHeader,
|
|
ChannelsPostCreate,
|
|
ChannelsPost,
|
|
FindChannelsModal,
|
|
DeletePostModal,
|
|
SettingsModal,
|
|
PostDotMenu,
|
|
PostMenu,
|
|
ThreadFooter,
|
|
Footer,
|
|
MainHeader,
|
|
PostReminderMenu,
|
|
EmojiGifPicker,
|
|
};
|
|
|
|
export {
|
|
components,
|
|
GlobalHeader,
|
|
ChannelsCenterView,
|
|
ChannelsSidebarLeft,
|
|
ChannelsSidebarRight,
|
|
ChannelsAppBar,
|
|
ChannelsHeader,
|
|
ChannelsPostCreate,
|
|
ChannelsPost,
|
|
FindChannelsModal,
|
|
DeletePostModal,
|
|
PostDotMenu,
|
|
PostMenu,
|
|
ThreadFooter,
|
|
};
|