Commit graph

308 commits

Author SHA1 Message Date
Chris Duarte
582db04da1 Force url's to be normalized (#1058)
* Force url's to be normalized

* Refactor and move behind config flag
2017-10-26 09:52:41 -07:00
Chris Duarte
9ff9b872ba Config to enable when clicking on username to fill input with @mention (#966)
* Config to enable when clicking on username to fill input with @mention

* Rename to experimental and move tenary from componet to variable

* Use getCurrentChannelId in insertToPostDraft action

* Change to work with rebase

* Refactor thread reducer and blacklist currentThreadId

* Review feedback

* Review feedback 2
2017-10-26 10:48:52 -04:00
Chris Duarte
54ddec3d46 Prompt/require user to upgrade to new version (#948)
* Prompt/require user to upgrade to new version

* Update en.json

* Update app message text

* Fix typo and add copyright
2017-10-26 10:45:34 -04:00
enahum
59ce8571c3 Handle Image picker permissions (#1064) 2017-10-26 09:17:56 -03:00
enahum
685a56d24c Android: Fix inverted list deprecated warnings on android (#1065) 2017-10-26 09:16:54 -03:00
Chris Duarte
a13079b715 White label about modal. Move strings to config. (#943)
* White label about modal. Move strings to config.

* Refactor styling and add powered by Mattermost

* Review feedback

* Use full bundle ids for about modal check
2017-10-25 15:24:22 -04:00
enahum
834ce4d0bf Revert: android timezone (#1066) 2017-10-25 12:09:22 -04:00
Chris Duarte
1641d38863 Fix android predictive text prepend issue (#1056) 2017-10-24 19:43:51 -03: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
Chris Duarte
b2b2b24051 Force formatted_time to use device time zone (#1057) 2017-10-24 14:21:15 -04:00
Harrison Healey
0e4f9d5825 Changed to pass IDs to PostList instead of posts (#1036)
* Moved PostList to take a list of postIds instead of posts

* Removed usage of selectors that return posts from ChannelPostList and Thread

* Fixed search and switched to use getPostIdsAroundPost selector

* Removed use of selectors that returned posts from emoji reactions

* Updated makePreparePostIdsForPostList to be better memoized

* Fixed filter of join/leave messages

* Added unit tests for makePrepaprePostIdsForPostList

* Check if post edit/delete should be enabled more often

* Updated mattermost-redux version in yarn.lock
2017-10-20 18:58:44 -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
4605ecc359 Do not show channel intro while posts are being loaded (#1012)
* Do not show channel intro while posts are being loaded

* check if we have posts in the channel
2017-10-11 15:36:40 -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
f8414559b2 Improving Performance Part 2 (#1010)
* Remove serverVersion check to allow GitLab login

* Avoid unncessary re-renders on the root screen

* Avoid unncessary re-renders on the options modal screen

* Avoid unncessary re-renders on the thread screen

* Avoid unncessary re-renders on the offline indicator component

* Avoid unncessary re-renders on the channel loader component

* review feedback
2017-10-11 14:36:27 -03: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
5bfe97b1f2 fix swiper bounce in iOS (#1005) 2017-10-10 13:15:11 -04:00
Elias Nahum
d360836baa Fix crashes when user hasn't loaded and when postDraft was undefined 2017-10-05 17:49:14 -03:00
Elias Nahum
9eb00f3d2e Fix postTextBox at_mention autocomplete 2017-10-05 12:31:00 -03:00
enahum
d501a678e9 RN-382 Refactor at_mention & channel_mention autocomplete (#988)
* RN-382 Refactor at_mention & channel_mention autocomplete

* Feedback review

* If the term changes always trigger a request
2017-10-05 10:25:15 -03:00
enahum
76b8fba358 Remove context menu for system and ephemeral messages (#981) 2017-10-02 16:03:13 -03:00
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