Closed idpaterson closed 10 years ago
A separate wl
keyword input currently provides the "Most recently used list" option, but in order to make autocompletion work nicely, that will need to be wrapped into the wl
script filter. When filtering lists it should appear at the bottom rather than the top, or possibly not at all.
These would eventually need to be merged for anyway for issue #3.
The implementation currently displays the "Most recently used list" option at the bottom. I think it may be better to remove it entirely because it seems to be a distraction while autocompleting. It's great if the user is just going to enter a task to add to the most recent list, but seems unnecessary during and after autocompletion.
This seems to be working quite well, I plan to do a beta testing release for the feature while I finish up the other miscellaneous issues in 0.2
Currently, the
wl
command requires the user to type the text of a task, then use the arrow keys to select the desired list. It would be preferable to use a suggestion pattern instead where the lists are filtered while typing, provided that the text matches a list name.Examples
Consider the following lists: Inbox, Starred, Today, Wishlist
List Autocompletion
wl
wl t
wl tod
tab
orreturn
key to autocompletewl Today:
wl Today:Finish presentation
return
to add the task to TodayList shortcut
wl
wl t
wl t:
wl t:Finish presentation
return
to add the task to TodayOnce the user has typed
:
all autocompletion will stop. Actioning a list causes the shortcut to be replaced with the index of the list it refers to, so that the existing input handling inaddTask()
does not need to change.The order of suggestions will probably just be based on the order in Wunderlist after filtering out non-matching lists. It would be more difficult to use if the same shortcut does not always work for a specific list, so Alfred's most-used ordering would not be appropriate.
Maintain original functionality
wl
wl W
wl Walk the dog
down arrow
to Todayreturn
to add the task to TodayIf the text does not match, show all lists and disable autocompletion.