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

menu/hierarchicalMenu: add a "All" entry #428

Closed
pixelastic opened this issue Nov 3, 2015 · 1 comment
Closed

menu/hierarchicalMenu: add a "All" entry #428

pixelastic opened this issue Nov 3, 2015 · 1 comment

Comments

@pixelastic
Copy link
Contributor

pixelastic commented Nov 3, 2015

We should add a showAll fake facet value.

image

This could be a showAll flag (along with templates.showAll and labels.showAll)

search.addWidget(
  instantsearch.widgets.menu({
    container: '#menu',
    facetName: 'categories',
    showAll: true,
    labels: {
      showAll: 'All'
    },
    cssClasses: {
      showAll: 'show-all'
    },
    templates: {
      showAll: '...'
    }
  })
);
@vvo vvo modified the milestone: next Jan 6, 2016
@vvo vvo added V2 and removed feature labels Jun 8, 2016
@vvo vvo changed the title menu: Add a "All" + count (blog-like) menu/hierarchicalMenu: add a "All" entry Jun 8, 2016
@vvo vvo added hierarchicalMenu and removed V2 labels Jun 10, 2016
@vvo
Copy link
Contributor

vvo commented Oct 21, 2016

doable in react-instantsearch, will be added in IS V2

@vvo vvo closed this as completed Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants