Make it configurable after how many chars suggestions are provided
Suggestions for reviewers, accounts, account groups and projects are provided to the user as soon as he starts typing. On systems with many accounts, account groups and projects providing suggestions may be expensive, especially for short query strings. Suggestions for very short query strings are often not very useful for the user because the list of suggestions is too big. Normally useful suggestions are only provided if the user has typed a certain number of character that is sufficient to limit the suggestions to a reasonable set. In this case it makes sense to show suggestions only if the user has typed a least a certain number of characters. Allow administrators to configure after how many typed characters suggestions should be provided. By default suggestions will always be provided. Change-Id: I66bc9eeee9e1f67063fcb21dca5e2c76b20e7187 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -2288,6 +2288,13 @@ otherwise, this value applies to both `suggest.accounts` and
|
||||
New configurations should prefer the boolean value for this field
|
||||
and an enum value for `accounts.visibility`.
|
||||
|
||||
[[suggest.from]]suggest.from::
|
||||
+
|
||||
The number of characters that a user must have typed before suggestions
|
||||
are provided. If set to 0, suggestions are always provided.
|
||||
+
|
||||
By default 0.
|
||||
|
||||
[[theme]] Section theme
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user