Commit Graph

22 Commits

Author SHA1 Message Date
Florian Orben
7e70788c94 simplify check if ctrl+enter was pressed 2015-10-29 17:44:10 +01:00
Florian Orben
ca04e3bbc3 fix component unmount 2015-10-29 17:31:50 +01:00
Florian Orben
5119e96366 enable ctrl+enter send for edit msg modal 2015-10-29 17:31:50 +01:00
Reed Garmsen
b2cbb956a7 Fixed issue with refocusing not working after editing a post in the RHS 2015-10-28 16:12:45 -07:00
Christopher Speller
495673d80d Fixing some client warnings 2015-10-16 10:50:10 -04:00
Florian Orben
fcce3168b2 PLT-74: Enable Up Arrow keyboard shortcut to edit your last message
- fix bug where channel_id was not set if update_post ajax was "too fast"
- fix bug js error if there is no last post, i.e. empty channel
- renamed lastPostId to postId so it has a nicer api to be triggered from everywhere
- fix a typo
- automatically focus textarea on modal open
2015-10-15 21:25:31 +02:00
Florian Orben
551b07960e PLT-74: Enable Up Arrow keyboard shortcut to edit your last message 2015-10-15 21:25:31 +02:00
Christopher Speller
1571a9a2df Fixing most deprication warnings 2015-10-15 15:00:28 -04:00
Christopher Speller
b85b529373 Changing SpinPunch to Mattermost in copyright 2015-10-08 12:27:09 -04:00
Christopher Speller
4b22c1f99c Upgrading ESLint and adding some more rules. Refactoring to meet these new rules 2015-09-03 15:00:47 -04:00
nickago
069f851313 Cosmetic Refactoring 2015-09-02 11:14:50 -07: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
nickago
794881ce24 Upon exiting edit post modal, foucs is placed on the respective text input field 2015-08-21 09:45:48 -07:00
nickago
ee91b766be Added closing on ESC key press 2015-08-04 12:02:35 -07:00
ralder
6a559febc2 fix BrowserStore bug in actionOnItemsWithPrefix and refactor BrowserStore 2015-07-10 12:38:16 -07:00
Christopher Speller
7f5ebb42b5 Modifying all storage to use session storage. Also adding an abstraction layer to add current user id as a prefix to most keys. 2015-07-08 09:55:24 -04:00
=Corey Hulen
56e74239d6 first commit 2015-06-14 23:53:32 -08:00