{"html_url": "https://github.com/simonw/datasette/issues/228#issuecomment-382924910", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/228", "id": 382924910, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MjkyNDkxMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T00:35:48Z", "updated_at": "2018-04-20T00:35:48Z", "author_association": "OWNER", "body": "Hiding tables with the `idx_` prefix should be good enough here, since false positives aren't very harmful.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316031566, "label": "If spatialite detected, mark idx_XXX_Geometry tables as hidden"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/227#issuecomment-382958693", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/227", "id": 382958693, "node_id": "MDEyOklzc3VlQ29tbWVudDM4Mjk1ODY5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T03:15:52Z", "updated_at": "2018-04-20T03:15:52Z", "author_association": "OWNER", "body": "A better way to do this would be with many different plugin hooks, one for each view.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 315960272, "label": "prepare_context() plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/227#issuecomment-382959857", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/227", "id": 382959857, "node_id": "MDEyOklzc3VlQ29tbWVudDM4Mjk1OTg1Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T03:21:43Z", "updated_at": "2018-04-20T03:21:43Z", "author_association": "OWNER", "body": "Plus a generic prepare_context() hook called in the common render method.\r\n\r\nprepare_context_table(), prepare_context_row() etc\r\n\r\nArguments are context, request, self (hence can access self.ds)\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 315960272, "label": "prepare_context() plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/227#issuecomment-382964794", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/227", "id": 382964794, "node_id": "MDEyOklzc3VlQ29tbWVudDM4Mjk2NDc5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T03:45:18Z", "updated_at": "2018-04-20T03:45:18Z", "author_association": "OWNER", "body": "What if the context needs to make await calls?\r\n\r\nOne possible option: plugins can either manipulate the context in place OR they can return an awaitable. If they do that, the caller will await it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 315960272, "label": "prepare_context() plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/227#issuecomment-382966604", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/227", "id": 382966604, "node_id": "MDEyOklzc3VlQ29tbWVudDM4Mjk2NjYwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T03:54:56Z", "updated_at": "2018-04-20T03:54:56Z", "author_association": "OWNER", "body": "Should this differentiate between preparing the data to be sent back as JSON and preparing the context for the template?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 315960272, "label": "prepare_context() plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/227#issuecomment-382967238", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/227", "id": 382967238, "node_id": "MDEyOklzc3VlQ29tbWVudDM4Mjk2NzIzOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T03:58:09Z", "updated_at": "2018-04-20T03:58:09Z", "author_association": "OWNER", "body": "Maybe prepare_table_data() vs prepare_table_context()", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 315960272, "label": "prepare_context() plugin hook"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/230#issuecomment-383109984", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/230", "id": 383109984, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzEwOTk4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T14:15:39Z", "updated_at": "2018-04-20T14:15:39Z", "author_association": "OWNER", "body": "Refs #229", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316128955, "label": "Setting page size AND max returned rows to 1000 doesn't seem to work"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/14#issuecomment-383139889", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/14", "id": 383139889, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzEzOTg4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T15:51:47Z", "updated_at": "2018-04-20T15:51:47Z", "author_association": "OWNER", "body": "I released everything we have so far in [Datasette 0.20](https://github.com/simonw/datasette/releases/tag/0.20) and built and released an example plugin, [datasette-cluster-map](https://pypi.org/project/datasette-cluster-map/). Here's my blog entry about it: https://simonwillison.net/2018/Apr/20/datasette-plugins/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267707940, "label": "Datasette Plugins"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/14#issuecomment-383140111", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/14", "id": 383140111, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzE0MDExMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-20T15:52:33Z", "updated_at": "2018-04-20T15:52:33Z", "author_association": "OWNER", "body": "Here's a link demonstrating my new plugin: https://datasette-cluster-map-demo.now.sh/polar-bears-455fe3a/USGS_WC_eartags_output_files_2009-2011-Status", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267707940, "label": "Datasette Plugins"}, "performed_via_github_app": null}