* Thread screen * misc * Added snapshot for ThreadOverview * Updated snapshot * Misc * Updated snapshot and ts fixes * Made thread as a modal, fixes post list not closing on tablet * Removed unsued variables * Putting back the empty space before the root post (inverse list footer) * Changed input text * Removed empty footer space * Misc fixes * Disables new messages line for thread * Loading threads before opening modal & BottomSheet componentId fix * Moved merge navigation options to switchToThread * Moved LeftButton to switch to thread * Removed Q.and * Misc fixes * Added task id for pagination * Removed useMemo, Q.and * move thread close button as a prop * Remove title font styles to use default * Misc changes * Misc fix Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
22 lines
775 B
TypeScript
22 lines
775 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const MAX_MESSAGE_LENGTH_FALLBACK = 4000;
|
|
export const DEFAULT_SERVER_MAX_FILE_SIZE = 50 * 1024 * 1024;// 50 Mb
|
|
export const ICON_SIZE = 24;
|
|
export const UPDATE_NATIVE_SCROLLVIEW = 'onUpdateNativeScrollView';
|
|
export const TYPING_HEIGHT = 26;
|
|
export const ACCESSORIES_CONTAINER_NATIVE_ID = 'channelAccessoriesContainer';
|
|
export const THREAD_ACCESSORIES_CONTAINER_NATIVE_ID = 'threadAccessoriesContainer';
|
|
|
|
export const NOTIFY_ALL_MEMBERS = 5;
|
|
|
|
export default {
|
|
ACCESSORIES_CONTAINER_NATIVE_ID,
|
|
DEFAULT_SERVER_MAX_FILE_SIZE,
|
|
ICON_SIZE,
|
|
MAX_MESSAGE_LENGTH_FALLBACK,
|
|
NOTIFY_ALL_MEMBERS,
|
|
TYPING_HEIGHT,
|
|
UPDATE_NATIVE_SCROLLVIEW,
|
|
};
|