Commit Graph

32 Commits

Author SHA1 Message Date
JoramWilander
06a7c5e5d7 Fixes RHS not scrolling to show previews when file attached. 2015-09-25 12:06:43 -04:00
Reed Garmsen
ef8705ab6b Text cursor now focuses on the textbox after performing a drag and drop of some text 2015-09-23 15:41:26 -07:00
Reed Garmsen
03eece597d Added support to drag and drop text into the main textbox or RHS textbox 2015-09-23 15:01:02 -07:00
hmhealey
7d07bf6a79 Refactored various React components to use ES6 syntax and to match the style guide without any errors or warnings 2015-09-01 18:45:18 -04:00
Reed Garmsen
023b286930 Removed warning message when at the max character limit 2015-08-28 14:43:48 -07:00
Christopher Speller
e1c09605dc Merge pull request #469 from mattermost/mm-1699
MM-1699 Refactored post handling/updating on both the client and server
2015-08-27 11:22:19 -04:00
JoramWilander
041d89b85a Refactored post handling/updating on both the client and server. 2015-08-27 08:21:26 -04:00
Reed Garmsen
a56603d666 Moved duplicate code into functions and added better handling of large paste text dumps 2015-08-26 16:53:19 -07:00
Reed Garmsen
656a88efdd Fixed issue with carriage returns being counted improperly in non-ie browsers and updated error messages to be appropriate to what is being typed (message vs. post vs. edit) 2015-08-25 13:16:44 -07:00
Reed Garmsen
5766bbfc65 Prevents users from typing more than 4000 characters into any 'textbox' (posts, comments, and post/comment edits). Also adds new error message for when users hit exactly 4000 characters so they know the limit. 2015-08-25 09:40:08 -07:00
JoramWilander
fa1491bbfb finalize implenetation of predictive client posts so that users get immediate feedback after posting 2015-08-18 08:59:26 -04:00
JoramWilander
5596a6b37c added client predictive commenting 2015-08-18 08:58:31 -04:00
Reed Garmsen
6f68c508ee Better error checking along with other fixes 2015-08-13 15:47:50 -07:00
Reed Garmsen
1fa436b4f9 Users can now drop files into the center pane or the rhs respectively to upload images and other files 2015-08-12 12:29:57 -07:00
hmhealey
17b05f705f Changed PostStore.getDraft/getCommentDraft to return an empty draft instead of null when no draft is found 2015-08-11 09:41:18 -04:00
hmhealey
6ec1b7a8b3 Formatted CreateComment, CreatePost, and FileUpload React components to match the style guide 2015-08-10 14:04:23 -04:00
hmhealey
96ad8cb114 Changed file upload components to properly remove previews for failed uploads 2015-08-10 14:04:23 -04:00
hmhealey
c9a1bf2d33 Changed post drafts to maintain a store a unique id for each file upload to fix issues with duplicate file names 2015-08-10 14:04:23 -04:00
hmhealey
4b74c873cc Added the ability to cancel file uploads on comments 2015-08-10 14:04:23 -04:00
hmhealey
20d755f3dd Changed post drafts to maintain a list of the names of uploading files instead of just a count 2015-08-10 14:04:22 -04:00
Reed Garmsen
952e7a93f9 Fixed issue with error message for uploading more than 5 files not appearing on OSX 2015-07-23 10:01:19 -07:00
nickago
ee25df7e55 Added message persistance on closing RHS/switching to another comment
thread. Similar to the center pane and channels, switching comment
threads won't delete entered but unsent text/media in the RHS
2015-07-22 08:48:37 -07:00
nickago
af56bed1a3 Even on error, submission stop, updated to relect that 2015-07-17 12:09:12 -07:00
Joram Wilander
7904ea2738 Merge pull request #46 from mattermost/mm-1318
fixes mm-1318 only allow 5 files to be uploaded at a time
2015-06-25 12:28:34 -04:00
JoramWilander
009df5bad5 fixes mm-1318 only allow 5 files to be uploaded at a time 2015-06-22 08:35:24 -04:00
it33
3e07a7bcb4 Change "Create a comment..." to "Add a comment..." 2015-06-21 13:59:22 -07:00
Reed Garmsen
2048b9567f Error messages revolving around comment creation appear clientside unless we have a better solution in place 2015-06-15 11:09:57 -07:00
Reed Garmsen
3895599c8f Error messages revolving around comment creation appear clientside unless we have a better solution in place 2015-06-15 11:09:57 -07:00
Reed Garmsen
c84e091f2a Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay. 2015-06-15 09:37:26 -07:00
Reed Garmsen
5f4daf6e20 Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay. 2015-06-15 09:37:26 -07:00
=Corey Hulen
cf7a05f80f first commit 2015-06-14 23:53:32 -08:00
=Corey Hulen
56e74239d6 first commit 2015-06-14 23:53:32 -08:00