Commit graph

41 commits

Author SHA1 Message Date
Saturnino Abril
effc99462b fix crash on search (#1594) 2018-04-17 09:23:28 -04:00
Chris Duarte
676a180067 Fix press username to mention (#1547)
* Fix press username press to mention

* Add cursorPosition to post_textbx state

* Remove unneeded draftSelectionChanged actions and events
2018-04-13 11:15:19 -04:00
Jesse Hallam
58b72302d6 update eslint's comma-dangle rule to always-multiline (#1457)
* update eslint's `comma-dangle` rule to `always-multiline`

* add check and fix scripts to package.json

* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
Joram Wilander
84a2a0fab8
ABC-123 Add handling for loading custom emojis asynchronously (#1406)
* Add async handling of custom emoji to posts and channel info

* Add server request to emoji autocomplete

* Add custom emoji paging and server search to emoji picker

* Fix android

* Update mattermost-redux and revert temp change

* Backwards compatibility fixes

* Updates per feedback

* Set server version when user is not logged in

* Reset section index when search is cleared or cancelled

* Some small fixes and upgrade mattermost-redux

* Minor sorting changes
2018-02-15 17:38:45 -05:00
Chris Duarte
224099a9dc Add fuzy search to the emoji picker (#1310)
* Add fuzy search to the emoji picker

remove comments from master rebase

Add fusejs to NOTICE.txt

* Add fuzzy search support for emoji_picker
2018-01-02 17:21:50 -05:00
Martin Kraft
159507891c RN-519: Expands search results list height. (#1225)
* RN-519: Expands AtMentions and ChannelMentions searches to use entire device height.

* RN-519: Fix for ~ and @ search list heights.

* RN-519: Optimization.
2017-11-29 19:08:51 -03:00
enahum
df1c7d9fc1
fix autocomplete positioning (#1228) 2017-11-29 12:01:59 -03:00
enahum
df61ec5552 Fix autocomplete position in search screen (#1218)
* Fix autocomplete position in search screen

* Remove autocomplete for slash commands and emojis in search
2017-11-28 17:42:56 -05:00
Chris Duarte
be682240f4 Add slash command support (#1190)
* Add slash command support

* Review feedback

* Review feedback 2

* Update to latest redux

* Fix tests
2017-11-23 14:25:03 -03:00
enahum
c69bf5a950
Remove unneded ownProps (#1177) 2017-11-21 12:35:03 -03:00
Chris Duarte
e345ee1e7b Add recently used section (#1136)
* Add recently used section and section icons

* Improve section scrolling indication

* Modify Makefile and use onMomentumScrollEnd

* Make sure top section maintains highlight when scrolled to top

* Sort emojis by startsWith then includes when filtering
2017-11-21 10:20:09 -05: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
enahum
49899b2a00
Improve performance on post textbox (#1138) 2017-11-13 18:36:24 -03:00
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07: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
0a9ead9605 Fix search issues (#973) 2017-10-02 16:03:13 -03:00
enahum
0a7b297a6f Fix android search autocomplete (#958) 2017-10-02 16:03:13 -03: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
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
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
2216843854 Fixes autocomplete to not to crash if rootId is undefined (#804) 2017-07-31 18:39:10 -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
dc8b9a04b1 RN-10 Ability to search Posts (#763)
* Fix offline indicator UI

* Add search screen with recent mentions functionality

* Fix make start

* Add autocomplete to the search box

* Fix search bar in other screens

* Get search results and scroll the list

* Add reply arrow to search result posts

* Search result preview and jump to channel

* Feedback review
2017-07-21 17:07:47 -04:00
enahum
7dbac06983 Fix sentry found issues (#699) 2017-07-03 18:09:04 -04:00
enahum
f1c9f1051c RN-36 Update status bar color (#606) 2017-06-08 15:10:59 -04:00
enahum
844c654fda Update RN to 0.44.0 and project dependencies (#546) 2017-05-16 21:13:44 -04:00
enahum
248dafbe0e RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation (#540)
* Add react-navigator dependency

* Add react-native-navigation dependency

* react-native-navigation, ios and android config

* update react-native-navigation

* New navigation and code cleanup

* Set ScreenBackgroundColor

* Fix channel drawer event issue

* Applied RNPN non-working popInitial notification

* Android navbar and back button

* packages and notices

* MM-redux update

* Fix draft on team switch

* Remove custom NavBar
2017-05-16 11:19:46 -04:00
enahum
a7dc43aee9 Retry File Upload (#515)
* rename searchMoreChannels to searchChannels

* Handle send post when a file failed to upload
2017-05-02 12:06:08 -03:00
enahum
7a3c99c267 Move to mattermost-redux master branch (#484) 2017-04-21 14:20:52 -03:00
Harrison Healey
43e4c5e2f2 PLT-5860 Updated copyright date (#476) 2017-04-10 11:33:35 -03:00
Chris Duarte
18cc7f1e7f PLT-5518 RN: Allow user to upload + send image file attachments (#373)
* PLT-5518 RN: Allow user to upload + send image file attachments

* Review feedback
2017-03-21 17:58:31 -04:00
enahum
548633f5c0 PLT-5857 replace the service folder with mattermost-redux library (#348) 2017-03-14 10:52:24 -03:00
Chris Duarte
4be1e9af3a PLT-5600 RN: Mention and Channel autocomplete in the thread scene (#299) 2017-02-24 21:24:21 -03:00
Chris Duarte
90ac1fa625 PLT-5601 RN: autocompleting stopped when non-word chars are typed, even if there's an exact match (#288) 2017-02-23 14:43:46 -03:00
Chris Duarte
4f2d769766 PLT-5541 Autocomplete mentions in post textbox (#266)
* WIP channel autocomplete

* Channel mentions

* Feedback Review
2017-02-20 18:19:11 -03:00
Chris Duarte
37bea54b9f Android autocomplete fix (#272) 2017-02-17 13:02:05 -03:00
Chris Duarte
940363cf36 Mention autocomplete bug fixes (#253)
* Mention autocomplete bug fixes

* Review feedback
2017-02-15 09:57:30 -05:00
Chris Duarte
c370e895bd Mention autocomplete (#242)
* Mention autocomplete

* Review feedback
2017-02-13 16:07:50 -05:00