hledger icon indicating copy to clipboard operation
hledger copied to clipboard

Fuzzy account search in the web UI

Open tgrosinger opened this issue 3 years ago • 2 comments

In the web UI, I need to type "Expenses:F" before the list is short enough to find and click on "Expenses:Food:Groceries". With a fuzzy search I could probably type "Groc" and then push enter.

This could be added with something like https://fusejs.io.

This is a project I have interest in, and may implement if I find the time. Just recording it here in case others have interest too.

tgrosinger avatar Jul 21 '22 17:07 tgrosinger

bafflingly, there doesn't seem to be an immediately good drop-in replacement for typeahead

but after some googling, the one that seems the closest is perhaps this one https://github.com/leeoniya/uFuzzy

annoyingly, it seems like it's a minor amount of work, as you need to build the drop-down suggestion list and highlighting yourself.

i'm going to try and take a go at least, but it might take me a while (least-of-all because i need to get a dev environment up and running.)

silky avatar Jul 18 '23 10:07 silky

Great, feel free to ping me in #hledger chat if you hit any bumps with setup, we want that to be easy.

simonmichael avatar Jul 19 '23 20:07 simonmichael