Nathan Friend
9ccde970fa
GH-11994: Add support for footer and footer_icon in attachments ( #3228 )
...
This commit adds support for the footer and footer_icon fields that are
rendered at the bottom of message attachments.
2019-09-11 20:58:55 -04:00
Michael Kochell
7646a8821c
[MM-17873] Update attachment image when image url is updated ( #3170 )
...
* update attachment image when image url changes
* update image dimensions from metadata
* use componentDidUpdate
* add tests for AttachmentImage
* add test for when imageUrl is not present
2019-08-26 10:16:18 -04:00
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components ( #2920 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Upate NotificationSettings
* Update NotificationSettingsAutoResponder
* Update NotificationSettingsMentions
* Update NotificationSettingsMobile
* Update CreateChannel and children
* Update MoreChannels
* Update ChannelPeek and children
* Update ChannelNavBar and children
* Update ChannelPostList and children
* Update ChannelInfo and children
* Update ChannelAddMembers
* Update ChannelMembers
* Update EditChannel
* Fix setting of top bar buttons
* Update Channel screen and children
* Update PinnedPosts
* Update LongPost
* Update PostOptions
* Update PostTextboxBase
* Update EditPost
* Check-styles fix
* Update DisplaySettings
* Update Timezone
* Update SelectTimezone
* Update IntlWrapper and Notification
* Update InteractiveDialog and children
* Update ExpandedAnnouncementBanner
* Update ClientUpgradeListener
* Update MoreDirectMessages
* Update SelectorScreen
* Update UserProfile
* Update Thread
* Update About
* Update ImagePreview
* Update TextPreview
* Update AddReaction
* Update ReactionList and children
* Update Code
* Update TermsOfService
* Update Permalink
* Update Permalink
* Update ErrorTeamsList
* Update Search
* Remove navigator prop
* Fix setButtons calls
* Remove navigationComponentId
* Fix test
* Handle in-app notifs in global event handler
* Fix in-app notification handling
* Fix typo
* Fix tests
* Auto dismiss in-app notif after 5 seconds
* Fix typo
* Update overlay dismissal
* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Michael Kochell
1588f46ae4
Pass cookie for post actions ( #2945 )
2019-07-02 08:18:34 -04:00
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -07:00
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts ( #2750 )
...
* MM-14030 Don't show large gifs in posts
* Re-add default argument
2019-05-01 09:34:45 -04:00
Harrison Healey
2e756ba21a
MM-14741 Add default option to post action dropdown ( #2724 )
2019-04-22 14:42:42 -04:00
kosgrz
6b5d0a49e5
[MM-14191] Render emojis in Interactive Message Buttons ( #2640 )
2019-04-09 11:41:39 -04:00
Orjiewuru Kingdom Isaac
102eeb93fe
MM-13151 Increase double tap delay for post action buttons ( #2406 )
...
* Use app state to disable a button when click to prevent double tap
* remove disable button state after 4000ms
* modify preventDoubleTap to have optional delayTime param
* remove local state use for button control
* remove unused method
* remove app state method to disable a button
* Update tap.js
2019-04-02 10:22:31 -04:00
kosgrz
727465140f
[MM-14192] Render hyperlinks in Message Attachment title ( #2617 )
2019-03-07 09:12:33 -05:00
kosgrz
590c7ed45d
[MM-14193] Render emojis in Message Attachment title ( #2591 )
2019-02-25 13:00:45 -03:00
Chris Duarte
b4b10e17e8
Fixes for duplicate text on message attachments, empty space when attachment has no title ( #2460 )
2018-12-28 08:31:10 -03:00
Elias Nahum
993228b666
MM-13374 Fix collapse posts with long message attachments ( #2436 )
2018-12-07 12:27:01 -03:00
Elias Nahum
ccaa1a1c11
More fixes to the post layout ( #2408 )
2018-11-30 09:12:07 -05:00
Chris Duarte
ea9794f272
Fixed issue where message attachments were empty if text came through on fallback ( #2395 )
2018-11-29 15:41:22 -03:00
Elias Nahum
4925970b86
Fix crash when message attachment does not have images ( #2377 )
...
* Fix crash when message attachment does not have images
* optional chaining
2018-11-26 20:26:46 -03:00
Joram Wilander
e431bd36c4
MM-12845 Add widgets and interactive dialogs ( #2353 )
...
* Add widgets and interactive dialogs
* Update snapshots
* Updates per feedback and fix slash command
* Fix style
* Update styling
* Updates per feedback
* Updates per feedback
* More styling changes
* Remove extra space above message menu
2018-11-23 12:30:12 -05:00
Elias Nahum
736a955be8
Use post metadata to prevent scroll pop ( #2304 )
...
* Use post metadata to prevent scroll pop
* Fix not to fetch for reactions every time
* Update post-metadata mm-redux ref
* Update mattermost-redux to include post-metadata
2018-11-22 19:47:27 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu ( #2325 )
...
* Update UX for post long press menu
* Post menu feedback review
2018-11-14 17:29:09 -03:00
Elias Nahum
19a755d59f
Fix when message have multiple actions ( #2331 )
...
* Fix when message have multiple actions
* Feedback review
2018-11-09 18:38:58 -05:00
Elias Nahum
e25a1939fc
Set the file prefix in image_cache_manager ( #2313 )
2018-11-05 15:24:30 -03:00
Joram Wilander
10a1e93e7d
MM-12348 Persist interactive menu choices past channel switch and share with thread view ( #2207 )
...
* Persist interactive menu choices past channel switch and share with thread view
* Remove unneeded async
2018-10-03 15:08:05 -03:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus ( #2099 )
...
* Add interactive action menus
* Add snapshot tests
* Updates per feedback
* Update styling of menu action
* Updates per feedback
* Update submitted message color
* Update snapshots
2018-09-20 14:01:51 -04:00
Harrison Healey
578f204784
MM-10273 Add hashtag support ( #2106 )
...
* MM-10273 Add hashtag support
* Put hashtag search in a proper modal
* Change hashtag search style to match regular search
* Move Hashtag component and explicitly pass props
* Add unit tests for Hashtag component
* Fix merge conflict
2018-09-17 17:17:20 -03:00
Saturnino Abril
fd99e0489c
[MM-11928] Fix styling of show more/less on message attachment similar to "long post" ( #2070 )
...
* fix styling of show more/less on message attachment similar to "long post"
* change top margin from 0 to 10 of "Show Less" button
2018-09-04 11:52:45 -03:00
Elias Nahum
648082f385
Fix long message not displaying for message attachments in android ( #2031 )
2018-08-27 16:53:10 -04:00
Saturnino Abril
59d077a71d
fix embedded long URL in message attachment ( #1937 )
2018-07-20 16:58:18 -04:00
Elias Nahum
b47c7db4dc
Fix cropped images ( #1936 )
...
* Fix cropped images
* Unit tests
2018-07-20 13:34:46 -04:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -04:00
Elias Nahum
3bd7275cfa
Rename slack attachment to message attachment and fix border color on Android ( #1533 )
2018-03-22 10:08:27 -04:00