{"html_url": "https://github.com/simonw/datasette/issues/830#issuecomment-996151246", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/830", "id": 996151246, "node_id": "IC_kwDOBm6k_c47YA_O", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-16T19:58:22Z", "updated_at": "2021-12-16T19:58:22Z", "author_association": "OWNER", "body": "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", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 636511683, "label": "Redesign register_facet_classes plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/830#issuecomment-817414881", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/830", "id": 817414881, "node_id": "MDEyOklzc3VlQ29tbWVudDgxNzQxNDg4MQ==", "user": {"value": 192568, "label": "mroswell"}, "created_at": "2021-04-12T01:06:34Z", "updated_at": "2021-04-12T01:07:27Z", "author_association": "CONTRIBUTOR", "body": "Related: #1285, including arguments for natural breaks, equal interval, etc. modeled after choropleth map legends.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 636511683, "label": "Redesign register_facet_classes plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/830#issuecomment-720700065", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/830", "id": 720700065, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDcwMDA2NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:15:36Z", "updated_at": "2020-11-02T20:15:36Z", "author_association": "OWNER", "body": "#427 had a bunch of ambitious plans for faceting that I haven't realized yet:\r\n\r\n> Think of all of the potential kinds of facets:\r\n> \r\n> * `?_facet_array=tags` where tags is a JSON array of values\r\n> * `_facet_date=datetimecol` - faceted by date part of a datetime\r\n> * `_facet_bins=numeric_column` - can I do some kind of fancy binning here? Might need to take an argument\r\n> * `?_facet_bins=numeric_column:5` - could be a way to take an argument. We\u2019ll ignore columns with a : in their name.\r\n> * `?_facet_json=jsoncol:jsonpath` - could use a JSON path to extract out something to facet on?\r\n> * `?_facet_percentile=numericcolumn` - could this work?\r\n> * `?_facet_function=column:sqlfunctionname` - maybe this could be interesting? Would allow for e.g. facet by soundex\r\n> * `?_facet_prefix=column:prefix` - facet by terms but only if they start with a specific prefix\r\n> * `?_facet_substring=column:3,6` - facet by a substr(column, 3, 6)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 636511683, "label": "Redesign register_facet_classes plugin hook"}, "performed_via_github_app": null}