Nothing uses this plugin hook yet, so the design is not yet proven. I'm going to build a real plugin against it and use that process to inform any design changes that may need to be made. I'll add a warning about this to the documentation.
Activity
Warn that register_facet_classes may change, refs #830
Release Datasette 0.44
simonw commentedon Nov 2, 2020
#427 had a bunch of ambitious plans for faceting that I haven't realized yet:
mroswell commentedon Apr 12, 2021
Related: #1285, including arguments for natural breaks, equal interval, etc. modeled after choropleth map legends.
simonw commentedon Dec 16, 2021
As of today, 16 December 2021, I'm still not seeing any evidence that anyone is using this hook (yet) according to GitHub code search: https://cs.github.com/?scopeName=All+repos&scope=&q=register_facet_classes%20-repo%3Asimonw%2Fdatasette
Fix for colliding facet types bug, closes #625