Commit graph

332 commits

Author SHA1 Message Date
Harrison Healey
350a78c616 RN-376 Removed code that made search bar focus itself after animations (#1152)
* RN-376 Removed code that made search bar focus itself after animations

* Used StyleSheet to pass styles into search components
2017-11-15 09:56:26 -03:00
Harrison Healey
70a1a92d06 Updated borders on autocomplete to wrap entire list (#1149)
* Updated borders on autocomplete to wrap entire list

* Reverted accidental changes to search autocomplete position
2017-11-14 19:13:03 -06:00
Harrison Healey
e98e22600e RN-465 Fixed emoji autocomplete removing spaces before emoji (#1150) 2017-11-14 19:06:55 -06:00
Martin Kraft
002a5b8acd RN-44: Adds flag SVG to post header. (#1004)
* Adds flag SVG to post header.

* RN-44: Pushes flagged post icon up.
2017-11-14 09:49:38 -05:00
Harrison Healey
df5f7a0059 Increased clickable area around send post button (#1139)
* Increased clickable area around send post button

* Fixed attachment icon not staying at the bottom when the post textbox gets taller
2017-11-13 18:43:31 -03:00
enahum
49899b2a00
Improve performance on post textbox (#1138) 2017-11-13 18:36:24 -03:00
enahum
c9fd1ac97d Scroll to search result in preview (#1129)
* Scroll to search result in preview

* Fix uni test

* Feedback review

* Remove listeners for mattermostManaged

* Remove specific event listeners for mattermostManaged
2017-11-13 11:55:26 -05:00
enahum
d7622eb7a4 RN-360 Add support for interactive message buttons (#1131) 2017-11-13 10:52:43 -06:00
enahum
a299cdb5c5
Network detection by pinging Mattermost server (#1130) 2017-11-13 13:51:24 -03:00
enahum
2792e3bab1 Fix badge render (#1134) 2017-11-13 10:44:35 -06:00
Harrison Healey
8e960f0257 RN-472 Improved handling of deleted search results (#1119) 2017-11-12 08:34:39 -03:00
enahum
380f5d884a
RN-466 DND status support (#1115)
* DND status support

* Feedback review
2017-11-10 12:51:33 -03:00
Harrison Healey
bc4df84519 RN-471/RN-484 Fixed null pointer exceptions caused by ScrollViews (#1116)
* RN-471 Fixed null pointer from Swiper scroll view

* RN-484 Added null check to ImagePreview scroll view
2017-11-09 18:48:37 -03:00
enahum
b649dada6f RN-13 Scroll to New messages indicator (#1110) 2017-11-09 08:50:04 -06:00
enahum
2a6b49cdfa Close Thread view when the root post has been deleted (#1114) 2017-11-09 09:22:48 -05:00
Harrison Healey
58efa5863b RN-435 Fixed Loading messages... message not appearing (#1104)
* RN-435 Fixed Loading Messages... message not appearing

* Made capitalization of Loading messages... more consistent

* Fixed ignored eslint warning

* Removed outdated FIXME comment

* Removed unnecessary view
2017-11-08 15:55:11 -03:00
Harrison Healey
1817de589a Changed PostProfilePicture to be a PureComponent (#1105)
* Changed PostProfilePicture to be a PureComponent

* Updating style
2017-11-08 09:19:27 -06:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
enahum
9dcb7ac717 Set the section list to wait for interactions before updating the unread indicator (#1093) 2017-11-03 17:55:09 -03:00
enahum
7c8f735b3b
Merge Build 62 into master (#1090)
* Use ImageBackground for youtube videos instead of nested Images

* Fix bugs reported by sentry (#1081)

* Update Mattermost redux (#1086)

* Fix middleware

* Upgrade mattermost-redux

* another middleware fix

* RN-456 when a channel is left we update content and title (#1087)

* Version Bump to 62 (#1088)

* Version Bump to 62 (#1089)
2017-11-02 17:53:20 -03:00
enahum
dd9d245e39 Prevent More unreads indicators when canceling jump to... (#1082) 2017-11-02 08:37:08 -03:00
enahum
6e7eb521b8 Show profile images and names only for DMs in channel intro (#1076) 2017-11-02 08:37:08 -03:00
Chris Duarte
2f5201bac9 Add copy post/url/mention/code to tooltip menu (#1069)
* Add copy post/url/mention/code to tooltip menu

* Check for managedConfig.copyAndPasteProtection

* Reorder copy options
2017-10-31 13:42:56 -03:00
Chris Duarte
9e0831e984 Allow profile button configuration (#947)
* Allow profile button configuration

* Renamed config to experimental and moved to separate function
2017-10-27 14:15:14 -04:00
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