{"html_url": "https://github.com/simonw/datasette/issues/838#issuecomment-720354227", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/838", "id": 720354227, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDM1NDIyNw==", "user": {"value": 82988, "label": "psychemedia"}, "created_at": "2020-11-02T09:33:58Z", "updated_at": "2020-11-02T09:33:58Z", "author_association": "CONTRIBUTOR", "body": "Thanks; just a note that the `datasette.urls.static(path)` and `datasette.urls.static_plugins(plugin_name, path)` items both seem to be repeated and appear in the docs twice?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 637395097, "label": "Incorrect URLs when served behind a proxy with base_url set"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1077#issuecomment-720654925", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1077", "id": 720654925, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY1NDkyNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T18:43:25Z", "updated_at": "2020-11-02T18:43:25Z", "author_association": "OWNER", "body": "Demo: https://latest.datasette.io/fixtures?_bot=1", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 733829385, "label": "database_actions plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/596#issuecomment-720689653", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/596", "id": 720689653, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY4OTY1Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T19:53:36Z", "updated_at": "2020-11-02T19:53:47Z", "author_association": "OWNER", "body": "In #998 I implemented a horizontal scrollbar for these tables, which is a big improvement - demo here: https://global-power-plants.datasettes.com/global-power-plants/global-power-plants", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 507454958, "label": "Handle really wide tables better"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1080#issuecomment-720695174", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1080", "id": 720695174, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY5NTE3NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:05:26Z", "updated_at": "2020-11-02T20:05:26Z", "author_association": "OWNER", "body": "URL design:\r\n\r\n`/database/table/-/facet/colname`\r\n\r\nAnd for other types of facet (to be supported later):\r\n\r\n`/database/table/-/facet/colname?_type=m2m`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 734777631, "label": "\"View all\" option for facets, to provide a (paginated) list of ALL of the facet counts plus a link to view them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1080#issuecomment-720696827", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1080", "id": 720696827, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY5NjgyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:08:49Z", "updated_at": "2020-11-02T20:13:56Z", "author_association": "OWNER", "body": "Implementing pagination for facets will be interesting. Would be easier if I had a nicer reusable internal pagination mechanism, which is also needed for #856 (pagination of canned queries).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 734777631, "label": "\"View all\" option for facets, to provide a (paginated) list of ALL of the facet counts plus a link to view them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1080#issuecomment-720697226", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1080", "id": 720697226, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY5NzIyNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:09:38Z", "updated_at": "2020-11-02T20:09:38Z", "author_association": "OWNER", "body": "Maybe this ends up being code that defers to a simulated canned query, rendered using the existing `query.html` template.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 734777631, "label": "\"View all\" option for facets, to provide a (paginated) list of ALL of the facet counts plus a link to view them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1080#issuecomment-720698577", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1080", "id": 720698577, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY5ODU3Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:12:26Z", "updated_at": "2020-11-02T20:12:26Z", "author_association": "OWNER", "body": "For regular column faceting, here's the query that is used:\r\n\r\nhttps://github.com/simonw/datasette/blob/13d1228d80c91d382a05b1a9549ed02c300ef851/datasette/facets.py#L196-L204\r\n\r\nSince it uses `order by count desc, value` maybe those values could be used to implement cursor-based pagination.\r\n\r\nThat wouldn't be robust in the face of changing data, but I'm not sure it's possible to implement paginated faceting in a way that survives ongoing changes to the underlying data.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 734777631, "label": "\"View all\" option for facets, to provide a (paginated) list of ALL of the facet counts plus a link to view them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1080#issuecomment-720699160", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1080", "id": 720699160, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDY5OTE2MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T20:13:42Z", "updated_at": "2020-11-02T20:13:42Z", "author_association": "OWNER", "body": "Also relevant to this issue: #830 - redesigning the facet plugin hook in preparation for Datasette 1.0. And #972 supporting faceting against arbitrary queries.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 734777631, "label": "\"View all\" option for facets, to provide a (paginated) list of ALL of the facet counts plus a link to view them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1077#issuecomment-720637322", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1077", "id": 720637322, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDYzNzMyMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-02T18:09:17Z", "updated_at": "2020-11-02T18:09:17Z", "author_association": "OWNER", "body": "Here's the `table_actions` implementation: 2f7731e9e5ff9b324beb5039fbe2be55d704a184", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 733829385, "label": "database_actions plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/596#issuecomment-720741903", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/596", "id": 720741903, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDc0MTkwMw==", "user": {"value": 132978, "label": "terrycojones"}, "created_at": "2020-11-02T21:44:45Z", "updated_at": "2020-11-02T21:44:45Z", "author_association": "NONE", "body": "Hi & thanks for the note @simonw! I wish I had more time to play with (and contribute to) datasette. I know you don't need me to tell you that it's super cool :-)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 507454958, "label": "Handle really wide tables better"}, "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}