mattermost-mobile/app/components
Andre Vasconcelos 0b81a9b4e0
Fixing post draft style to comply with design specs (#3818)
* 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
2020-01-21 15:25:28 -03:00
..
__mocks__ [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
__snapshots__ Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
announcement_banner Deps update (#3806) 2020-01-20 13:22:07 -03:00
at_mention Deps update (#3806) 2020-01-20 13:22:07 -03:00
attachment_button Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
autocomplete MM-21892 Fix TypeError cause by mm-redux#1006 (#3839) 2020-01-21 13:30:57 -03:00
autocomplete_selector Adding ability to disable attachment buttons and fields. (#3541) 2019-11-14 10:32:08 -08:00
channel_intro Deps update (#3806) 2020-01-20 13:22:07 -03:00
channel_link Deps update (#3806) 2020-01-20 13:22:07 -03:00
channel_loader Deps update (#3806) 2020-01-20 13:22:07 -03:00
client_upgrade_listener Deps update (#3806) 2020-01-20 13:22:07 -03:00
combined_system_message [MM-18174] Replicated missing user functionality for system messages from webapp in RN (#3219) 2019-09-10 13:04:54 -04:00
combined_user_activity_post Reorganize post state and make postsInChannel into a sparse array (#2693) 2019-04-15 17:20:23 -04:00
custom_list Deps update (#3806) 2020-01-20 13:22:07 -03:00
edit_channel_info Deps update (#3806) 2020-01-20 13:22:07 -03:00
emoji MM-21062 Added margin to custom Emoji (#3682) 2019-12-10 13:32:57 -03:00
emoji_picker Deps update (#3806) 2020-01-20 13:22:07 -03:00
error_list add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
error_text Fix error text when intl object is not provided (#2373) 2018-11-24 00:00:09 +08:00
failed_network_action Updated localization items (#3638) 2019-12-03 21:53:55 +08:00
file_attachment_list Deps update (#3806) 2020-01-20 13:22:07 -03:00
file_upload_preview Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
interactive_dialog_controller [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
layout/keyboard_layout MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
load_more_posts MM-19993 Fix Channel spinner is black on dark theme (#3558) 2019-11-18 22:04:52 +08:00
markdown MM-21723 Handle deep link errors to inaccessible teams, channels & permalinks (#3840) 2020-01-21 14:47:10 -03:00
message_attachments Deps update (#3806) 2020-01-20 13:22:07 -03:00
network_indicator Deps update (#3806) 2020-01-20 13:22:07 -03:00
pasteable_text_input Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
post MM-18054 Fix Comment Line showing (#3696) 2019-12-12 19:25:00 -05:00
post_add_channel_member Deps update (#3806) 2020-01-20 13:22:07 -03:00
post_attachment_image MM-18236 Prevent the post menu from triggering when using the back gesture (#3319) 2019-09-26 00:19:49 +03:00
post_attachment_opengraph Deps update (#3806) 2020-01-20 13:22:07 -03:00
post_body [MM-10813] Design update for Post attachments (#3511) 2019-11-15 22:41:09 -05:00
post_body_additional_content MM-14622 Use post id when retrieving opengraph data from mattermost-redux (#3516) 2019-12-18 09:51:31 -05:00
post_header Deps update (#3806) 2020-01-20 13:22:07 -03:00
post_list MM-21723 Handle deep link errors to inaccessible teams, channels & permalinks (#3840) 2020-01-21 14:47:10 -03:00
post_profile_picture MM-18603 Fix post header to prevent overlaps (#3332) 2019-09-27 17:16:36 -04:00
post_textbox Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
profile_picture Remove deprecated lifecycle methods from misc components (#3426) 2019-10-22 03:20:58 +03:00
progressive_image Deps update (#3806) 2020-01-20 13:22:07 -03:00
radio_button Deps update (#3806) 2020-01-20 13:22:07 -03:00
reactions Deps update (#3806) 2020-01-20 13:22:07 -03:00
refresh_list add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
retry_bar_indicator Remove deprecated lifecycle methods from misc components (#3426) 2019-10-22 03:20:58 +03:00
root [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
safe_area_view Deps update (#3806) 2020-01-20 13:22:07 -03:00
search_bar Deps update (#3806) 2020-01-20 13:22:07 -03:00
show_more_button Deps update (#3806) 2020-01-20 13:22:07 -03:00
sidebars Deps update (#3806) 2020-01-20 13:22:07 -03:00
slide_up_panel Deps update (#3806) 2020-01-20 13:22:07 -03:00
start MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3296) 2019-09-23 13:08:32 -07:00
status_bar add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
team_icon [MM-18362] Sidebar improvements (#3223) 2019-09-16 13:17:48 -03:00
touchable_with_feedback MM-18236 Prevent the post menu from triggering when using the back gesture (#3319) 2019-09-26 00:19:49 +03:00
user_status Deps update (#3806) 2020-01-20 13:22:07 -03:00
widgets/settings Deps update (#3806) 2020-01-20 13:22:07 -03:00
app_icon.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
badge.js [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
badge.test.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
channel_icon.js [MM-18362] Sidebar improvements (#3223) 2019-09-16 13:17:48 -03:00
checkmark.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
conditional_touchable.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
conditionalWrapper.js MM-15307 Updated to use InteractionManager (#3666) 2020-01-09 18:02:02 +08:00
deleted_post.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
fade.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
fade.test.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
formatted_date.js Migrate to moment to fix timestamps based on timezone or local time (#3126) 2019-08-15 12:32:16 -04:00
formatted_markdown_text.js MM-19837 Remove Opacity from AtMention Markdown (#3640) 2019-12-03 13:07:34 -05:00
formatted_text.js fix warnings in running jest test (#2087) 2018-09-07 23:05:35 +08:00
formatted_time.js MM-21342 Fix leading zero on post by using react-intl by default and fallback to moment-timezone for unsupported locale (#3797) 2020-01-13 20:12:51 -03:00
formatted_time.test.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
loading.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
no_results.js MM-13953 Channel Info screen transition (#3812) 2020-01-15 09:29:57 -07:00
paper_plane.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
post_list_retry.js MM-18236 Prevent the post menu from triggering when using the back gesture (#3319) 2019-09-26 00:19:49 +03:00
post_separator.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
profile_picture_button.js Dependencies update (#2576) 2019-02-20 17:17:04 -03:00
profile_picture_button.test.js [MM-16263] UI/UX Improvements to the mobile post draft area (#3807) 2020-01-16 22:17:03 -03:00
recent_date.js MM-18466 Change recent date separators to yesterday/today (#3245) 2019-09-14 07:02:51 -03:00
recent_date.test.js MM-18466 Change recent date separators to yesterday/today (#3245) 2019-09-14 07:02:51 -03:00
remove_markdown.js MM-10012 Added Markdown rendering to expanded announcement banner (#1861) 2018-07-04 13:15:03 -04:00
reply_icon.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
send_button.js Fixing post draft style to comply with design specs (#3818) 2020-01-21 15:25:28 -03:00
send_button.test.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
swiper.js Update total to reflect number of children (#3367) 2019-10-04 15:06:22 -07:00
swiper.test.js Update total to reflect number of children (#3367) 2019-10-04 15:06:22 -07:00
tag.js MM-18603 Fix post header to prevent overlaps (#3332) 2019-09-27 17:16:36 -04:00
text_input_with_localized_placeholder.js [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00
vector_icon.js Deps update (#3806) 2020-01-20 13:22:07 -03:00
video_controls.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00