Improve action/condition/trigger search

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
heilong
Posts: 77
Joined: 18 Oct 2016 15:20

Improve action/condition/trigger search

Post by heilong » 10 Nov 2016 23:12

In actions/conditions/triggers search, typing "init sys" searches for exact match of "init sys".
How about searching for items which match both "init" and "sys"? Or, since there are no actions/conditions/triggers that contain a comma, allow typing "init,sys" which will match "init" and "sys"?
Even better would be full-on fuzzy searching similar to fzf or levenshtein (used in dict.org dictionary), it would allow for some small typos.

P-chu
Posts: 32
Joined: 05 Nov 2016 19:12

Re: Improve action/condition/trigger search

Post by P-chu » 11 Nov 2016 00:38

+1

I think "init OR sys" with "OR" in caps might be a better way. Then it can also be used in searches of existing containers, which can include commas or even the "|" symbol in the titles.
P-chu

User avatar
heilong
Posts: 77
Joined: 18 Oct 2016 15:20

Re: Improve action/condition/trigger search

Post by heilong » 11 Nov 2016 01:03

Yeah but space OR space is a PITA to type... I'm not asking for a search query language, just a fuzzy search. In fuzzy search, most importance is put on ability to find what you want with least possible keystrokes.

Even in the case of existing containers having commas in their titles, I don't suppose somebody would search for a literal comma. So I still think space or comma is best. With `fzf` if you start search with a single quote, search is literal. Otherwise, it's fuzzy.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Improve action/condition/trigger search

Post by Martin » 15 Nov 2016 14:27

I'll extend the search/filter to search for all space delimited parts in the next EAP version so var lo will find actions Init Variable Location and Init Variables Call Log. init sys will find Init Variable System Setting. I think it's a good improvement without introducing complex code.

Regards,
Martin

User avatar
heilong
Posts: 77
Joined: 18 Oct 2016 15:20

Re: Improve action/condition/trigger search

Post by heilong » 15 Nov 2016 16:07

Sounds great!

Pepy
Posts: 76
Joined: 31 Oct 2018 10:53
Location: Canada

Re: Improve action/condition/trigger search

Post by Pepy » 22 Jun 2019 07:00

Martin wrote:
15 Nov 2016 14:27
I'll extend the search/filter to search for all space delimited parts in the next EAP version so var lo will find actions Init Variable Location and Init Variables Call Log. init sys will find Init Variable System Setting. I think it's a good improvement without introducing complex code.

Regards,
Martin
Could you add this for when searching for words in flow titles and descriptions as well? I find it especially annoying to search when there are special characters like hyphens, colons or even emojis included. Speaking of which, I don't think it's possible to search for emojis currently; if I were to put an emoji in between a word, searching up that exact term will result in nothing.
Hope my post was helpful :D
Device: OnePlus 5T running crDroid, rooted with Magisk 8-)

Locked