{"html_url": "https://github.com/simonw/datasette/issues/231#issuecomment-383315348", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/231", "id": 383315348, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzMxNTM0OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-21T17:37:50Z", "updated_at": "2018-04-22T23:06:04Z", "author_association": "OWNER", "body": "I could also have an `\"autodetect\": false` option for that plugin to turn off autodetecting entirely.\r\n\r\nWould be useful if the plugin didn't append its JavaScript in pages that it wasn't used for - that might require making the `extra_js_urls()` hook optionally aware of the columns and table and metadata.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316323336, "label": "metadata.json support for plugin configuration options"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/234#issuecomment-383398182", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/234", "id": 383398182, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzM5ODE4Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-22T17:31:12Z", "updated_at": "2018-04-22T17:31:12Z", "author_association": "OWNER", "body": "```{\r\n \"databases\": {\r\n \"database1\": {\r\n \"tables\": {\r\n \"example_table\": {\r\n \"label_column\": \"name\"\r\n }\r\n }\r\n }\r\n }\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": 316526433, "label": "label_column option in metadata.json"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/234#issuecomment-383399762", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/234", "id": 383399762, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzM5OTc2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-22T17:54:39Z", "updated_at": "2018-04-22T17:54:39Z", "author_association": "OWNER", "body": "Docs here: http://datasette.readthedocs.io/en/latest/metadata.html#specifying-the-label-column-for-a-table", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316526433, "label": "label_column option in metadata.json"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/234#issuecomment-383410146", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/234", "id": 383410146, "node_id": "MDEyOklzc3VlQ29tbWVudDM4MzQxMDE0Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-04-22T20:32:30Z", "updated_at": "2018-04-22T20:47:02Z", "author_association": "OWNER", "body": "I built this wrong: my implementation is looking for the `label_column` on the table-being-displayed, but it should be looking for it on the table-the-foreign-key-links-to.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 316526433, "label": "label_column option in metadata.json"}, "performed_via_github_app": null}