github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/483#issuecomment-495080591 | https://api.github.com/repos/simonw/datasette/issues/483 | 495080591 | MDEyOklzc3VlQ29tbWVudDQ5NTA4MDU5MQ== | 9599 | 2019-05-23T06:07:53Z | 2019-05-23T06:09:05Z | OWNER | As far as URL design goes... I'm going to stick with `?_facet_date=` for this and use the not-yet-fully-baked JSON alternative syntax. Probably something like this: ?_facet_date={"column":"created","interval":"month"} Where interval can be day (the default), month or year. And maybe week? Not sure about that. Still not sure what/if I should do about exposing these options in the UI. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
447408527 | |
https://github.com/simonw/datasette/issues/483#issuecomment-495080390 | https://api.github.com/repos/simonw/datasette/issues/483 | 495080390 | MDEyOklzc3VlQ29tbWVudDQ5NTA4MDM5MA== | 9599 | 2019-05-23T06:06:53Z | 2019-05-23T06:06:53Z | OWNER | Yes there's definitely something exciting to be done with location facets. The easiest one would be a radius-distance-from-a-point facet (5km, 10km etc). A more sophisticated thing might be possible on top of GeoJSON and SpatiaLite - that's probably something I would put in a plugin rather than shipping in Datasette itself. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
447408527 | |
https://github.com/simonw/datasette/issues/483#issuecomment-495032933 | https://api.github.com/repos/simonw/datasette/issues/483 | 495032933 | MDEyOklzc3VlQ29tbWVudDQ5NTAzMjkzMw== | 9599 | 2019-05-23T01:28:45Z | 2019-05-23T01:28:45Z | OWNER | Would this be useful for other facets? How many facet types are likely to have a small number of options that could be linked to in this way? | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
447408527 | |
https://github.com/simonw/datasette/issues/483#issuecomment-495032818 | https://api.github.com/repos/simonw/datasette/issues/483 | 495032818 | MDEyOklzc3VlQ29tbWVudDQ5NTAzMjgxOA== | 9599 | 2019-05-23T01:28:06Z | 2019-05-23T01:28:06Z | OWNER | Here's a UI concept: <img width="418" alt="fixtures__facetable__15_rows" src="https://user-images.githubusercontent.com/9599/58219350-551be500-7cbf-11e9-84ae-3b0386ae2063.png"> | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
447408527 |