Commit graph

63 commits

Author SHA1 Message Date
Harrison Healey
3f0a4ef153 RN-472 Improved handling of deleted search results (#1119) 2017-11-15 18:18:46 -03: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
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
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07: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
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
76b8fba358 Remove context menu for system and ephemeral messages (#981) 2017-10-02 16:03:13 -03:00
enahum
e31d1834f6 Show full date on search results (#934) 2017-09-25 10:21:06 -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
Chris Duarte
bffc75f8d1 RN-223 Emoji picker for adding new emoji reactions (#854)
* RN-223 Emoji picker for adding new emoji reactions

* Remove redundant setServerVersion and fetch custom emojis on reset

* Review feedback

* Review feedback 2

* Review feedback 3

* Review feedback 4

* Change aliases to array and add header to image source

* Remove aliases from custom emojis
2017-08-23 15:29:09 -03: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
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
088ecad2b5 Split Post component into smaller components and prevent re-rendering (#740)
* Split Post component into smaller components and prevent re-rendering

* Feedback review

* Fix render reply bar

* Remove eslint-disable-line
2017-07-13 17:48:45 -04:00
Stan Chan
643925469b RN-38 Clicking on an at mention should open user profile (#728) 2017-07-10 18:09:15 -04:00
Harrison Healey
bd2c623775 Added support for new system-wide teammate name display setting (#709) 2017-07-04 20:54:03 -04:00
Asaad Mahmood
fbfd5d547a RN-218 - Updating default font size for posts (#702)
* RN-218 - Updating default font size for posts

* Updating channel intro size
2017-07-04 11:12:17 -04:00
Chris Duarte
e89b63441b RN-71 Timestamps are not aligned with username (#681) 2017-06-27 16:36:00 -04:00
Chris Duarte
c369ca6593 Posts are now seen as pending until submitted successfully (#650)
* Posts are now seen as pending until submitted successfully

* Fix image upload fail retry
2017-06-19 16:55:56 -04:00
Chris Duarte
94c8cb1ff7 Can now long press on markdown links (#648)
* Can now long press on markdown links

* Review feedback
2017-06-19 14:51:13 -04:00
Harrison Healey
ea6bace72f RN-165 Removed lineHeight style from Markdown text (#628) 2017-06-14 10:57:33 -04:00
enahum
68b8bcdc42 RN-148 Tapping to dismiss post tooltip and prevent openining thread view (#607) 2017-06-08 14:57:03 -04:00
Harrison Healey
35d08fb793 RN-150 Fixed markdown styles not being applied (#589) 2017-05-30 16:15:13 -04:00
enahum
febc818bbb Add markdown to channel info (#580) 2017-05-29 14:38:55 -04:00
Carlos Tadeu Panato Junior
b7eeea3808 [RN-112] Update the formatting of markdown block quotes (#538)
* RN-112 - Update the formatting of markdown block quotes

* update style definitions

* update per review
2017-05-29 09:56:00 -04:00
enahum
ce4f8a2600 RN-34 tap to remove ephemeral posts (#563) 2017-05-25 09:07:55 -04:00
enahum
1e4e9b7962 Render slack attachments in posts (#555) 2017-05-23 12:07:21 -04:00
enahum
26c365a00b Various Updates and fixes (#559)
* Update to latest mattermost-redux

* Update View.propTypes to ViewPropTypes

* use an empty object if the draft is undefined
2017-05-22 14:17:30 -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
Asaad Mahmood
9e90884fce Multiple UI improvements (#512)
* Multiple UI improvements

* RN-107 - Adding margin in more channels modal

* RN-108 - Updating center channel overlay
2017-04-30 13:32:26 -03:00
Chris Duarte
9d13c985c2 RN-52: RN: Make create post and upload file actions optimistic (#504)
* RN-52: RN: Make create post and upload file actions optimistic

* Review feedback
2017-04-27 08:45:42 -03:00
Chris Duarte
d6bb00edf7 RN-78: Can't reply to a post with only files (#505) 2017-04-26 16:33:17 -03:00
enahum
7a3c99c267 Move to mattermost-redux master branch (#484) 2017-04-21 14:20:52 -03:00
enahum
cdff304be1 RN-64 Ability to open the app in offline mode (#479) 2017-04-13 11:57:19 -03:00
Harrison Healey
43e4c5e2f2 PLT-5860 Updated copyright date (#476) 2017-04-10 11:33:35 -03:00
enahum
c675b17e3c PLT-5840 Prevent double tapping (#464)
* PLT-5840 Prevent double tapping

* handle double tapping on channel header

* Review feedback
2017-04-09 22:43:18 -03:00
enahum
15ae765f52 RN-71 bottom align post timestamp with username (#473) 2017-04-09 22:33:03 -03:00
enahum
fb1471c4de Fix first load to include the right DM's and GM's (#461) 2017-04-06 11:45:20 -03:00
enahum
007c8bcf35 PLT-6208 Follow policies set in System Console (#456) 2017-04-05 22:33:03 -03:00
enahum
70449a4768 PLT-5940 Remove ability to reply to system and deleted messages (#454) 2017-04-05 00:27:09 -03:00
Chris Duarte
fce5acea46 PLT-6015 RN grey vertical line on left of replies is sometimes too short (#427) 2017-03-29 23:53:48 -03:00
Chris Duarte
e6a1c1a433 Plt 6044 plt 5971 plt 5934 (#405)
* Update post textbox design

* Hide team selection

* Added channel loader

* Update post textbox to new design

* Add channel loader animation

* Remove error bar

* Made image preview fullscreen

* Fix channel loader gradient

* Fix status icon

* Adjust loaded and profile

* Fix channel header wrap

* Add reply count icon

* Fix android styling

* Hide send button

* Fix thread header

* Fix thumbnail upload preview

* Fix preview retry and design
2017-03-27 16:47:52 -03:00
enahum
58f1b3a552 PLT-5660 Ability to edit a post (#399)
* Ability to edit a post

* address feedback
2017-03-26 22:31:16 -03:00
enahum
23fa46fad6 Various UI fixes (#398)
* PLT-6001 Fix right margin on markdown lists

* PLT-6036 Fix post commented on spacing

* PLT-5902 Close keyboard when drawer opens
2017-03-26 22:23:09 -03:00
Harrison Healey
305929012f PLT-5494 Added at mention detection (#366) 2017-03-20 18:03:41 -03:00
Harrison Healey
ae703eb00a PLT-5875 Updated system message font opacity to match web app (#367) 2017-03-20 16:30:47 -04:00
enahum
e61f6264ac PLT-5511 Ability to flag and unflag posts (#360) 2017-03-20 17:18:59 -03:00
enahum
74db04f672 PLT-5912 Make integration posts follow the override username and profile picture config settings (#363) 2017-03-20 17:16:56 -03:00
enahum
e1eeac4d82 PLT-5498 Add ability to delete a message (#357)
* ios tooltip menu with option to delete a post

* bottom sheet for android

* Feedback review
2017-03-20 16:57:37 -03:00
Harrison Healey
07af08b74a PLT-5717 Initial markdown support (#354)
* Added CommonMark-based post rendering

* Fixed text wrapping in most block elements

* Fixed paragraphs not being rendered as children of lists

* Replaced markdown images with a placeholder

* Fixed font colour in code spans
2017-03-20 16:27:33 -03:00