Facets 3.x - Exposed filters roadmap

Created on 26 October 2023, 8 months ago
Updated 17 May 2024, about 1 month ago

📌 Use native views for url generation when using exposed filter facets Fixed introduced a new way to place facets using exposed filters. Here are some follow-ups.

Roadmap

Todo/Work in progress

  • Use native views filters instead of facet entities, which has many advantages, see 📌 Rewrite facets exposed filters to be native views filters. Active
  • Support hierarchy. Patch in 📌 Support hierarchy in exposed filters Needs work
  • Support soft limit (contribute upstream to Better Exposed Filters).
  • Test/Support slider
  • Write documentation
  • Support clean raw values, similar to pretty paths. We will only replace the raw values, the url structure is still generated by views.
  • Show warning or link to documentation page to users when facet source is a view and they are not using the url processor "views_exposed_filters"
  • Hardcode facet widget "views_exposed_filter" when url processor is "views_exposed_filter" (for now, resaving each facet is required after switching the url processor to views_exposed_filters)
  • Check if we can support empty facet text
  • Add validation for the views filter and area plugin to ensure the basic config (e.g. facet id) is set when saving the view.

Document changes

  • No facet title anymore, configure your label in views
  • Using exposed filters WILL require retheming your facets, native form elements used now.
  • Document the new url processor workflow (maybe with a video?)
  • Document that there are 2 ways of placing facets in 3.x.

Document suggested contrib modules for features Facets provided in the past

  • Do you place facets (or any other filter/sort/pager from views) in various regions? Use configurable_views_filter_block
  • Do you need a summary of the current selection? use Views filters summary
  • Do you want ajax history trail in url? Use Views ajax history

Contrib/Core related todos

Remarks

  • Since facet sources focus on a specific views display, cloning a display does not work, as the facets for the cloned display will not exist for that display.
🌱 Plan
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium StryKaizer Belgium

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024