{"html_url": "https://github.com/simonw/datasette/pull/168#issuecomment-350413422", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/168", "id": 350413422, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDQxMzQyMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T01:33:40Z", "updated_at": "2017-12-09T01:33:40Z", "author_association": "OWNER", "body": "https://github.com/channelcat/sanic/releases/tag/0.7.0", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280662866, "label": "Upgrade to Sanic 0.7.0"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/167#issuecomment-350421661", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/167", "id": 350421661, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDQyMTY2MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T03:52:46Z", "updated_at": "2017-12-09T03:52:46Z", "author_association": "OWNER", "body": "Input: results from the database, foreign key definitions, primary key definitions, type of page\r\n\r\nOutput: display_columns and display_rows", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280315352, "label": "Nasty bug: last column not being correctly displayed"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/167#issuecomment-350424595", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/167", "id": 350424595, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDQyNDU5NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T05:08:27Z", "updated_at": "2017-12-09T05:08:27Z", "author_association": "OWNER", "body": "Perhaps the row.html and table.html templates should be passed the same data but should themselves decide if they will display the Link column ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280315352, "label": "Nasty bug: last column not being correctly displayed"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/160#issuecomment-350496258", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/160", "id": 350496258, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDQ5NjI1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T18:29:28Z", "updated_at": "2017-12-09T18:29:28Z", "author_association": "OWNER", "body": "Example usage:\r\n\r\n datasette package --static css:extra-css/ --static js:extra-js/ \\\r\n \tsf-trees.db --template-dir templates/ --tag sf-trees --branch master\r\n\r\nThis creates a local Docker image that includes copies of the templates/,\r\nextra-css/ and extra-js/ directories. You can then run it like this:\r\n\r\n\tdocker run -p 8001:8001 sf-trees\r\n\r\nFor publishing to Zeit now:\r\n\r\n\tdatasette publish now --static css:extra-css/ --static js:extra-js/ \\\r\n\t\tsf-trees.db --template-dir templates/ --name sf-trees --branch master\r\n\r\nExample: https://sf-trees-wbihszoazc.now.sh/sf-trees-02c8ef1/Street_Tree_List\r\n\r\nFor publishing to Heroku:\r\n\r\n\tdatasette publish heroku --static css:extra-css/ --static js:extra-js/ \\\r\n\t\tsf-trees.db --template-dir templates/ --branch master\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 278208011, "label": "Ability to bundle and serve additional static files"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/157#issuecomment-350496277", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/157", "id": 350496277, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDQ5NjI3Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T18:29:41Z", "updated_at": "2017-12-09T18:29:41Z", "author_association": "OWNER", "body": "Example usage:\r\n\r\n datasette package --static css:extra-css/ --static js:extra-js/ \\\r\n \tsf-trees.db --template-dir templates/ --tag sf-trees --branch master\r\n\r\nThis creates a local Docker image that includes copies of the templates/,\r\nextra-css/ and extra-js/ directories. You can then run it like this:\r\n\r\n\tdocker run -p 8001:8001 sf-trees\r\n\r\nFor publishing to Zeit now:\r\n\r\n\tdatasette publish now --static css:extra-css/ --static js:extra-js/ \\\r\n\t\tsf-trees.db --template-dir templates/ --name sf-trees --branch master\r\n\r\nExample: https://sf-trees-wbihszoazc.now.sh/sf-trees-02c8ef1/Street_Tree_List\r\n\r\nFor publishing to Heroku:\r\n\r\n\tdatasette publish heroku --static css:extra-css/ --static js:extra-js/ \\\r\n\t\tsf-trees.db --template-dir templates/ --branch master\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 278190321, "label": "Teach \"datasette publish\" about custom template directories"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/170#issuecomment-350506593", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/170", "id": 350506593, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDUwNjU5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T21:25:50Z", "updated_at": "2017-12-09T21:25:50Z", "author_association": "OWNER", "body": "Turns out this is already supported: https://github.com/simonw/datasette/blob/6bdfcf60760c27e29ff34692d06e62b36aeecc56/datasette/app.py#L307", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280745470, "label": "Custom template for named canned query"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/170#issuecomment-350506751", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/170", "id": 350506751, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDUwNjc1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T21:28:32Z", "updated_at": "2017-12-09T21:28:32Z", "author_association": "OWNER", "body": "My mistake, that's using the database name - there isn't a way of customizing for a specific named query yet.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280745470, "label": "Custom template for named canned query"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/170#issuecomment-350507155", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/170", "id": 350507155, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDUwNzE1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T21:35:30Z", "updated_at": "2017-12-09T21:35:30Z", "author_association": "OWNER", "body": " Canned query page (/mydatabase/canned-query):\r\n query-mydatabase-canned-query.html\r\n query-mydatabase.html\r\n query.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280745470, "label": "Custom template for named canned query"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/171#issuecomment-350508049", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/171", "id": 350508049, "node_id": "MDEyOklzc3VlQ29tbWVudDM1MDUwODA0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-12-09T21:50:50Z", "updated_at": "2017-12-09T21:50:50Z", "author_association": "OWNER", "body": "Quoting the new documentation:\r\n\r\nYou can find out which templates were considered for a specific page by viewing\r\nsource on that page and looking for an HTML comment at the bottom. The comment\r\nwill look something like this:\r\n\r\n \r\n\r\nThis example is from the canned query page for a query called \"tz\" in the\r\ndatabase called \"mydb\". The asterisk shows which template was selected - so in\r\nthis case, Datasette found a template file called `query-mydb-tz.html` and\r\nused that - but if that template had not been found, it would have tried for\r\n`query-mydb.html` or the default `query.html`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 280745746, "label": "HTML comments specifying custom templates for page"}, "performed_via_github_app": null}