Commit graph

729 commits

Author SHA1 Message Date
enahum
cc55b03e75 Make Post time format respect user display setting (#977) 2017-10-02 08:39:02 -07:00
enahum
82b3dcc1f6 Set minSdkVersion to 21 (Android 5.0) (#976)
* Set minSdkVersion to 21 (Android 5.0)

* Update README
2017-10-02 12:22:28 -03:00
enahum
13922e3764 Fix drawer according to number of teams (#974) 2017-10-02 12:22:14 -03:00
enahum
0df3c7428a Fix search issues (#973) 2017-10-02 12:21:56 -03:00
Harrison Healey
8e526b61ed RN-379 Get posts since last websocket disconnect when viewing channel (#971)
* RN-379 Added websocket state to device state

* Fixed view store blacklist

* RN-379 Get posts since last websocket disconnect when viewing channel

* Used Date.now instead of new Date().getTime()
2017-10-02 12:21:39 -03:00
Harrison Healey
c93f04a708 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-09-29 12:46:03 -03:00
enahum
e3761fc529 Version Bump to 52 (#968) 2017-09-28 15:55:40 -03:00
enahum
72fef11496 Version Bump to 52 (#967) 2017-09-28 15:55:27 -03:00
enahum
6fdd58b481 Fix blank screen when user has no teams (#965) 2017-09-28 15:16:35 -03:00
Harrison Healey
ad2d126ec0 RN-364 Fixed switch teams button rendering with only one team (#964) 2017-09-28 14:53:41 -03:00
Harrison Healey
76eb5d06fd Fixed drawer rendering empty if the user is only on one team (#963) 2017-09-28 14:53:27 -03:00
enahum
1e434346ae Multiple performance improvements (#956)
* Update fastlane

* Multiple performance improvements

* Feedback review

* Feedback review
2017-09-28 12:54:32 -03:00
enahum
a694122ffd Fix post additional content (#962)
* Fix post additional content

* Feedback review
2017-09-28 12:02:41 -03:00
enahum
0c3bb89832 Fix SSO login (#960) 2017-09-28 11:32:26 -03:00
enahum
78e6b8d5a3 Fix image preview initial scroll (#959) 2017-09-28 11:31:44 -03:00
enahum
ae7c566375 Fix android search autocomplete (#958) 2017-09-28 11:17:58 -03:00
enahum
6f260bf4c7 RN-320 Tapping enter in channel header/purpose keeps the keyboard open (#961) 2017-09-28 11:17:34 -03:00
Harrison Healey
ff65b52618 Added selector for getting sorted teams list (#954) 2017-09-28 11:17:22 -03:00
enahum
2f47d7db2e Include iOS marketing icon (#957) 2017-09-28 06:02:41 -03:00
Harrison Healey
b8e450ba85 RN-369 Added a maximum depth to the markdown renderer (#942)
* RN-369 Added a maximum depth to the markdown renderer

* Updated yarn.lock
2017-09-27 17:49:38 -07:00
Harrison Healey
f2533bd650 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-09-27 15:34:09 -03:00
enahum
f9419a7746 Version Bump to 51 (#938) 2017-09-27 10:41:35 -03:00
enahum
978c80bef1 Version Bump to 51 (#937) 2017-09-27 10:41:21 -03:00
enahum
6e1d8471f7 translations PR 20170925 (#940) 2017-09-27 07:47:15 -03:00
Elias Nahum
fa9110d9d7
UpsideDown required by apple 2017-09-25 15:44:35 -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
lfbrock
94714d638b Update CHANGELOG.md (#929)
* Update CHANGELOG.md

* Update CHANGELOG.md
2017-09-22 12:07:13 -03: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
59762e4fac Use mattermost-redux favorite and unfavorite actions (#921) 2017-09-20 10:39:25 -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
enahum
ad80fd37c7 Update fastlane (#925) 2017-09-20 11:48:10 -03:00
enahum
90f06fb277 Add device check before executing run-ios and run-android (#919) 2017-09-20 09:48:50 -03:00
enahum
da28fa18e4 Fix about title (#918) 2017-09-19 12:55:52 -03:00
enahum
218497662c translations PR 20170918 (#917) 2017-09-18 23:08:07 -03: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
b2cddad13a Update make scripts and fastlane (#908) 2017-09-18 14:34:54 -04:00
enahum
33072941f3 RN-351 Remove extra "for" in mobile notification screen (#913) 2017-09-18 14:33:39 -04:00
enahum
1fbf3e9e27 Android stack push notifications improvement (#912)
* Android multiple push notifications improvement

* Reverse order and remove duplicate
2017-09-18 12:02:24 -04: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
acc7fedd0e Fix saving Android notification preferences (#907) 2017-09-14 16:54:20 -03:00
enahum
446c90f371 Show pull to retry if the offline indicator is not showing (#905) 2017-09-14 08:43:50 -03:00