{"html_url": "https://github.com/simonw/datasette/issues/860#issuecomment-731657486", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/860", "id": 731657486, "node_id": "MDEyOklzc3VlQ29tbWVudDczMTY1NzQ4Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-22T00:25:34Z", "updated_at": "2020-11-22T00:25:34Z", "author_association": "OWNER", "body": "There are three layers of metadata: table, database and instance.\r\n\r\nCurrently the metadata fields are (ignoring not-quite-metadata like `sort` and `sort_desc`):\r\n\r\n- `title`\r\n- `description` (or `description_html`)\r\n- `about` / `about_url`\r\n- `source` / `source_url`\r\n- `license` / `license_url`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 642651572, "label": "Plugin hook for instance/database/table metadata"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/860#issuecomment-731657660", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/860", "id": 731657660, "node_id": "MDEyOklzc3VlQ29tbWVudDczMTY1NzY2MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-22T00:27:32Z", "updated_at": "2020-11-22T00:31:54Z", "author_association": "OWNER", "body": "Open question: how should cascading work? If a table is missing a field but the database or instance has it, should that value cascade down to the table?\r\n\r\nIt feels like `license` should definitely cascade: if an instance lists a certain `license` that should absolutely filter through to all databases and tables.\r\n\r\nBut... should the other fields cascade? Cascading `description` doesn't feel right at all, and neither does `title`.\r\n\r\nWhat about `about` and `about_url` and `source` and `source_url`? I'm a bit torn on whether they should cascade or not. I'm leaning towards cascading them.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 642651572, "label": "Plugin hook for instance/database/table metadata"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/860#issuecomment-731658059", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/860", "id": 731658059, "node_id": "MDEyOklzc3VlQ29tbWVudDczMTY1ODA1OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-22T00:31:47Z", "updated_at": "2020-11-22T00:33:48Z", "author_association": "OWNER", "body": "Documented behaviour right now, for metadata set at the instance level, is: https://docs.datasette.io/en/stable/metadata.html\r\n\r\n> The above metadata will be displayed on the index page of your Datasette-powered site. The source and license information will also be included in the footer of every page served by Datasette.\r\n>\r\n> ...\r\n> \r\n> Metadata at the top level of the JSON will be shown on the index page and in the footer on every page of the site. The license and source is expected to apply to all of your data.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 642651572, "label": "Plugin hook for instance/database/table metadata"}, "performed_via_github_app": null}