forked from Ivasoft/mattermost-mobile
* Global threads * Added translations * User avatar stack * In-Channel experience * Misc Fixes * Fixed fetchPostThread & added observer * using the observable for participants & check fix * Test case fix * Fix tablet view thread screen switching * No back button for tablets * folders for thread options only if needed * Using the existing observable * Users stack refactor fix * Reusing the user component * Refactor fix * Fixes double loaders when empty threads * Feedback * Moved some post options to common post options * Combined follow/unfollow functions * Feedback fixes * Addressing Feedback * Merge fix * Threads button component moved * Addressing feedbackk * Not rendering message when it's empty, removed unwanted Props exports * Addressing feedbac * Updated snapshot * Added emoji to removemarkdown component * Moved MD rendering into the component Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: koox00 <3829551+koox00@users.noreply.github.com>
97 lines
2.7 KiB
TypeScript
97 lines
2.7 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 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,
|
|
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,
|
|
];
|