* Polishing post draft to comply with design specs * changed maxHeight in landscape mode, fixed icon sizes - Refactored code so that post draft icon sizes are taken from same constant value - Set maxHeight value in landscape mode to be smaller (tests pending) - Removed repeated styles for button wrappers (passing them down as props to child components) - Increased size of image attachment remote icon, and increased tappable area * Removing repeated logic for file upload * Fixing failed snapshot tests / style checks * Fixing file upload remove icon to have 64% opacity * post draft UX/UI improvements * Fix input box extra spacing * input box line height and attachment border * Animate to original state even if error is showing * Fix permissions * Improve attachment error animation * Fix iOS post input height * Update snapshots
8 lines
No EOL
333 B
JavaScript
8 lines
No EOL
333 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const MAX_FILE_COUNT = 5;
|
|
export const IS_REACTION_REGEX = /(^\+:([^:\s]*):)$/i;
|
|
export const INSERT_TO_DRAFT = 'insert_to_draft';
|
|
export const INSERT_TO_COMMENT = 'insert_to_comment';
|
|
export const ICON_SIZE = 24; |