trafficcontrol icon indicating copy to clipboard operation
trafficcontrol copied to clipboard

Improve TP search query

Open jhg03a opened this issue 6 years ago • 5 comments

I'm primarily concerned with the server list, but similar considerations would apply elsewhere.

I'd like the ability to express more complex statements in the TP search box. Currently you get a substring whitelist across all visible fields. I'd like to be able to express things like NOT, AND, OR, and groups. As an additional consideration, being able to supply an optional attribute to each search tuple to specify on what fields it should apply would be nice. An over the top consideration would be regex support.

jhg03a avatar Aug 03 '18 15:08 jhg03a

This would tie into #2326, #2385, and #2568

jhg03a avatar Aug 03 '18 15:08 jhg03a

Also related #1796

jhg03a avatar Aug 03 '18 15:08 jhg03a

Also related #2630

jhg03a avatar Aug 03 '18 20:08 jhg03a

this is only actually fixed for the servers table of TP. not all of the other tables. reopening.

mitchell852 avatar Aug 03 '20 19:08 mitchell852

given that this request mentions tuples and regex, i would not consider it low effort @jhg03a :) also, TP (and TPv2) use a "data grid" component that comes with certain search capabilities at the column level. afaik adding to those capabilities is no small task but i could be wrong. @ocket8888 @shamrickus would know better.

also, TPv2 is going to add "fuzzy searching". i do recognize that better searching/filtering is very valuable to operators so we should consider what is possible.

mitchell852 avatar Jul 26 '22 16:07 mitchell852