b79cd205a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Support autocompleting Communities  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2018-06-19 11:52:48 +01:00  
				
					
						
							
							
								 
						
							
							
								a50f6094cc 
								
									
								
							
								 
							
						 
						
							
							
								
								allow `/` + wait to also show all commands  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2018-06-16 16:44:13 +01:00  
				
					
						
							
							
								 
						
							
							
								f152ad84b8 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve CommandProvider for Autocomplete  
							
							... 
							
							
							
							improve Regexp so it leaves autocomplete up whilst typing arguments
improve completion so it doesn't discard your arguments on-hover
add a way to list all commands by using `/<TAB>`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2018-06-16 16:40:44 +01:00  
				
					
						
							
							
								 
						
							
							
								a3c407992b 
								
							
								 
							
						 
						
							
							
								
								Don't autocomplete users for single "@"  
							
							
							
						 
						
							2018-04-24 13:59:18 +01:00  
				
					
						
							
							
								 
						
							
							
								8342f441df 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1778  from matrix-org/t3chguy/devtools_autocomplete  
							
							... 
							
							
							
							Add /devtools to Autocomplete and run gen-i18n 
							
						 
						
							2018-03-22 09:54:26 +00:00  
				
					
						
							
							
								 
						
							
							
								9df5638c8e 
								
									
								
							
								 
							
						 
						
							
							
								
								make linter happy - add missing trailing comma  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2018-03-21 11:00:07 +00:00  
				
					
						
							
							
								 
						
							
							
								7ac583bc96 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1800  from ma1uta/develop  
							
							... 
							
							
							
							Enable autocompletion for non-English languages. 
							
						 
						
							2018-03-20 10:39:20 +00:00  
				
					
						
							
							
								 
						
							
							
								b68da579f0 
								
							
								 
							
						 
						
							
							
								
								don't crash on missing room members  
							
							
							
						 
						
							2018-03-16 01:21:52 +00:00  
				
					
						
							
							
								 
						
							
							
								953a520f38 
								
							
								 
							
						 
						
							
							
								
								Enable autocompletion for non-English languages.  
							
							
							
						 
						
							2018-03-14 00:33:19 +03:00  
				
					
						
							
							
								 
						
							
							
								03676a68ac 
								
									
								
							
								 
							
						 
						
							
							
								
								Add /devtools to Autocomplete and run gen-i18n  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2018-02-28 00:57:14 +00:00  
				
					
						
							
							
								 
						
							
							
								c5da1015fe 
								
							
								 
							
						 
						
							
							
								
								Do not truncate autocompleted users in composer  
							
							... 
							
							
							
							so that disambiguation is possible at a glance.
Fixes https://github.com/vector-im/riot-web/issues/6024  
							
						 
						
							2018-02-08 17:47:36 +00:00  
				
					
						
							
							
								 
						
							
							
								1bc9d344ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/nvl/rich_quoting  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
# Conflicts:
#	src/components/views/messages/TextualBody.js 
							
						 
						
							2018-01-10 11:54:58 +00:00  
				
					
						
							
							
								 
						
							
							
								35780f5ae0 
								
							
								 
							
						 
						
							
							
								
								Remove use of deprecated React.PropTypes  
							
							... 
							
							
							
							Replace all uses of React.PropTypes with PropTypes and importing PropTypes from
'prop-types'. 
							
						 
						
							2017-12-26 14:03:18 +13:00  
				
					
						
							
							
								 
						
							
							
								5c229b9ef8 
								
									
								
							
								 
							
						 
						
							
							
								
								DRY matrix.to link generation so it is all changeable in one class  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2017-12-12 23:33:40 +00:00  
				
					
						
							
							
								 
						
							
							
								c23a3fd7fe 
								
							
								 
							
						 
						
							
							
								
								Add some null checks  
							
							
							
						 
						
							2017-12-05 11:14:55 +00:00  
				
					
						
							
							
								 
						
							
							
								dad797d4a2 
								
							
								 
							
						 
						
							
							
								
								Run linting --fix  
							
							
							
						 
						
							2017-11-16 13:19:36 +00:00  
				
					
						
							
							
								 
						
							
							
								289b0c2b6a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into travis/granular-settings  
							
							
							
						 
						
							2017-11-07 14:55:12 -07:00  
				
					
						
							
							
								 
						
							
							
								41e7496ff1 
								
							
								 
							
						 
						
							
							
								
								unused var  
							
							
							
						 
						
							2017-11-06 15:25:25 +00:00  
				
					
						
							
							
								 
						
							
							
								893c39bfbe 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into travis/granular-settings  
							
							
							
						 
						
							2017-11-03 22:00:07 -06:00  
				
					
						
							
							
								 
						
							
							
								112c74a255 
								
							
								 
							
						 
						
							
							
								
								Add NotifProvider to offer @room as a completion  
							
							
							
						 
						
							2017-11-02 18:54:25 +00:00  
				
					
						
							
							
								 
						
							
							
								6ad4bb80dd 
								
							
								 
							
						 
						
							
							
								
								==  
							
							
							
						 
						
							2017-11-02 18:14:46 +00:00  
				
					
						
							
							
								 
						
							
							
								3b58f0ca2a 
								
							
								 
							
						 
						
							
							
								
								Ignore removed events  
							
							
							
						 
						
							2017-11-02 18:14:21 +00:00  
				
					
						
							
							
								 
						
							
							
								ee43c635d1 
								
							
								 
							
						 
						
							
							
								
								phrasing  
							
							
							
						 
						
							2017-11-02 18:11:18 +00:00  
				
					
						
							
							
								 
						
							
							
								42589281d1 
								
							
								 
							
						 
						
							
							
								
								comment stub method  
							
							
							
						 
						
							2017-11-02 18:10:13 +00:00  
				
					
						
							
							
								 
						
							
							
								f7201e8dee 
								
							
								 
							
						 
						
							
							
								
								Revert unintentional changes  
							
							
							
						 
						
							2017-11-02 18:08:24 +00:00  
				
					
						
							
							
								 
						
							
							
								498b117d5a 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2017-11-02 18:01:28 +00:00  
				
					
						
							
							
								 
						
							
							
								4953d4de4d 
								
							
								 
							
						 
						
							
							
								
								Give autocomplete providers the room they're in  
							
							... 
							
							
							
							Removes the gut-wrenching that RoomView does to jam the user list
into the user autocomplete provider. 
							
						 
						
							2017-11-02 17:51:08 +00:00  
				
					
						
							
							
								 
						
							
							
								ae10a11ac4 
								
							
								 
							
						 
						
							
							
								
								Convert synced settings to granular settings  
							
							... 
							
							
							
							Signed-off-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2017-10-29 01:43:52 -06:00  
				
					
						
							
							
								 
						
							
							
								d3f9a3aeb5 
								
							
								 
							
						 
						
							
							
								
								Run eslint --fix  
							
							... 
							
							
							
							Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase. 
							
						 
						
							2017-10-11 17:56:17 +01:00  
				
					
						
							
							
								 
						
							
							
								a96169e80e 
								
							
								 
							
						 
						
							
							
								
								Fix merge conflict  
							
							
							
						 
						
							2017-10-02 17:57:22 +02:00  
				
					
						
							
							
								 
						
							
							
								6b9a2909df 
								
							
								 
							
						 
						
							
							
								
								Add rule to enforce spacing in curly brackets in JSX children  
							
							... 
							
							
							
							This required an updated in version of eslint-plugin-react to 7.4.0. 
							
						 
						
							2017-09-28 11:21:06 +01:00  
				
					
						
							
							
								 
						
							
							
								d4929b558e 
								
							
								 
							
						 
						
							
							
								
								Add dummy translation function to mark translatable strings  
							
							... 
							
							
							
							Signed-off-by: Stefan Parviainen <pafcu@iki.fi> 
							
						 
						
							2017-09-22 21:43:27 +02:00  
				
					
						
							
							
								 
						
							
							
								11f6c8cf53 
								
							
								 
							
						 
						
							
							
								
								Fix null pointer  
							
							... 
							
							
							
							Check if users is null, not the room 
							
						 
						
							2017-09-22 16:56:26 +01:00  
				
					
						
							
							
								 
						
							
							
								02894ee906 
								
							
								 
							
						 
						
							
							
								
								Experimental: Lazy load user autocomplete entries  
							
							... 
							
							
							
							Loading the users into the autocomplete provider is quite a large
chunk of work for a large room. Try lazy loading it the first time
a completion is done rather than up front when the room is loaded,
given that a lot of the time you switch to a room you won't say
anything. 
							
						 
						
							2017-09-22 14:31:29 +01:00  
				
					
						
							
							
								 
						
							
							
								6a53b7b149 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1389  from turt2live/travis/ignored_users  
							
							... 
							
							
							
							Add ignore user API support 
							
						 
						
							2017-09-17 22:05:02 +01:00  
				
					
						
							
							
								 
						
							
							
								b2de016b35 
								
							
								 
							
						 
						
							
							
								
								Add option to disable Emoji suggestions  
							
							... 
							
							
							
							Signed-off-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2017-09-14 21:28:12 -06:00  
				
					
						
							
							
								 
						
							
							
								0363f73e28 
								
							
								 
							
						 
						
							
							
								
								Fix the MessagePanel test  
							
							... 
							
							
							
							Signed-off-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2017-09-14 20:57:28 -06:00  
				
					
						
							
							
								 
						
							
							
								3c71898237 
								
							
								 
							
						 
						
							
							
								
								Add /(un)ignore to autocomplete  
							
							... 
							
							
							
							Signed-off-by: Travis Ralston <travpc@gmail.com> 
							
						 
						
							2017-09-14 20:30:40 -06:00  
				
					
						
							
							
								 
						
							
							
								5b1467a4c9 
								
							
								 
							
						 
						
							
							
								
								Allow autocompletion when typing user IDs  
							
							... 
							
							
							
							Because we need to support tab completing `"@some_user"` if `@some_user` has a display name that is totally different and will therefore not match what the user typed in.
This does have the disadvantage of a display name appearing (the pill) that isn't at all what the user typed in, but the autocomplete box and the tooltip should give enough information to let the user know what's going on. (e.g. typing `@kyr*tab*` and getting `Remmy`).
This _does_ run contrary to vector-im/riot-web#4495 
related to vector-im/riot-web#4794 
cc @lampholder 
							
						 
						
							2017-08-15 14:08:26 +01:00  
				
					
						
							
							
								 
						
							
							
								610b2a3a42 
								
							
								 
							
						 
						
							
							
								
								For mentions, always use rawDisplayName and remove (IRC)  
							
							
							
						 
						
							2017-08-09 10:40:06 +01:00  
				
					
						
							
							
								 
						
							
							
								a72f38799f 
								
							
								 
							
						 
						
							
							
								
								Disable autocompletions for users and rooms when entering a command  
							
							... 
							
							
							
							This only affects commands that take a room alias or user ID as an argument. (Leaving commands such as `/me` unaffected) 
							
						 
						
							2017-08-08 15:58:15 +01:00  
				
					
						
							
							
								 
						
							
							
								1743c047bd 
								
							
								 
							
						 
						
							
							
								
								Use the rawDisplayName for the user provider completion  
							
							... 
							
							
							
							to make sure that the length of text in the decoration (See <Pill>) is equal to the length of text in the completion (underlying text range that the Entity covers). 
							
						 
						
							2017-08-08 10:28:11 +01:00  
				
					
						
							
							
								 
						
							
							
								72c1cf9288 
								
							
								 
							
						 
						
							
							
								
								When sorting completions, use matched string, not entire query  
							
							... 
							
							
							
							Otherwise the results vary depending on where you start autocompleting in your message. We only care about the matched string. 
							
						 
						
							2017-08-02 10:09:00 +01:00  
				
					
						
							
							
								 
						
							
							
								dbade448c1 
								
							
								 
							
						 
						
							
							
								
								Don't try to match query against roomId  
							
							... 
							
							
							
							We only care about aliases. 
							
						 
						
							2017-08-02 09:40:00 +01:00  
				
					
						
							
							
								 
						
							
							
								8053d2933a 
								
							
								 
							
						 
						
							
							
								
								Order room completions more intuitively  
							
							... 
							
							
							
							by index of the query in displayedAlias and then length of displayedAlias. (So that aliases where the query appears earlier in the string appear first and if the query is in the same index for two aliases, the shorter one appears first). 
							
						 
						
							2017-08-02 09:35:07 +01:00  
				
					
						
							
							
								 
						
							
							
								ff95542549 
								
							
								 
							
						 
						
							
							
								
								Adjust emoji sorting such that exact matches/prefixes appear first  
							
							... 
							
							
							
							fixes https://github.com/vector-im/riot-web/issues/4704  
							
						 
						
							2017-08-01 17:36:41 +01:00  
				
					
						
							
							
								 
						
							
							
								6d7bff83ca 
								
							
								 
							
						 
						
							
							
								
								Update type Completion  
							
							
							
						 
						
							2017-07-20 16:49:23 +01:00  
				
					
						
							
							
								 
						
							
							
								84fe51a162 
								
							
								 
							
						 
						
							
							
								
								Insert MD links when autocompleting in MD mode  
							
							... 
							
							
							
							These will appear decorated because they are inserted as entities. It was necessary to modify pills to have an explicit linkText that is derived from the `href` being pillified (and is thus no longer the inserted completion but rather the display name (or user ID) or room alias. 
							
						 
						
							2017-07-20 15:09:59 +01:00  
				
					
						
							
							
								 
						
							
							
								199b771051 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1237  from matrix-org/luke/fix-rte-colon-parity  
							
							... 
							
							
							
							Implement old composer feature that inserts ': ' or ' ' 
							
						 
						
							2017-07-20 13:05:40 +01:00  
				
					
						
							
							
								 
						
							
							
								0185119146 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1236  from matrix-org/luke/fix-rte-emoji-match-by-name  
							
							... 
							
							
							
							Match emojis by long name 
							
						 
						
							2017-07-20 11:53:41 +01:00