{"html_url": "https://github.com/simonw/datasette/pull/2118#issuecomment-1668789134", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2118", "id": 1668789134, "node_id": "IC_kwDOBm6k_c5jd7OO", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-08-08T01:46:12Z", "updated_at": "2023-08-08T01:46:12Z", "author_association": "OWNER", "body": "I'm going to squash merge this even though it's a bit big, because I want a clean passing commit in the `main` branch.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1823352380, "label": "New JSON design for query views"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/2118#issuecomment-1668786770", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2118", "id": 1668786770, "node_id": "IC_kwDOBm6k_c5jd6pS", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-08-08T01:42:55Z", "updated_at": "2023-08-08T01:42:55Z", "author_association": "OWNER", "body": "> UPDATE: Fixed the `_size=max` bit, but I've not replicated the behaviour where it adds `?_labels=on` if there are expandable columns yet.\r\n\r\nIt looks like that behaviour is only relevant to table views, and it's already implemented - https://latest.datasette.io/fixtures/roadside_attraction_characteristics links to https://latest.datasette.io/fixtures/roadside_attraction_characteristics.csv?_labels=on&_size=max", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1823352380, "label": "New JSON design for query views"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/2118#issuecomment-1668715803", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2118", "id": 1668715803, "node_id": "IC_kwDOBm6k_c5jdpUb", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-08-07T23:50:26Z", "updated_at": "2023-08-08T01:41:53Z", "author_association": "OWNER", "body": "This bit needs some more work: https://github.com/simonw/datasette/blob/a791115e31e64e9bbd1d36f4d46887b3e42e752a/datasette/views/database.py#L514-L518\r\n\r\nThe original logic for that is from here, I need to figure out how to replicate it:\r\n\r\nhttps://github.com/simonw/datasette/blob/5139c0886a7f6bb94d317ba0665aa6e728716028/datasette/views/base.py#L368\r\n\r\nhttps://github.com/simonw/datasette/blob/5139c0886a7f6bb94d317ba0665aa6e728716028/datasette/views/base.py#L342-L344\r\n\r\nUPDATE: Fixed the `_size=max` bit, but I've not replicated the behaviour where it adds `?_labels=on` if there are expandable columns yet.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1823352380, "label": "New JSON design for query views"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/2118#issuecomment-1668781558", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2118", "id": 1668781558, "node_id": "IC_kwDOBm6k_c5jd5X2", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-08-08T01:34:42Z", "updated_at": "2023-08-08T01:34:42Z", "author_association": "OWNER", "body": "3 failures left:\r\n```\r\n=================================================================== short test summary info ====================================================================\r\nFAILED tests/test_html.py::test_query_json_csv_export_links - assert 'CSV' in '\\n\\n
\\n