* Fix search bar style * MM-42983 Align mention badge on channel list item * MM-42985 polish channel intro UI * MM-42984 update fonts on 'Show' bottom sheet * MM-42982 Increase tap area of back button on channel view * Set StatusBar style based on theme sidebarBg * Reconnect other WS after 20 seconds insted of 5 * Only fetch missing profiles for DM/GMs * Database prepare records optimization * Do not use fallbackUsername for storing GM/DM in the database * fix filter for fetching missing dm/gm * remove use of indexOf inside another loop * remove use of includes inside another loop * remove use of find inside another loop * Add missing translations * disable Flipper on iOS * Remove Flipper code from AppDelegate * feedback review * trim DM display name to make sure is not empty * fixing missing direct channels display name * UI/UX feedback * fix WS channel viewed and mark as unread * Remove duplicate emojis from reaction bar
39 lines
1.3 KiB
TypeScript
39 lines
1.3 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export default {
|
|
PAGE_SIZE_DEFAULT: 60,
|
|
POST_CHUNK_SIZE: 60,
|
|
POST_AROUND_CHUNK_SIZE: 10,
|
|
CHANNELS_CHUNK_SIZE: 50,
|
|
CRT_CHUNK_SIZE: 60,
|
|
STATUS_INTERVAL: 60000,
|
|
AUTOCOMPLETE_LIMIT_DEFAULT: 25,
|
|
MENTION: 'mention',
|
|
OUT_OF_OFFICE: 'ooo',
|
|
OFFLINE: 'offline',
|
|
AWAY: 'away',
|
|
ONLINE: 'online',
|
|
DND: 'dnd',
|
|
STATUS_COMMANDS: ['offline', 'away', 'online', 'dnd'],
|
|
DEFAULT_CHANNEL: 'town-square',
|
|
DM_CHANNEL: 'D' as const,
|
|
OPEN_CHANNEL: 'O' as const,
|
|
PRIVATE_CHANNEL: 'P' as const,
|
|
GM_CHANNEL: 'G' as const,
|
|
TEAMMATE_NAME_DISPLAY: {
|
|
SHOW_USERNAME: 'username',
|
|
SHOW_NICKNAME_FULLNAME: 'nickname_full_name',
|
|
SHOW_FULLNAME: 'full_name',
|
|
},
|
|
SPECIAL_MENTIONS: new Set(['all', 'channel', 'here']),
|
|
MAX_USERS_IN_GM: 8,
|
|
MIN_USERS_IN_GM: 3,
|
|
MAX_GROUP_CHANNELS_FOR_PROFILES: 50,
|
|
DEFAULT_AUTOLINKED_URL_SCHEMES: ['http', 'https', 'ftp', 'mailto', 'tel', 'mattermost'],
|
|
PROFILE_CHUNK_SIZE: 100,
|
|
SEARCH_TIMEOUT_MILLISECONDS: 100,
|
|
AUTOCOMPLETE_SPLIT_CHARACTERS: ['.', '-', '_'],
|
|
CHANNEL_USER_ROLE: 'channel_user',
|
|
RESTRICT_DIRECT_MESSAGE_ANY: 'any',
|
|
};
|