Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Autocomplete based on string match anywhere in the task label #201

Open
natuk opened this issue Nov 20, 2020 · 1 comment
Open

Comments

@natuk
Copy link

natuk commented Nov 20, 2020

Current behaviour:
When entering a new task entry in the textfield, autocomplete only picks up matches if the typed string appears at the beginning of the string of an existing task label.

Requested behaviour:
When entering a new task entry in the textfield, autocomplete will pick up matches if the typed string appears anywhere in a string of an existing task label.

This makes finding the correct task label easier as a user may not recall how the label starts, but they may recall the it contains a word.

@mgedmin
Copy link
Member

mgedmin commented Nov 20, 2020

Yeah, I'm not happy with the way completions work currently. My primary beef is that it returns too many results; the prefix filtering was intended to reduce them to a more manageable list, but isn't working very well.

What I do is turn off GTK completion via dconf-editor and use prefix-completion via PageUp/PageDown, but that is clearly not the right answer.

The completion popup should be limited to maybe 10-20 best matches from what you've already entered, maybe using some kind of fuzzy completion and clever sorting (newer entries upfront, better matches upfront).

The only thing is, I'm not sure how to implement all this, or when I'll have the energy to experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants