3.x introduced a new way of creating Facets
We should create a demo module which incorporates all best practices, and can be run on simplytest.me
This demo should use all suggested contrib to create the best user experience.
Features which should be in the demo
- Facets on taxonomy fields, rendered as checkboxes
- Hierarchical date facet
- Hierarchical taxonomy facet
- Default content
- Ajax and views_ajax_history default enabled
- views summary for facets and search string
For now, let's focus on a demo for "Facets exposed filters"
We can always add a facet block demo later.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | enable-facets-demo-on-install.patch | 268 bytes | strykaizer |
Issue fork facets-3503603
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
strykaizerFeatures are ready in MR.
Awaiting input for simplytest.me before merging, as it does not show Facets 3.0 as an option at this moment.
Comment #4
strykaizerComment #7
gaurav.kapoor commentedSuggestion: Would be good if the package of this module can also be changed to 'Search' instead of 'Facets'. Making it easier to find and enable if needed.
Comment #8
strykaizerAdded a patch to use on simplytest.me
This patch is not intended to ever get committed ;)
Comment #9
strykaizerLooks like adding a patch in the url is not supported.
Created a new module to support singleclick simpletest.me facet demo sites, see https://www.drupal.org/project/demo_facets
Hope this will work, once simpletest.me picks up this module