Support autocompletion of keywords - T1455
Open, Needs TriagePublic

Description

As a user that want to write a query using keywords
I can write a part of a word
In order to create valid query.

Scenario 1

Given i have a keyword list :

KEYWORD
read
receiver
from
date

When i write "f", the Keyword "from" appear and if i press enter.
Then the Keyword "from" is written.

Scenario 2

Given i have a keyword list :

KEYWORD
read
receiver
from
date

When i write "r", Keywords "read" and "receiver" appear and if i press enter.
Then the Keyword "read" is written.

Scenario 3

Given i have a keyword list :

KEYWORD
read
receiver
from
date

When i write "r", Keywords "read" and "receiver" appear, if i add "ec" only keyword "receiver" appear and if i press enter.
Then the Keyword "receiver" is written.

Related Objects

StatusAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
hrouis created this task.Mar 10 2016, 4:04 PM
hrouis renamed this task from Support autocompletion of keywords to Support autocompletion of keywords - T1455.
dvincens claimed this task.Mar 10 2016, 4:15 PM
dvincens updated the task description. (Show Details)
hrouis updated the task description. (Show Details)Mar 10 2016, 4:17 PM
hrouis added a subscriber: dvincens.
hrouis updated the task description. (Show Details)Mar 10 2016, 4:25 PM
grebois updated the task description. (Show Details)Mar 14 2016, 6:04 PM
grebois updated the task description. (Show Details)Mar 14 2016, 8:40 PM
grebois updated the task description. (Show Details)Mar 14 2016, 9:11 PM
grebois updated the task description. (Show Details)Mar 15 2016, 1:24 PM
grebois updated the task description. (Show Details)Mar 15 2016, 1:26 PM

Looks good!

grebois updated the task description. (Show Details)Mar 15 2016, 6:02 PM

I would make the autocompletion dependent to the number of potential results. The dropdown must not contain of hunderts of items so you get it only when the target might be easy to find. In the example it's good with the first letter, but in case of more than 20 options (to name an arbitrary number) it's better to expand only when two or more charcters are entered (and to have an explicite way to show the list of options by pressing F2, for example), and finally for the AND/OR/NOT combinations you could expand immediately.

grebois updated the task description. (Show Details)Mar 16 2016, 10:32 AM
grebois updated the task description. (Show Details)
grebois updated the task description. (Show Details)Mar 16 2016, 10:36 AM
grebois moved this task from Maturation to Ready on the KDE PIM: KMail board.Mar 18 2016, 6:22 PM
armenh removed dvincens as the assignee of this task.Mar 25 2016, 12:31 PM