summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion
Commit message (Collapse)AuthorAgeFilesLines
* Increase timeout on suggestion clear after blur (#5631)Joram Wilander2017-03-041-1/+1
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Use consistent Display Name sorting code throughout the webapp #5159 (#5213)Saturnino Abril2017-01-312-17/+9
| | | | | | * Use consistent Display Name sorting code throughout the webapp #5159 * fixed broken sorting of teams and channels
* Fixed ChannelMentionProvider matching completed mentions (#5188)Harrison Healey2017-01-252-56/+72
|
* Fixed channel mention autocomplete to not match completed mentions (#5101)Harrison Healey2017-01-201-0/+12
|
* Added support for emojis with multiple aliases to autocomplete (#5097)Harrison Healey2017-01-171-7/+16
|
* Clear mention autocomplete if there is no regex match (#5085)Joram Wilander2017-01-161-0/+3
|
* Merge branch 'release-3.6'Christopher Speller2017-01-121-0/+5
|\
| * Fixed onBlur being called when not given as a prop (#5024)Harrison Healey2017-01-091-1/+4
| |
| * PLT-5179 - Fixing modal overflow for autocomplete (#5002)Asaad Mahmood2017-01-091-0/+2
| | | | | | | | | | | | * PLT-5179 - Fixing modal overflow for autocomplete * PLT-5171 - Fixing search bar popover behaviour
* | PLT-5118 moving to last_picture_update for the profile img (#4985)Corey Hulen2017-01-063-3/+3
|/
* PLT-5027: Don't show own user in auto-complete list. (#4916)Hayden Chudy2016-12-301-1/+7
|
* Only show emoji autocomplete after two typed characters (#4895)Joram Wilander2016-12-261-5/+6
|
* PLT-4893 remove channel handler in channel switcher (#4889)enahum2016-12-261-7/+1
|
* Remove race between multiple autocomplete requests (#4860)Joram Wilander2016-12-217-13/+70
|
* Remove autocomplete delay (#4819)Joram Wilander2016-12-205-270/+177
|
* Changed SuggestionBox to clear suggestions shortly after losing focus (#4721)Harrison Healey2016-12-093-32/+21
|
* PLT-4894 channel switcher (CTRL+K) to match message autocomplete (#4733)enahum2016-12-082-6/+37
| | | | | | * PLT-4894 Change name display of direct messages in channel switcher (CTRL+K) to match message autocomplete * Addressing feedback
* Removed duplicated characters when autocompleting composed characters (#4734)Harrison Healey2016-12-081-10/+29
|
* Multiple UI Improvements (#4712)Asaad Mahmood2016-12-061-0/+2
| | | | | | * Multiple UI Improvements * Reverting modal animation
* Added support for autocompleting at mentions for users with non-alphanumeric ↵Harrison Healey2016-12-062-17/+31
| | | | names (#4717)
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 :+1: and :-1: 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
* PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)Joram Wilander2016-11-291-4/+3
| | | | | | * Add autocomplete API for system-wide users * Update channel switcher to autocomplete all users on the system
* Fix some react natives warning messages (#4653)enahum2016-11-281-1/+3
|
* PLT-4403 Add server-based channel autocomplete, search and paging (#4585)Joram Wilander2016-11-242-98/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Cleared at mention suggestions when something invalid is typed (#4633)Harrison Healey2016-11-221-2/+19
|
* Deleted posts now update in search results and flagged posts (#4618)Joram Wilander2016-11-221-1/+2
|
* Updating eslint (#4573)Christopher Speller2016-11-171-1/+1
|
* PLT-4600 Properly clear autocomplete suggestions when suggestions are out of ↵Harrison Healey2016-11-101-4/+9
| | | | | | | | date (#4529) * PLT-4600 Better clear autocomplete suggestions when suggestions are out of date * Fixed react warnings and removed an eslint ignore
* PLT-4459 Fixed not being able to scroll on mobile after autocomplete is ↵Harrison Healey2016-11-042-9/+8
| | | | | | | | shown (#4464) * Fixed not being able to scroll on mobile after autocomplete is shown * Fixed SuggestionLists not being scrollable on iOS
* PLT-4404/PLT-4578/PLT-4541/PLT-4542 Replaced third party autosizing textarea ↵Harrison Healey2016-11-041-22/+34
| | | | | | | | | | | | | | | | 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
* PLT-4395 channel switcher autocomplete with any portion of channel name (#4441)enahum2016-11-041-1/+1
|
* PLT-4376 iOS and Android: Keep the keyboard open after sending a message (#4377)Mike Piccolo2016-11-041-0/+1
| | | | | | | | | | | | * 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
* Channel link marker changed from ! to ~ (#4433)George Goldberg2016-11-031-3/+3
| | | Fixes PLT-4570
* PLT-4098 Don't show @mention suggestions if word chars immediately precede ↵Thomas Hopkins2016-11-021-2/+2
| | | | | | | | at sign (#4399) * PLT-4098 Don't show @mention suggestions if word chars immediately precede at sign * PLT-4098 Simplify detection of word chars preceding @mentions
* Updating shift UI changes (#4326)Asaad Mahmood2016-10-271-1/+1
| | | | | | | | * Updating shift UI changes * Adding border to last account settings item * Fixing modals
* Fixed autocomplete to work with TextareaAutosize (#4325)Harrison Healey2016-10-251-2/+2
|
* PLT-4404 Replace calls to onInput with onChange to better support IE11 (#4315)Harrison Healey2016-10-251-12/+12
| | | | | | * Replace calls to onInput with onChange to better support IE11 * Replaced react-textarea-autosize with react-autosize-textarea
* Save profiles for channel switcher autocomplete to fix switching to new DMs ↵Joram Wilander2016-10-241-0/+14
| | | | (#4313)
* Clear emoji suggestion list if there no matches (#4290)Joram Wilander2016-10-211-1/+1
|
* Fix autocomplete for old mechanisms and add partial fix for channel switcher ↵Joram Wilander2016-10-204-39/+69
| | | | (#4279)
* Merging performance branch into master (#4268)Joram Wilander2016-10-194-102/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* Made SuggestionBox take back keyboard focus after the user clicks on a ↵Harrison Healey2016-09-281-0/+2
| | | | suggestion (#4112)
* Updating ESLint (#4085)Christopher Speller2016-09-234-7/+7
|
* PLT-4182 Fix incorrect listing for at-mention in comment (#4031)Yi EungJun2016-09-191-7/+13
| | | | | | | | | | * Add missing eol * PLT-4182 Fix incorrect listing for at-mention in comment Suggestion box for at-mention listed users for the center channel even if the current textbox is for reply for a post which belongs to a different channel.
* PLT-1759 - Auto-complete for !channels when posting messages. (#3890)George Goldberg2016-09-191-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Auto-complete for !channels when posting messages. This is part 1 of the fix for PLT-1759 to make channels linkable. Still to do: - Make the !channels clickable when they appear in messages. This is blocked until PR #3865 is resolved as it looks like that refactors some of the code that would be touched by making this change. - Unit tests. Again, I think the above referenced PR should be merged before tackling this. * Fix style problems. * Highlighting of !channel-names in messages. This only identifies the !channel-name (not the display name). The implementation of the auto-complete on channel names now needs to be modified to convert to the channel handle before sending the message. * Display !channel-name as !Display Name. When we encounter !channel-name in a message, display it as a link using the channel's actual name rather than it's handle (name). * Match on names and display name, and use name. * Autocomplete channels matching on both the name and the the display name. * Use the name as the text we fill in instead of the display name. It's potentially a bit ugly, but it minimises complexity for now as otherwise we'd have to do complicated things to the message box. * Fix style issues. * Load more channels everywhere. Whenever we load the list of channels, we should also load the list of more channels. This is to enable auto-completing and auto-linking of all channels whether or not the user is in them currently. * Include more channels in the map for linking. * Listen for channel list updates for autolinking. * Remove accidental console.log. * Autocomplete on more channels too. * i18n for channel autocomplete. * Link directly to channels in !channel mentions. This currently does not work if you aren't a member of that channel. Need to decide what the correct behaviour is in that case. * Fix style issues. * Show channel name and handle in suggestion. * Match channels only at start or after space. * Better matching in text-formatting. Only match channels after a space-type character or at the start in the posts list too. * Move the route construction to make tests work. Moves route-construction out of text_formatting.jsx and into utils.jsx so that the unit tests work once again.
* Made search autocomplete for channels and users case insensitive (#3965)Harrison Healey2016-09-122-2/+2
|
* PLT-4100 Made SuggestionList dividers optional (#3990)Harrison Healey2016-09-083-17/+15
| | | | | | * Made SuggestionList dividers optional * Stopped mutating the User object in the AtMentionProvider
* Slash command in uppercase shows autocomplete (#3840)Ryan Wang2016-08-221-1/+1
|
* Change ordering of at-mention suggestions (#3698)Yi EungJun2016-08-112-39/+92
| | | List members in the current channel first.