Commit graph

280 commits

Author SHA1 Message Date
enahum
4610ab9ad4 Make Post time format respect user display setting (#977) 2017-10-02 16:03:13 -03:00
enahum
b64153fcb8 Fix drawer according to number of teams (#974) 2017-10-02 16:03:13 -03:00
enahum
0a9ead9605 Fix search issues (#973) 2017-10-02 16:03:13 -03:00
Harrison Healey
e1547678f3 RN-268 Fixed teams list not always rerendering when team member changes (#970)
* RN-268 Fixed teams list not always rerendering when team member changes

* Removed unused prop from ChannelDrawer

* RN-268 Passed fewer props into TeamsListItem
2017-10-02 16:03:13 -03:00
Harrison Healey
edf1c9a8d5 RN-364 Fixed switch teams button rendering with only one team (#964) 2017-10-02 16:03:13 -03:00
Harrison Healey
9a2a645208 Fixed drawer rendering empty if the user is only on one team (#963) 2017-10-02 16:03:13 -03:00
enahum
fb773f04cb Multiple performance improvements (#956)
* Update fastlane

* Multiple performance improvements

* Feedback review

* Feedback review
2017-10-02 16:03:13 -03:00
enahum
c3726b316d Fix post additional content (#962)
* Fix post additional content

* Feedback review
2017-10-02 16:03:13 -03:00
enahum
0a7b297a6f Fix android search autocomplete (#958) 2017-10-02 16:03:13 -03:00
Harrison Healey
de52469825 Added selector for getting sorted teams list (#954) 2017-10-02 16:03:13 -03:00
Harrison Healey
8c86a95f19 RN-349 Mark channel as read when switching teams and opening the app (#953)
* RN-349 Mark current channel as read when opening the app

* RN-349 Mark channels as read when switching teams

* Moved markChannelAsRead into handleTeamChange action
2017-10-02 16:03:13 -03:00
enahum
271a757505 Refactor channel swiper (#933)
* Refactor channel swiper

* Feedback review

* clean up

* another feedback review

* Remove unnecessary props

* clean up initialState
2017-09-25 14:40:30 -03:00
enahum
e31d1834f6 Show full date on search results (#934) 2017-09-25 10:21:06 -04:00
Harrison Healey
98abbd6dca RN-345 Additional improvements to channel switching (#926)
* RN-345 Only show refreshing indicator when channel is actually refreshing

* Added getCurrentLocale selector

* Added SwitchTeams component to channel drawer to reduce rerenders

* Reduced number of props passed from ChannelsList into children

* Removed unused prop from FilteredList

* Moved visible post calculation out of render function

* Don't set the channel to loading when not switching channels

* Added most of channel view state to blacklist
2017-09-22 11:48:30 -07:00
Harrison Healey
05bfc04ec9 Fixed post draft selectors returning null (#932) 2017-09-22 11:23:42 -07:00
enahum
757387a4de Only load post body additional content when needed (#927)
* Only load post body additional content when needed

* Feedback review
2017-09-22 08:04:29 -07:00
Harrison Healey
a09e1ebcc1 Revert changes that select channel before channel drawer is closed (#930) 2017-09-22 11:16:56 -03:00
Chris Duarte
9a5e7ac541 RN-337 Enable GIF support in image preview (#928) 2017-09-22 11:15:44 -03:00
enahum
a5eecb9fb3 Fix channel_updated WS event (#924) 2017-09-22 11:10:43 -03:00
Chris Duarte
e4b86518a9 RN-342 Refactor post textbox component (#915)
* RN-342 Refactor post textbox component

* Rebase

* Review feedback
2017-09-20 16:40:40 -04:00
enahum
4995a76f2c Add Landscape support for both platforms (#909)
* Landscape support

* Fix image rotation on Android

* Fix landscape mode for login and login options

* Fix previewer will receive props

* Move device dimensions and others to redux

* Fix unit tests

* Include orientation and tablet in the store
2017-09-20 12:54:24 -07:00
enahum
2f631ef726 Fix status bar black on black in Android (#922) 2017-09-20 10:13:35 -07:00
Chris Duarte
8694f59e80 RN-335 Reaction shortcut (#920)
* RN-335 Reaction shortcut

* Review feedback
2017-09-20 11:08:17 -04:00
Harrison Healey
96da38ed14 RN-345 Optimizing channel switching and general improvements (#914)
* Reduced re-renders of Channel screen

* Switched some components to be PureComponents

* Stopped waiting for drawer to close to switch channels

* Fixed post list being stuck loading

* Fixed incorrectly removed ref

* Removed loader from channel post list

* Removed unused prop

* Re-added ChannelDrawer.swiperIndex

* Changed ChannelPostTextbox to only require a single draft

* Re-enable InteractionManager on ChannelDrawer

* Fixed ChannelDrawer.joinChannel and removed duplicated code

* Moved getting device dimensions into render method

* Switched ChannelsList to be a PureComponent
2017-09-18 17:39:21 -03:00
enahum
0628cbc693 Upgrade to RN 0.48.3 (#911)
* Upgrade to RN 0.48.1

* Update deps to be exact

* Fix tests

* Remove unneeded code from setup and add socketcluster dep

* Fix drawer pan issue

* Fix bridge issues on iOS

* Upgrade to RN 0.48.3

* Search to use RN SectionList
2017-09-18 12:01:47 -04:00
enahum
8c3c83e346 Show connecting indicator after two failed attempts (#904) 2017-09-14 08:43:32 -03:00
Harrison Healey
612da49697 RN-189/RN-241 Updated emoji appearance (#898)
* Removed Emoji padding prop

* Reduced emoji size on Android

* RN-189 Fixed aspect ratio for wide emojis

* Removed margins from headers which didn't actually work

* RN-189 Fixed aspect ratio for tall emojis

* Adjusted line height so emojis don't cause uneven spacing on iOS

* Further reduced emoji size on Android

* Slightly adjusted vertical alignment of emojis

* Added hack to get vertical alignment of emojis looking better
2017-09-13 11:33:13 -04:00
enahum
19502f9aaa RN-344 open push notifications faster (#899) 2017-09-13 12:00:33 -03:00
enahum
7aebcbd52e Link Previews (#890)
* Link previews, Image previews and YouTube

* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00
enahum
adbaead58e RN-321 Update Settings and Notifications UX/UI Screens (#879)
* Fix Android and iOS flow

* Own review

* RN-321 Update Settings and Notifications UX/UI Screens

* Fix style for separator in android modals

* Feedback review
2017-09-08 15:38:50 -03:00
enahum
97969717fa Release 1.2 (#883)
* RN-73 Fixed code block text colour being incorrect (#868)

* RN-220 Add "in:" and "from:" search modifiers (#869)

* Fix search and search preview

* Add "in:" and "from:" search modifiers

* Version Bump to 49 (#875)

* Version Bump to 49 (#876)

* Update minimum server version (#878)

* translations PR 20170905 (#882)
2017-09-05 16:13:33 -03:00
Harrison Healey
3ac7b48adc RN-289 Sentry integration (#873)
* Added JS code for Sentry

* Removed leftover initializeSentry call

* Added SentryOptions config setting

* Added native components for react-native-exception-handler

* Removed default props from ErrorText

* Moved where Sentry is initialized

* Added ios/sentry.properties to .gitignore

* Added linking react-native-sentry to Fastlane

* Fixed fastlane to include newlines in sentry.properties

* Moved to manually link react-native-sentry

* Captured redux errors with Sentry

* Redid how Sentry is optionally compiled to be simpler

* Added Sentry middleware to create redux breadcrumbs

* Added Sentry tags for server version

* Initialize Sentry when testing

* Fixed string replacement for SentryEnabled in fastlane

* Added react-native-sentry to NOTICE.txt
2017-09-01 14:50:17 -03:00
Chris Duarte
220fb588b9 RN-80 Add ability to download files (#866)
* RN-80 Add ability to download files

* Add android permission check and toasts

* Add check for ability to download from config
2017-09-01 12:11:49 -03:00
enahum
60087e6b4d Enable replying from the push notification (#871)
* Enable replying from the push notification

* Fix Android and iOS flow

* Own review
2017-08-29 12:16:34 -03:00
Chris Duarte
bffc75f8d1 RN-223 Emoji picker for adding new emoji reactions (#854)
* RN-223 Emoji picker for adding new emoji reactions

* Remove redundant setServerVersion and fetch custom emojis on reset

* Review feedback

* Review feedback 2

* Review feedback 3

* Review feedback 4

* Change aliases to array and add header to image source

* Remove aliases from custom emojis
2017-08-23 15:29:09 -03:00
enahum
b8d8be78d5 Fetch images using APIv4 (#862) 2017-08-22 22:23:10 -03:00
Harrison Healey
a291fdc933 RN-74 Added updated markdown code block view (#855)
* RN-74 Added updated markdown code block view

* Set default channelIsLoading prop to PostList

* RN-74 Fixed uneven line numbers on Android

* RN-74 Prevented double tapping on markdown code blocks
2017-08-21 11:40:42 -03:00
Harrison Healey
2b33618f31 Reverted change to keyboardShouldPersistTaps for post list (#858) 2017-08-17 22:44:17 -03:00
Harrison Healey
57c602eb79 RN-113/RN-114 Updated markdown styles for lists and code (#851)
* RN-114 Updated markdown list style

* RN-113 Updated code font
2017-08-17 00:43:11 -03:00
Harrison Healey
c6ae1090f7 Changed makeStyleSheetFromTheme to take a function that returns a plain object (#852)
* Changed makeStyleSheetFromTheme to take a function that returns a plain object

* Fixed style issues
2017-08-15 18:26:55 -03:00
enahum
523a66e023 Fix mention badge wrap text (#833) 2017-08-11 10:30:28 -04:00
Harrison Healey
a0a1678939 RN-174 Added support for strikethrough text in markdown (#816) 2017-08-07 10:37:29 -04:00
enahum
b7b817a973 Release 1.1 (#829)
* Updated yarn.lock

* Fastlane ensure branch for cutting builds (#815)

* Version Bump to 45 (#818)

* Android Version Bump to 45 (#819)

* Updated yarn.lock (#817)

* Version Bump to 45

* Fix Create on Create channel to not push another Create Channel screen (#820)

* Version Bump to 46 (#821)

* Version Bump to 46 (#822)

* RN-205/RN-210 Allow tapping buttons on post and DM lists without closing keyboard (#823)

* Version Bump to 47 (#824)

* Version Bump to 47 (#825)

* Release 1.1 changelog (#827)

* Release 1.1 changelog

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Set supported server version

* update fastlane

* Update fastlane android release
2017-08-04 17:42:55 -04:00
Chris Duarte
fd0ca606bb Use post retry actions to avoid missing messages (#796)
* Use post retry actions to avoid missing messages

* Review feedback

* Fix race condition and update redux-offline

* Review feedback
2017-08-01 19:09:57 -04:00
enahum
f6bdbb941a Fix new message indicator in channel screen (#807) 2017-08-01 18:21:26 -04:00
enahum
2216843854 Fixes autocomplete to not to crash if rootId is undefined (#804) 2017-07-31 18:39:10 -04:00
enahum
95a8b46242 RN-293 Show no resuls found in search for posts (#800)
* RN-293 Show no resuls found in search for posts

* Update mattermost-redux

* remove unnecesary array for style
2017-07-28 17:16:25 -04:00
Harrison Healey
0f8f93af6d PLT-6924 Added setting to disable mobile file uploads (#799)
* PLT-6924 Added setting to disable mobile file uploads

* PLT-6924 Updated yarn.lock
2017-07-28 17:06:44 -04:00
Chris Duarte
ab2144c423 RN-217 Add emoji autocomplete (#798)
* RN-217 Add emoji autocomplete

* Review feedback
2017-07-28 16:49:46 -04:00
enahum
8a3e410995 RN-246 include NOTICE links in about screen (#777)
* RN-246 include NOTICE links in about screen

* Feedback review
2017-07-28 09:51:11 -04:00