forked from Ivasoft/mattermost-mobile
* styling mobile wip * styling tablet wip tablet portrait * removed offSetY * Update en.json * corrections from reviews * removed space * changed location to sourceScreen in post.tsx * adjust width * update message to text * adding PanGesture adding PanGesture- wip PanGesture- wip * able to touch through on iOS * using EphemeralStore and listeners to discard overlays * snack positioning and touches * PanGesture- wip * PanGesture- fine tuning the animation PanGesture- wip * removed toast keyword * checks for ongoing animation * dismiss overlay on navigating away * dismiss overlay on navigating away * dismiss overlay on tabPress * dismiss overlay on tabPress * cancelled timers on panning start * add entering layoutAnimation * add exitingg layoutAnimation * fix layoutAnimation * fix styling * eslint fix * style fix * fix timer not stopping * revert changes made to the ephemeral store * bumping the toast vertically by 4px Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
107 lines
3.0 KiB
TypeScript
107 lines
3.0 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 CREATE_TEAM = 'CreateTeam';
|
|
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 LATEX = 'Latex';
|
|
export const LOGIN = 'Login';
|
|
export const MENTIONS = 'Mentions';
|
|
export const MFA = 'MFA';
|
|
export const SELECT_TEAM = 'SelectTeam';
|
|
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 const SNACK_BAR = 'SnackBar';
|
|
|
|
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,
|
|
CREATE_TEAM,
|
|
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,
|
|
LATEX,
|
|
LOGIN,
|
|
MENTIONS,
|
|
MFA,
|
|
SELECT_TEAM,
|
|
PARTICIPANTS_LIST,
|
|
PERMALINK,
|
|
POST_OPTIONS,
|
|
REACTIONS,
|
|
SAVED_POSTS,
|
|
SEARCH,
|
|
SERVER,
|
|
SETTINGS_SIDEBAR,
|
|
SSO,
|
|
THREAD,
|
|
THREAD_FOLLOW_BUTTON,
|
|
THREAD_OPTIONS,
|
|
USER_PROFILE,
|
|
SNACK_BAR,
|
|
};
|
|
|
|
export const MODAL_SCREENS_WITHOUT_BACK = [
|
|
CREATE_DIRECT_MESSAGE,
|
|
EMOJI_PICKER,
|
|
EDIT_POST,
|
|
FIND_CHANNELS,
|
|
PERMALINK,
|
|
];
|