Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show counts beside typeahead filters #39

Closed
yochannah opened this Issue Jun 18, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@yochannah
Copy link
Collaborator

yochannah commented Jun 18, 2018

It would be nice to know how many of each result showing in my typeahead there are, similar to how organism works.

@yochannah yochannah added this to the Milestone 2 (July 9) milestone Jun 18, 2018

@AdrianBZG

This comment has been minimized.

Copy link
Owner

AdrianBZG commented Jun 18, 2018

@yochannah Do you know how to query for {name, count} with the same query?

@yochannah

This comment has been minimized.

Copy link
Collaborator Author

yochannah commented Jun 20, 2018

I nearly came back to you and said I couldn't do it, but then I realised we just needed to do a summary query. Here's a demo: https://yochannah.github.io/im-tables-examples/nameandcount.html let me know if it doesn't make sense!

@AdrianBZG

This comment has been minimized.

Copy link
Owner

AdrianBZG commented Jun 20, 2018

@yochannah Looks like I should be able to preprocess that summary response and associate the tuple {item,count} into a single string "item (count)" before feeding the typeahead, so it makes sense, thanks!

AdrianBZG added a commit that referenced this issue Jun 21, 2018

@AdrianBZG AdrianBZG closed this Jun 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.