mattermost-mobile/app/components
Jesse Hallam 0e84b91257 MM-16442: count actual reactions before falling back to has_reactions (#2910)
* MM-16442: leverage post hasReactions utils function

This handles backwards compatibility with servers that do not have post
metadata, allowing the client to detect the presence of reactions that
in turn might need to be loaded when the component is mounted.

* temporary mattermost-redux commit for testing

* revert usage of hasReactions, and count directly

We still fallback to has_reactions if set, in case we're connected to a server without post metadata.

* revert mattermost-redux changes
2019-06-24 15:36:24 -04:00
..
__mocks__ [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
__snapshots__ [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
announcement_banner Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
at_mention MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -07:00
autocomplete MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
autocomplete_selector MM-12845 Add widgets and interactive dialogs (#2353) 2018-11-23 12:30:12 -05:00
channel_intro Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
channel_link [MM-13295] Make channel link clickable for user who's not member of the public channel (#2466) 2019-02-20 01:45:04 +08:00
channel_loader [MM 15552] Determine number of placeholder rows from height (#2827) 2019-05-24 12:01:02 -04:00
client_upgrade_listener Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod (#2556) 2019-02-20 01:11:41 +05:30
combined_system_message Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07: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 MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
edit_channel_info MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
emoji MM-16228 Add compatibility for removal of ExperimentalEnablePostMetadata flag from config (#2883) 2019-06-13 16:29:35 -04:00
emoji_picker
error_list
error_text Fix error text when intl object is not provided (#2373) 2018-11-24 00:00:09 +08:00
failed_network_action
file_attachment_list MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
file_upload_preview Fix file upload not completing (#2866) 2019-06-06 08:39:06 -04:00
interactive_dialog_controller MM-12845 Add widgets and interactive dialogs (#2353) 2018-11-23 12:30:12 -05: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 Use post metadata to prevent scroll pop (#2304) 2018-11-22 19:47:27 -03:00
markdown Show broken image for inline images without dimensions (#2868) 2019-06-06 15:14:32 -04:00
message_attachments MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
network_indicator Update netInfo to check for internet connectivity (#2850) 2019-05-31 13:33:56 -04:00
post MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
post_add_channel_member Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
post_attachment_image MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
post_attachment_opengraph Fix opengraph image on tablet to account for the sidebar (#2863) 2019-06-05 17:58:28 -04:00
post_body MM-16442: count actual reactions before falling back to has_reactions (#2910) 2019-06-24 15:36:24 -04:00
post_body_additional_content Fix image preview width on tablets (#2867) 2019-06-06 21:03:17 +08:00
post_header Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:24:28 -04:00
post_list Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:24:28 -04:00
post_profile_picture MM-15161 show icon for bot instead of system icon in ephemeral post (#2740) 2019-05-01 09:08:50 -04:00
post_textbox MM-16397 save draft when app state changes (#2899) 2019-06-22 11:21:57 -07:00
profile_picture MM-13618 Adding bot tags. (#2669) 2019-03-26 16:59:45 -07:00
progressive_image Upgrade to RN 0.59.6 and dependencies (#2777) 2019-05-13 13:33:18 -04:00
radio_button
reactions MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799) 2019-05-20 12:02:00 -04:00
refresh_list
retry_bar_indicator
root
safe_area_view MM-14921 Fix iPad layout including safeAreaInsets (#2748) 2019-05-03 17:42:32 -04:00
search_bar Keep the channel drawer opened on tablets (#2793) 2019-05-16 20:40:32 -04:00
show_more_button Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
sidebars Ios accessibility fixes (#2842) 2019-06-21 16:10:16 -04:00
slide_up_panel Upgrade to RN 0.59.6 and dependencies (#2777) 2019-05-13 13:33:18 -04:00
start
status_bar
status_icons
team_icon
user_status Upgrade to RN 0.59.6 and dependencies (#2777) 2019-05-13 13:33:18 -04:00
widgets/settings MM-13364 Fix text too light on dark themes in TextSetting widget (#2432) 2018-12-07 12:24:21 -03:00
app_icon.js
attachment_button.js [MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715) 2019-04-25 14:27:06 -07:00
attachment_button.test.js [MM-14887] Include all png, jpeg, and bmp MIME types (#2781) 2019-05-09 14:18:24 -07:00
badge.js Fix alignment of count on channel drawer (#2569) 2019-02-13 20:57:26 +08:00
badge.test.js make circular badge on jewel for single-digit mention (#2422) 2018-12-06 12:11:42 -05:00
bot_tag.js MM-13618 Adding bot tags. (#2669) 2019-03-26 16:59:45 -07:00
button.js
channel_icon.js MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:50:38 -07:00
checkmark.js
conditional_touchable.js
deleted_post.js
fade.js MM-16013 make paperplain animation faster (#2860) 2019-06-05 11:06:29 -04:00
fade.test.js Upgrade to RN 0.59.6 and dependencies (#2777) 2019-05-13 13:33:18 -04:00
formatted_date.js
formatted_markdown_text.js
formatted_text.js
formatted_time.js Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:24:28 -04:00
loading.js
no_results.js Add pinned post support (#2364) 2018-11-23 12:57:28 -03:00
paper_plane.js
post_list_retry.js
post_separator.js
profile_picture_button.js Dependencies update (#2576) 2019-02-20 17:17:04 -03:00
profile_picture_button.test.js MM-12354 Remove Profile Image (#2428) 2018-12-17 07:56:39 +08:00
remove_markdown.js
reply_icon.js
send_button.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
send_button.test.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
swiper.js MM-16070 Fix channel sidebar state while filtering (#2864) 2019-06-05 19:33:23 -04:00
text_input_with_localized_placeholder.js Fix edit post (#2379) 2018-11-26 20:27:48 -03:00
tooltip.js Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
vector_icon.js MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:50:38 -07:00
video_controls.js