Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: Typeahead search should consider all values when linked to multiple fields #7168
Trying out the new search box. Awesome job!
TLDR - A dashboard filter hooked up to more than one distinct field will loose type ahead.
I have noticed that when a dashboard level filter is hooked up to multiple cards where these cards filter similar data but with different underlying fields the search box defaults to being a normal input entry box. I can understand why as type ahead was envisioned to work against a particular field. The problem is when there are multiple fields that represent the same set of data.
I propose that when a typeahead search references multiple fields a distinct union of the possible values across the fields.
Example 1 (Same data set):
Typeahead would present A, B, C as possible values
Example 2 (Different data set):
The current work around is to do a join such that all cards use the same underlying table when filtering. So in example 1 the V1 would join to the table and filter on T1.N. In example 2 a left join could be used from T3 to T2 on N and then filtering could be done on T2.N.
Browser: Chrome 64.0.3282.119