git-bc icon indicating copy to clipboard operation
git-bc copied to clipboard

Instant search (filter list)

Open paoloantinori opened this issue 9 years ago • 5 comments

Hi, this addon is very handy. It would be even better if I could press a key like / and type a keyword and have the options filtered based on that.

paoloantinori avatar May 12 '15 07:05 paoloantinori

Yeah, it's a great idea, @zeachco might also be interested in following since he proposed the same thing :smile:

The trickiest part is how to plug the filtering functionality along with Inquirer.js (the node dependency that provides the interactive menu).

I'd be happy to review a contribution for that and might give it a try in the future if nobody else comes up with a PR first.

Thanks!

ruyadorno avatar May 12 '15 16:05 ruyadorno

Looked at it and I think inquirer is already working on an auto-complete feature (https://github.com/SBoudrias/Inquirer.js/issues/225) I also feel it would be a ore logical place to have it

zeachco avatar May 13 '15 02:05 zeachco

slowly getting there:

https://asciinema.org/a/2abz5r1f4sfsahhbl6161nc3f

paoloantinori avatar Jul 09 '15 12:07 paoloantinori

:+1: looking good!

ruyadorno avatar Jul 15 '15 14:07 ruyadorno

FYI I have a open PR for this now, feedback is wanted. https://github.com/SBoudrias/Inquirer.js/pull/265

mokkabonna avatar Jul 31 '15 13:07 mokkabonna