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
Elias Nahum
9f88923656
Place the new message indicator at the top of the screen ( #2943 )
...
* Place the new message indicator at the top of the screen
* Add unit tests for channel postVisibility reducer
2019-07-02 12:28:13 -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
Elias Nahum
e5dab98a8e
Fix opengraph image on tablet to account for the sidebar ( #2863 )
2019-06-05 17:58:28 -04:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies ( #2777 )
...
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8
2019-05-13 13:33:18 -04: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
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
68a3825d95
Update dependencies ( #2316 )
2018-11-18 17:54:06 -03:00
Elias Nahum
e25a1939fc
Set the file prefix in image_cache_manager ( #2313 )
2018-11-05 15:24:30 -03:00
Saturnino Abril
df0200111d
fix empty space on link preview when title and URL is not present in open graph meta ( #2197 )
2018-10-03 09:32:35 -04:00
Saturnino Abril
2cf3ac18f5
fix blank space on link preview when no site name ( #2193 )
2018-10-01 15:06:31 +08:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width ( #2189 )
2018-10-01 09:34:30 +08:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 ( #2131 )
2018-09-20 19:05:41 -03:00
Saturnino Abril
858c8e8435
[MM-12016] Add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested) ( #2144 )
...
* add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested)
* remove null check to openGraphData on renderDescription
2018-09-20 11:45:23 -03:00
Elias Nahum
9ca10dc719
Make sure opengraph displays images ( #2083 )
...
* Make sure opengraph displays images
* Revert change for IMAGE_MAX_HEIGHT constant
2018-09-07 09:06:22 -04:00
Harrison Healey
07ada67e1a
MM-11449 Show OpenGraph previews for pages with any of the required fields ( #2054 )
...
* MM-11449 Show OpenGraph previews for pages with any of the required fields
* Update mattermost-redux
2018-08-30 14:18:01 -03: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
Harrison Healey
40dc8912b7
Fixed empty OpenGraph previews from trying to render an empty string ( #1660 )
2018-05-08 22:03:43 +08:00
Harrison Healey
4b11195120
MM-10360 Only show link previews if they have a url defined ( #1655 )
2018-05-07 16:40:55 +08:00
Harrison Healey
3b33b51f11
MM-10360 Render OpenGraph previews for pages with an empty description ( #1651 )
...
* MM-10360 Render OpenGraph previews for pages with an empty description
* Updated mattermost-redux
2018-05-03 10:02:09 -04:00
Elias Nahum
006c5a08d7
Use local Images when possible ( #1580 )
...
* Fix advance settings android layout
* include react-native-image-gallery dependency
* ImageCacheManager
* Add support for isGif, isDocument, isVideo and purge to file utils
* Remove file fetch cache
* include progressive image component
* Refactor image previewer
* Add image preview support for open graph and embed images
* Cache user profile picture
* Fix post additional content images for android
* Preview markdown inline images
* Improve progressive image
* feedback review
2018-04-13 12:23:15 -03:00
Elias Nahum
579494feab
Long post feature ( #1525 )
...
* Long post support
* Fix upload preview
* Add MaxPostSize validation
* Fix show more button container
* localization
* feedback review
* UI feedback review
* Upgrade mattermost-redux
* Fix long post attachment list
2018-03-26 14:25:42 +03:00
Jesse Hallam
58b72302d6
update eslint's comma-dangle rule to always-multiline ( #1457 )
...
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
9509e1a83e
Fix UI when rendering link previews in a reply ( #1318 )
...
* Fix UI when rendering link previews in a reply
* feedback review
2018-01-02 17:24:03 -05:00
enahum
27713322e3
Fixed Search bugs and avoid re-renders ( #1047 )
...
* Fixed Search and avoid re-renders
* Feedback review
* Feedback review
2017-10-24 17:02:09 -04:00
enahum
f50b2b9412
Improving Performance Part 3 ( #1011 )
...
* Update mattermost-redux
* Tap on Deleted post to remove it
* Improvements when rendering post additional content
* Avoid unnecessary re-renders on the post list component
* Avoid unnecessary re-renders on the channel post list component
* Avoid unnecessary re-renders on the channel screen
* Feedback review
2017-10-11 14:54:13 -03:00
enahum
7aebcbd52e
Link Previews ( #890 )
...
* Link previews, Image previews and YouTube
* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00