forked from Ivasoft/mattermost-mobile
* Add AppsForm and Interactive Dialogs * Add the missing plumbing for Interactive Dialogs and minor fixes * Remove widgets subfolder * Fix paths * Address feedback * Address feedback * i18n extract * Only set the dialog if we are in the same server
99 lines
2.8 KiB
TypeScript
99 lines
2.8 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const ABOUT = 'About';
|
|
export const ACCOUNT = 'Account';
|
|
export const EMOJI_PICKER = 'EmojiPicker';
|
|
export const APP_FORM = 'AppForm';
|
|
export const BOTTOM_SHEET = 'BottomSheet';
|
|
export const BROWSE_CHANNELS = 'BrowseChannels';
|
|
export const CHANNEL = 'Channel';
|
|
export const CHANNEL_ADD_PEOPLE = 'ChannelAddPeople';
|
|
export const CHANNEL_DETAILS = 'ChannelDetails';
|
|
export const CHANNEL_EDIT = 'ChannelEdit';
|
|
export const CODE = 'Code';
|
|
export const CREATE_DIRECT_MESSAGE = 'CreateDirectMessage';
|
|
export const CREATE_OR_EDIT_CHANNEL = 'CreateOrEditChannel';
|
|
export const CUSTOM_STATUS = 'CustomStatus';
|
|
export const CUSTOM_STATUS_CLEAR_AFTER = 'CustomStatusClearAfter';
|
|
export const EDIT_POST = 'EditPost';
|
|
export const EDIT_PROFILE = 'EditProfile';
|
|
export const EDIT_SERVER = 'EditServer';
|
|
export const FIND_CHANNELS = 'FindChannels';
|
|
export const FORGOT_PASSWORD = 'ForgotPassword';
|
|
export const GALLERY = 'Gallery';
|
|
export const GLOBAL_THREADS = 'GlobalThreads';
|
|
export const HOME = 'Home';
|
|
export const INTEGRATION_SELECTOR = 'IntegrationSelector';
|
|
export const INTERACTIVE_DIALOG = 'InteractiveDialog';
|
|
export const IN_APP_NOTIFICATION = 'InAppNotification';
|
|
export const LOGIN = 'Login';
|
|
export const MENTIONS = 'Mentions';
|
|
export const MFA = 'MFA';
|
|
export const PARTICIPANTS_LIST = 'ParticipantsList';
|
|
export const PERMALINK = 'Permalink';
|
|
export const POST_OPTIONS = 'PostOptions';
|
|
export const REACTIONS = 'Reactions';
|
|
export const SAVED_POSTS = 'SavedPosts';
|
|
export const SEARCH = 'Search';
|
|
export const SERVER = 'Server';
|
|
export const SETTINGS_SIDEBAR = 'SettingsSidebar';
|
|
export const SSO = 'SSO';
|
|
export const THREAD = 'Thread';
|
|
export const THREAD_FOLLOW_BUTTON = 'ThreadFollowButton';
|
|
export const THREAD_OPTIONS = 'ThreadOptions';
|
|
export const USER_PROFILE = 'UserProfile';
|
|
|
|
export default {
|
|
ABOUT,
|
|
ACCOUNT,
|
|
EMOJI_PICKER,
|
|
APP_FORM,
|
|
BOTTOM_SHEET,
|
|
BROWSE_CHANNELS,
|
|
CHANNEL,
|
|
CREATE_OR_EDIT_CHANNEL,
|
|
CHANNEL_ADD_PEOPLE,
|
|
CHANNEL_EDIT,
|
|
CHANNEL_DETAILS,
|
|
CODE,
|
|
CREATE_DIRECT_MESSAGE,
|
|
CUSTOM_STATUS_CLEAR_AFTER,
|
|
CUSTOM_STATUS,
|
|
EDIT_POST,
|
|
EDIT_PROFILE,
|
|
EDIT_SERVER,
|
|
FIND_CHANNELS,
|
|
FORGOT_PASSWORD,
|
|
GALLERY,
|
|
GLOBAL_THREADS,
|
|
HOME,
|
|
INTEGRATION_SELECTOR,
|
|
INTERACTIVE_DIALOG,
|
|
IN_APP_NOTIFICATION,
|
|
LOGIN,
|
|
MENTIONS,
|
|
MFA,
|
|
PARTICIPANTS_LIST,
|
|
PERMALINK,
|
|
POST_OPTIONS,
|
|
REACTIONS,
|
|
SAVED_POSTS,
|
|
SEARCH,
|
|
SERVER,
|
|
SETTINGS_SIDEBAR,
|
|
SSO,
|
|
THREAD,
|
|
THREAD_FOLLOW_BUTTON,
|
|
THREAD_OPTIONS,
|
|
USER_PROFILE,
|
|
};
|
|
|
|
export const MODAL_SCREENS_WITHOUT_BACK = [
|
|
CREATE_DIRECT_MESSAGE,
|
|
EMOJI_PICKER,
|
|
EDIT_POST,
|
|
FIND_CHANNELS,
|
|
PERMALINK,
|
|
];
|