Commit Graph

117 Commits

Author SHA1 Message Date
Asaad Mahmood
c6ffb73999 Multiple Ui improvements (#5398)
* PLT-5475 - Adjusting tutorials on mobile

* PLT-5475 - Adjusting tutorials on mobile

* PLT-5457 - Adjusting save button

* PLT-5443 - Updating highllight on status compact

* PLT-5413 - Team sidebar not scrolling

* PLT-5358 - Maintaing aspect ratio for emojis

* PLT-5411 - Removing help text from LDAP signin

* PLT-5420 - Updating emoticon for headings

* Updating emoji size

* Updating emoji size

* Removing emoticon tag

* Updating emoticon sizes

* Updating emoji size
2017-02-16 09:54:30 -05:00
Jason Blais
86a92f8c75 Revert "display loading screen when changing team" (#5403) 2017-02-14 15:20:38 -05:00
Joram Wilander
ff741740ee Increase performance when receiving messages (#5375) 2017-02-13 09:27:28 -05:00
Björn Roland
37222ec1b3 Revert "#5108 Use <time> element for channel headers and search result headers" (#5359) 2017-02-10 17:58:38 -05:00
Andrei Stanciu
1bbed1cb2b Add permalink to timestamp (#5206)
* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* fix error with duplicated import

* underline permalink on hover
2017-02-10 06:56:48 -08:00
Mika Andrianarijaona
11e0a7daa2 display loading screen when changing team (#5325)
* display loading screen when changing team

* fix lint error
2017-02-08 08:40:32 -08:00
Björn Roland
829f3cce95 #5108 Use <time> element for channel headers and search result headers (#5331) 2017-02-08 08:38:59 -08:00
Akihiko Odaki
68a05653ea Add webapp/utils/url.jsx (#5285)
webapp/utils/utils.jsx got big and that caused a potential circular
dependency with webapp/stores/team_store.jsx. This change solves the
issue by introducing webapp/utils/url.jsx and moving URL-related
functions, which is not likely to depend on actions and stores, from
webapp/utils/utils.jsx.
2017-02-07 07:20:01 -08:00
Pepijn
9bdea0de80 Defering calculations for determining if user scrolled to bottom or not. slight delay improves the accuracy in responsive view (#5244) 2017-02-07 07:18:20 -08:00
Asaad Mahmood
bce2eb6ceb Multiple bug fixes (#5275)
* PLT-5319 - Fixing text and line separator

* PLT-5227 - Shrinking webrtc hides video

* PLT-4066 - Fixing scroll for notifications modal

* PLT-5106 - Adding status indicators (compact view)

* Reverting scrolling change
2017-02-02 13:23:12 -05:00
Harrison Healey
9369cab56c Added ability for system message username to be localized (#5239) 2017-01-31 13:02:48 -05:00
Harrison Healey
c0c6ef47d9 Stopped usernames from appearing on separate lines in system messages (#5228) 2017-01-31 10:01:32 -03:00
Harrison Healey
39ee5737b7 PLT-2555/PLT-5009/PLT-5225 Changed system messages to be rendered by the client (#5209)
* Moved rendering of (message deleted) into PostMessageView

* Added additional post types to constants on client

* Changed system messages to be rendered in the client's language

* Updated new system messages to have relevant usernames highlighted and have markdown rendered in header change messages
2017-01-30 11:49:00 -05:00
Saturnino Abril
3e2f879b77 Add Floating Timestamp to Right Hand Side on Mobile #5163 (#5201) 2017-01-30 09:19:45 +00:00
Asaad Mahmood
28124d8476 Fixing various issues with markdown spacing (#5203) 2017-01-27 10:15:14 -05:00
Björn Roland
cfbace70ca #5108 Add datetime attribute to <time> elements (#5199)
* #5108 Add datetime attribute to <time> elements

* fix eslint errors
2017-01-27 08:06:51 -05:00
Harrison Healey
a8f35c5738 Moved code to change direction of dropdown to run when dropdown is shown (#5100) 2017-01-23 10:14:45 -03:00
Debanshu Kundu
3aaf71fdea #4257 Added functionality to create previews for post links using open graph data from those links. (#4890) 2017-01-20 14:41:13 -03:00
khawerrind
bcd7da510d PLT-5057 Make image preview work if URL contains a query (#4869)
* Fixed image previews urls having query params

* dont show expand/collapse icon if image link fails to load
2017-01-18 18:02:03 -03:00
George Goldberg
b6cafd5981 PLT-5077: Fix floating date on mobile view. (#5061) 2017-01-18 15:15:43 -05:00
Amit Yadav
99cf08ac38 Message Editing and Deleting permissions (#4692) 2017-01-18 08:08:31 -05:00
Corey Hulen
7c9d0c313f PLT-5173 fixing javascript error when creating DM on Android (#5077) 2017-01-16 16:51:46 -05:00
George Goldberg
07bad4d6d5 PLT-5025: Fix scroll to bottom delay loading channel. (#5056) 2017-01-13 15:03:12 +00:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Debanshu Kundu
739f32272f PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923) 2017-01-12 10:47:29 -05:00
Zeger-Jan van de Weg
12662d0c87 Slack format for Slash command messages (#4999)
* Slash commands accept Slack format

Until this commit the slash commands only accepted 'text' properties.
For better styling however, Slack formatting support was added.

However, ephemeral messages are not supported, and only text will be
displayed.

* Allow emphemeral Slack messages
2017-01-09 09:25:02 -05:00
Corey Hulen
e82bcea0d0 PLT-5118 moving to last_picture_update for the profile img (#4985) 2017-01-06 12:13:22 -05:00
Joram Wilander
8bd50724a6 Remove TODOs that now have tickets (#4935) 2017-01-03 11:39:29 -03:00
Pepijn
14f1f4e9b1 Tweaked new message indicator calculation: (#4763)
* Removed count from new message indicator

* Don't count deleted posts towards the unviewedCount

* remove lodash, reduce() is natively available
2016-12-27 21:49:44 -05:00
George Goldberg
a857cf18f4 PLT-4860 Make ProfilePopover into it's own component and use it consistently everywhere (#4701)
* PLT-4860 - Use same User Popover everywhere.

Refactor out the ProfilePopover into it's own component and give it the
union of all the features of the previous two implementations, and make
sure all the necessary data for it to work consistently everywhere is
provided through the props wherever it is used.

* Don't show popover for webhook posts in main view.

* No popover on RHS when it's a webhook post.

* Fix style.

* Don't send in user when it's a system message.

* Fix some duplication of code.
2016-12-22 14:19:19 -03:00
Joram Wilander
25d40bc98c PLT-4431 Add post queuing to the webapp (#4800)
* Add post queuing to the webapp

* Add more abstraction
2016-12-21 16:41:05 -05:00
Joram Wilander
ba6e370ca7 PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API (#4840)
* Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API

* Remove preference DB writes
2016-12-21 16:35:01 -05:00
Christopher Speller
8c5744492f Revert "PLT-135 Showing "(Edited)" indicator if a message has been edited." (#4854) 2016-12-20 19:38:11 -05:00
Debanshu Kundu
6a5cdd5cdf PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4764) 2016-12-19 09:05:39 -05:00
Harrison Healey
c3d02100a9 PLT-4903 Rendered a placeholder for user reactions where the user hasn't been loaded (#4784)
* Rendered a placeholder for user reactions where the user hasn't been loaded

* Added id to reaction Tooltip

* Removed FormattedHTMLMessage from Reaction and improved support for different verb conjugations
2016-12-14 11:31:00 -05:00
Joram Wilander
27aaa6dad3 Fix JS errors with RHS and flagged posts (#4771) 2016-12-12 21:52:19 -03:00
Asaad Mahmood
32842be309 Multiple Ui improvements (#4767)
* PLT-4911 - Adding new target for OAuth help links

* PLT-4953 - Fixing styles for the unread messages indicator

* PLT-4901 - Fixing header modal overlap on mobile

* PLT-4916 - Swapping position of edit and delete
2016-12-12 10:17:20 -05:00
Yusuke Nemoto
ddacfa58ba PLT-1598 Slash command works in RHS (#4367)
* PLT-1598 Slash command works in RHS

* fix UserProfile in the reply for Slash Command

* fix some problem about the system messages in RHS
* system message in RHS isn't displayed as comment for root message

* remove status indicator for system message in RHS

* system message in RHS is colored to grey

* system messages don't count as commented post

* fix bug about cleaning draft in RHS

* remove unnecessary function

* implement new model for executing command
2016-12-09 23:35:16 -05:00
Joram Wilander
65699c7c51 Remove status from webhook posts in compact mode (#4739) 2016-12-09 15:43:28 -08:00
Harrison Healey
d7ee335106 Fixed being unable to make the first post in a new channel (#4744) 2016-12-09 07:53:36 -05:00
Harrison Healey
5341e82ad7 Fixed typo causing NewMessageIndicator to fail to translate (#4738) 2016-12-08 13:13:32 -03:00
Pepijn
7399d349de Created a new message indicator component to indicate new messages (#4299)
* Created a new message indicator component to indicate new messages are present
outside the user's view:

 * Created new component with styling

 * Theming and i18n support for new messages indicator

 * Count new unviewed messages and integrate with component

 * Coding style for new message indicator

* Fixed bugs with new message indicator:

 * Fix display issues with new message indicator
 * Update text to deal with plurals in React

* Fix coded style for ticket 'PLT-1917': add new message indicator.

* Use only server generated timestamps for checking new messages at the bottom

* Move transitionend to prop, fix style selectors
2016-12-07 18:08:37 -05:00
Joram Wilander
dcf11a14d8 Don't show status for posts from webhooks (#4726) 2016-12-06 10:22:45 -05:00
Carlos Tadeu Panato Junior
f27aca4b73 Move instances of Client.createPost() in components to an action (#4639)
* Move instances of Client.createPost() in components to an action

* update per review, waiting for more review and see if this is the right way

* update per code review

* update code

* remove comment per request
2016-12-05 12:59:12 -05:00
Harrison Healey
165ad0d4f7 PLT-1378 Initial version of emoji reactions (#4520)
* Refactored emoji.json to support multiple aliases and emoji categories

* Added custom category to emoji.jsx and stabilized all fields

* Removed conflicting aliases for :mattermost: and :ca:

* fixup after store changes

* Added emoji reactions

* Removed reactions for an emoji when that emoji is deleted

* Fixed incorrect test case

* Renamed ReactionList to ReactionListView

* Fixed 👍 and 👎 not showing up as possible reactions

* Removed text emoticons from emoji reaction autocomplete

* Changed emoji reactions to be sorted by the order that they were first created

* Set a maximum number of listeners for the ReactionStore

* Removed unused code from Textbox component

* Fixed reaction permissions

* Changed error code when trying to modify reactions for another user

* Fixed merge conflicts

* Properly applied theme colours to reactions

* Fixed ESLint and gofmt errors

* Fixed ReactionListContainer to properly update when its post prop changes

* Removed unnecessary escape characters from reaction regexes

* Shared reaction message pattern between CreatePost and CreateComment

* Removed an unnecessary select query when saving a reaction

* Changed reactions route to be under /reactions

* Fixed copyright dates on newly added files

* Removed debug code that prevented all unit tests from being ran

* Cleaned up unnecessary code for reactions

* Renamed ReactionStore.List to ReactionStore.GetForPost
2016-11-30 13:55:49 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
Harrison Healey
43c703e216 PLT-4787 Fixed not being able to join a channel through a link after opening the More Channels modal (#4616) 2016-11-21 13:03:54 -05:00
Christopher Speller
0ef77dff13 Fixing new messages indicator (#4614) 2016-11-21 12:17:58 -05:00
Harrison Healey
13dcccc60b PLT-4205 Fixed pending posts always being considered as part of a post thread (#4488) 2016-11-08 11:47:42 -05:00
enahum
376f7c6f0e PLT-4649 reply threads highlight (#4479) 2016-11-08 09:59:27 -05:00