Commit Graph

101 Commits

Author SHA1 Message Date
Joram Wilander
7be7c67757 Increase quick switcher perf by not storing server results (#6575) 2017-06-05 09:45:50 -04:00
Saturnino Abril
fd6f6a55ce [PLT-6616] Fixed autocomplete to close properly (#6528)
* fix autocomplete to close properly

* disable key press of suggestion box when input value is empty
2017-06-05 08:43:59 -04:00
Harrison Healey
7ad1571701 PLT-6684 Fixed onClick handler for search autocomplete suggestions (#6540) 2017-05-31 17:15:47 -04:00
Joram Wilander
5aaedb9663 PLT-5699 Improvements to channel switcher (#6486)
* Refactor channel switcher to not wait on server results

* Change channel switcher to quick switcher and include team switching

* Add sections, update ordering and add discoverability button

* Fix styling error

* Use CMD in text if on mac

* Clean yarn cache on every install

* Various UX updates per feedback

* Add shortcut help text for team switcher

* Couple more updates per feedback

* Some minor fixes for GM and autocomplete race

* Updating UI for channel switcher (#6504)

* Updating channel switcher button (#6506)

* Updating switcher modal on mobile (#6507)

* Removed jQuery usage

* Rename function to toggleQuickSwitchModal
2017-05-31 16:51:42 -04:00
Harrison Healey
69f3f2fdce PLT-6282 Make post list stay visible when post textbox height changes (#6323)
* PLT-6282 Changed post drafts to use an action when being stored

* PLT-6282 Triggered post list to update scroll position when post draft changes

* PLT-6282 Changed SuggestionBox to complete suggestions without an event
2017-05-23 10:17:06 -04:00
Christopher Speller
2bbedd9def Updating client dependencies. Switching to yarn. (#6433)
* Updating client dependancies. Switching to using yarn.

* Updating React

* Moving pure components to using function syntax (performance gains with newer react version)

* Updating client dependancies.

* Ignore .yarninstall

* Enabling pre-lockfile because it's the entire point of using yarn.

* Removing old webpack config

* Moving to new prop-types

* Fixing ESLint Errors

* Updating jest snapshots.

* Cleaning up package.json
2017-05-18 09:28:18 -04:00
Harrison Healey
44a8f76d99 PLT-6431 Prevented autocompleting while suggestions are being received (#6328) 2017-05-04 14:54:50 -04:00
Joram Wilander
dc6c836b35 Fix group message names in channel switcher (#6246) 2017-05-03 08:48:44 -07:00
Joram Wilander
ad701900ef Fix mouse selection on channel switcher (#6244) 2017-04-27 07:58:15 -07:00
Carlos Tadeu Panato Junior
f5d9010f9a implement fix for PLT-6383 - Add "CAUTION" to @all auto-complete (#6240) 2017-04-27 09:27:31 -04:00
Joram Wilander
6c4c706313 Start moving webapp to Redux (#6140)
* Start moving webapp to Redux

* Fix localforage import

* Updates per feedback

* Feedback udpates and a few fixes

* Minor updates

* Fix statuses, config not loading properly, getMe sanitizing too much

* Fix preferences

* Fix user autocomplete

* Fix sessions and audits

* Fix error handling for all redux actions

* Use new directory structure for components and containers

* Refresh immediately on logout instead of after timeout

* Add fetch polyfill
2017-04-25 11:46:02 -04:00
Christopher Speller
7f68a60f8c Fixing double enter in channel switcher (#6208) 2017-04-24 13:10:34 -04:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* PLT-5860 Updated copyright date in about modal

* PLT-5860 Updated copyright notice in JSX files

* PLT-5860 Updated copyright notice in go files

* Fixed misc copyright dates

* Fixed component snapshots
2017-04-12 08:27:57 -04:00
Harrison Healey
c4fd04efb6 Fixed channel autocomplete flickering (#5961) 2017-04-03 21:22:09 -07:00
Harrison Healey
36c74d7b47 PLT-5873 Renamed private groups to private channels (#5924)
* PLT-5873 Renamed private groups to private channels in web app

* PLT-5873 Renamed private groups to private channels in server
2017-04-03 13:42:05 +01:00
Saturnino Abril
1167b39185 Fixed mobile search focus - keyboard collapse/focus (#5766) 2017-03-24 09:05:43 +00:00
Joram Wilander
163f591b7b Increase timeout on suggestion clear after blur (#5631) 2017-03-04 17:56:55 +00:00
Joram Wilander
3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* Implement server changes for group messaging

* Majority of client-side implementation

* Some server updates

* Added new React multiselect component

* Fix style issues

* Add custom renderer for options

* Fix model test

* Update ENTER functionality for multiselect control

* Remove buttons from multiselect UI control

* Updating group messaging UI (#5524)

* Move filter controls up a component level

* Scroll with arrow keys

* Updating mobile layout for multiselect (#5534)

* Fix race condition when backspacing quickly

* Hidden or new GMs show up for regular messages

* Add overriding of number remaining text

* Add UI filtering for team if config setting set

* Add icon to channel switcher and class prop to status icon

* Minor updates per feedback

* Improving group messaging UI (#5563)

* UX changes per feedback

* Update email for group messages

* UI fixes for group messaging (#5587)

* Fix missing localization string

* Add maximum users message when adding members to GM

* Fix input clearing on Android

* Updating group messaging UI (#5603)

* Updating UI for group messaging (#5604)
2017-03-02 17:48:56 -05:00
Saturnino Abril
9ba968ce33 Use consistent Display Name sorting code throughout the webapp #5159 (#5213)
* Use consistent Display Name sorting code throughout the webapp #5159

* fixed broken sorting of teams and channels
2017-01-31 20:57:16 -03:00
Harrison Healey
931e712af1 Fixed ChannelMentionProvider matching completed mentions (#5188) 2017-01-25 23:16:18 -03:00
Harrison Healey
23e7414d35 Fixed channel mention autocomplete to not match completed mentions (#5101) 2017-01-20 08:19:23 -05:00
Harrison Healey
a5b5dabf4a Added support for emojis with multiple aliases to autocomplete (#5097) 2017-01-17 15:49:05 -05:00
Joram Wilander
846880e814 Clear mention autocomplete if there is no regex match (#5085) 2017-01-16 18:33:42 -05:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Harrison Healey
2f9b56eb3a Fixed onBlur being called when not given as a prop (#5024) 2017-01-09 14:22:21 -05:00
Asaad Mahmood
93a526f7ed PLT-5179 - Fixing modal overflow for autocomplete (#5002)
* PLT-5179 - Fixing modal overflow for autocomplete

* PLT-5171 - Fixing search bar popover behaviour
2017-01-09 09:32:27 -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
Hayden Chudy
42da7aa700 PLT-5027: Don't show own user in auto-complete list. (#4916) 2016-12-30 13:43:14 -03:00
Joram Wilander
1539730ac1 Only show emoji autocomplete after two typed characters (#4895) 2016-12-26 09:44:20 -05:00
enahum
e492b80fb8 PLT-4893 remove channel handler in channel switcher (#4889) 2016-12-26 09:31:11 -05:00
Joram Wilander
cadc9e11e4 Remove race between multiple autocomplete requests (#4860) 2016-12-21 12:45:21 -05:00
Joram Wilander
bf3fec604f Remove autocomplete delay (#4819) 2016-12-20 09:08:58 -05:00
Harrison Healey
c2be6497eb Changed SuggestionBox to clear suggestions shortly after losing focus (#4721) 2016-12-09 15:43:50 -08:00
enahum
b57c9fec89 PLT-4894 channel switcher (CTRL+K) to match message autocomplete (#4733)
* PLT-4894 Change name display of direct messages in channel switcher (CTRL+K) to match message autocomplete

* Addressing feedback
2016-12-08 10:20:03 -05:00
Harrison Healey
7acd135e02 Removed duplicated characters when autocompleting composed characters (#4734) 2016-12-08 09:22:09 -03:00
Asaad Mahmood
08c2d28942 Multiple UI Improvements (#4712)
* Multiple UI Improvements

* Reverting modal animation
2016-12-06 10:51:31 -05:00
Harrison Healey
b477e384d8 Added support for autocompleting at mentions for users with non-alphanumeric names (#4717) 2016-12-06 09:36:40 -03: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
Joram Wilander
02d581c159 PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)
* Add autocomplete API for system-wide users

* Update channel switcher to autocomplete all users on the system
2016-11-29 10:12:59 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
Joram Wilander
981ea33b8e PLT-4403 Add server-based channel autocomplete, search and paging (#4585)
* Add more channel paging API

* Add channel paging support to client

* Add DB channel search functions

* Add API for searching more channels

* Add more channel search functionality to client

* Add API for autocompleting channels

* Add channel autocomplete functionality to the client

* Move to be deprecated APIs to their own file

* Final clean-up

* Fixes related to feedback

* Localization changes

* Add unit as suffix to timeout constants
2016-11-24 09:35:09 -05:00
Harrison Healey
a12581cb9e Cleared at mention suggestions when something invalid is typed (#4633) 2016-11-22 14:21:51 -03:00
Joram Wilander
3c65a20f45 Deleted posts now update in search results and flagged posts (#4618) 2016-11-22 09:13:14 -05:00
Christopher Speller
a798714958 Updating eslint (#4573) 2016-11-17 12:02:16 -05:00
Harrison Healey
03e3ac60c2 PLT-4600 Properly clear autocomplete suggestions when suggestions are out of date (#4529)
* PLT-4600 Better clear autocomplete suggestions when suggestions are out of date

* Fixed react warnings and removed an eslint ignore
2016-11-10 17:00:14 -05:00
Harrison Healey
428444d185 PLT-4459 Fixed not being able to scroll on mobile after autocomplete is shown (#4464)
* Fixed not being able to scroll on mobile after autocomplete is shown

* Fixed SuggestionLists not being scrollable on iOS
2016-11-04 19:11:40 -04:00
Harrison Healey
e63e80dee0 PLT-4404/PLT-4578/PLT-4541/PLT-4542 Replaced third party autosizing textarea with a custom one (#4442)
* PLT-4578 Replaced third party autosizing textarea with a custom one

* Fix Textbox.handleHeightChange not being called

* Removed unused CSS

* PLT-4541 Force EditPostModal to resize upon opening

* Removed usage of jquery from AutosizeTextarea

* Reverted changes made for PLT-4580 as they're no longer needed
2016-11-04 12:35:38 -04:00
enahum
7403bbce69 PLT-4395 channel switcher autocomplete with any portion of channel name (#4441) 2016-11-04 12:28:23 -04:00
Mike Piccolo
dbdd719c51 PLT-4376 iOS and Android: Keep the keyboard open after sending a message (#4377)
* Force keyboard to retain focus on submitting post on mobile

* Fix lint error

* Allow keyboard to stay closed if the keyboard was closed earlier before submitting

* Increase delay time and add to comment

* Remove pass through props on suggestion box
2016-11-04 09:14:19 -04:00
George Goldberg
4476adf131 Channel link marker changed from ! to ~ (#4433)
Fixes PLT-4570
2016-11-03 15:26:00 -04:00