Commit graph

70 commits

Author SHA1 Message Date
enahum
9c89fe2907
Set the section list to wait for interactions before updating the unread indicator (#1093) 2017-11-03 14:47:31 -03:00
enahum
49bcf185e6
Prevent More unreads indicators when canceling jump to... (#1082) 2017-11-01 18:50:28 -03:00
enahum
e84af2bfa7 Polishing search box text size and icon styling (#1034)
* Channel Switcher and search box text size and icon styling

* minor UI fixes and android fixes
2017-10-19 18:49:21 -03:00
enahum
02aef861b7 Fix crashes when currentUser is null after offline store purge (#1040) 2017-10-19 09:10:51 -07:00
enahum
04ec27f333 Avoid crash on drawer filtered channel list (#1042) 2017-10-19 09:07:46 -07:00
enahum
40008a9242 Fix DM separator in channel drawer (#1035) 2017-10-19 11:30:57 -04:00
enahum
b2d5887f95 Various Fixes (#1033)
* Fix crash Unread indicator scrollToTop

* Fix list when favorites change
2017-10-17 17:33:21 -03:00
enahum
46bdeb6031 RN-428 Drawer panResponder offset (#1029)
* drawer panResponder offset

* Cleanup

* Update mattermost-redux
2017-10-17 15:51:01 -03:00
enahum
cc966702fd Improve performance of the channel drawer (#1023)
* Improve performance of the channel drawer

* Feedback review

* Fix makefile

* Feedback review 3

* Fix areStatesEqual

* Fix Android SVG
2017-10-17 10:06:28 -07:00
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07:00
enahum
dabad3eca6 Improving Performance Part 1 (#1009)
* Dispatch retry failed action | fix refreshing state | change postVisibility to 15

* Improve channel switching

* Improve handling of visible tooltip

* Improve watching for status bar height changes

* Remove unnecessary mapStateToProps from code screen

* Use drawer native functions to open/close instead of state

* Feedback review
2017-10-11 14:33:26 -03:00
enahum
b64153fcb8 Fix drawer according to number of teams (#974) 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
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
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
a09e1ebcc1 Revert changes that select channel before channel drawer is closed (#930) 2017-09-22 11:16:56 -03:00
enahum
a5eecb9fb3 Fix channel_updated WS event (#924) 2017-09-22 11:10:43 -03: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
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
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
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
enahum
f6bdbb941a Fix new message indicator in channel screen (#807) 2017-08-01 18:21:26 -04:00
Harrison Healey
8a7840b58a RN-152 Add ability to create new group direct messages (#793)
* RN-152 Added ability to open group messages from MoreDirectMessages

* Refactored row components for CustomList

* Added CustomSectionList component to mirror CustomList

* Added control to display all selected users in More DMs list

* Updated title of More DMs modal

* Updated yarn.lock

* Fixed channel name not being set when creating GM channel

* Fixed error on Android
2017-07-27 19:08:13 -04:00
enahum
3315ce9328 Adjust search box carret and selection color (#789) 2017-07-27 18:28:40 -04:00
Chris Duarte
b6274da38a RN-270 "Jump to conversation" filtering (#755)
* RN-270 "Jump to conversation" filtering

* Review Feedback

* Change reduce filter for member details

* Remove duplicate email push
2017-07-24 08:11:52 -04:00
Harrison Healey
5e0ca727a5 PLT-253 Made margins around settings button appear even (#770) 2017-07-21 18:28:30 -04:00
Harrison Healey
2a9e1ee7a3 RN-245 Made all channel icons have equal margins (#765)
* RN-245 Made all channel icons have equal margins

* Fixed offline icon being white-on-white in channel info
2017-07-21 17:10:40 -04:00
Elias Nahum
ee148e7472 RN-249 Fix the hamburger icon opening the drawer when it was closed by swiping to close 2017-07-21 17:10:15 -04:00
Chris Duarte
422abe4cb7 Fix undefined object issue in Jump to Conversation (#736) 2017-07-12 15:27:34 -04:00
Stan Chan
b03189defb Refactor Jump to Conversation (#726)
* Refactor Jump to Conversation

Fixed channel loader not showing when switching channels
Refactored jump to conversation

* Review feedback
2017-07-10 08:30:51 -04:00
Harrison Healey
bd2c623775 Added support for new system-wide teammate name display setting (#709) 2017-07-04 20:54:03 -04:00
enahum
f8eb3bf8bd Fix badge wrap for 2+ digits (#708) 2017-07-04 20:46:35 -04:00
Harrison Healey
8c7433d7e2 RN-203 Fixed RestrictDirectMessages setting not applying in RN app (#697)
* RN-203 Fixed RestrictDirectMessages setting not applying to MoreDirectMessages

* Removed unused prop from MoreDirectMessages

* RN-203 Fixed RestrictDirectMessages setting not applying to FilteredList

* Removed unused propTypes from FilteredList
2017-07-04 10:00:06 -04:00
enahum
7dbac06983 Fix sentry found issues (#699) 2017-07-03 18:09:04 -04:00
enahum
c5ea6955ef RN-208 Fix drawer when app opens in landscape (#687) 2017-06-28 12:42:31 -04:00
enahum
055e4173e8 RN-230 remove drawer bottom padding if only one team (#686) 2017-06-28 09:50:50 -04:00
enahum
7026ea4bec Filter channels to not return my own DM (#675) 2017-06-28 09:45:30 -04:00
enahum
6c03d3b8e6 RN-239 show error messages for join/delete channel and create dms (#668)
* RN-239 show error messages for join/delete channel and create dms

* Feedback review
2017-06-26 15:12:14 -04:00
enahum
2a7c487463 Re-factor post_list with VirtualizedList (#665)
* Re-factor postlist with VirtualizedList

* Remove react-native-invertible-scroll-view dependency

* Fix navigator not being pass to post

* Feedback review

* Feedback second review
2017-06-23 16:07:06 -04:00
Asaad Mahmood
a614a2835b Ui improvements (#666)
* RN-171 - Extending border bottom on sidebar title

* RN-164 - Teams title center and bold

* RN-103 - Updating position for sendButton

* RN-231 - Increasing left margin when only one team
2017-06-23 08:23:59 -04:00
enahum
0cf3382f4c Fix android reset drawer (#662) 2017-06-22 11:39:15 -04:00
enahum
a68d4f4579 RN-192 Fix Cancel button in IOS search bar (#642)
* when login get the sessions after setting the credentials

* Fix reset drawer on android

* RN-192 Fix Cancel button in IOS search bar

* feedback review
2017-06-19 09:19:37 -04:00
enahum
dafe0ba7a8 RN-191 Channel drawer IOS UI fixes (#641) 2017-06-19 09:11:32 -04:00