{"html_url": "https://github.com/simonw/datasette/issues/1202#issuecomment-766464136", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1202", "id": 766464136, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ2NDEzNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T00:01:02Z", "updated_at": "2021-01-25T00:01:02Z", "author_association": "OWNER", "body": "I'm going to use the existing `.. warning::` pattern for this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 792931244, "label": "Documentation convention for marking unstable APIs."}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1154#issuecomment-766465719", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1154", "id": 766465719, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ2NTcxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T00:09:22Z", "updated_at": "2021-01-25T00:09:22Z", "author_association": "OWNER", "body": "https://docs.datasette.io/en/latest/internals.html#the-internal-database\r\n\r\n\"Internals_for_plugins_\u2014_Datasette_documentation\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 771208009, "label": "Documentation for new _internal database and tables"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1191#issuecomment-766466030", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1191", "id": 766466030, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ2NjAzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T00:11:04Z", "updated_at": "2021-01-25T00:11:04Z", "author_association": "OWNER", "body": "I can combine this with #987 - each of these areas of the page can be wrapped in a `
` with a class that matches the name of the plugin hook, that way JavaScript plugins can append their content in the same place as Python plugins.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 787098345, "label": "Ability for plugins to collaborate when adding extra HTML to blocks in default templates"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1179#issuecomment-766484257", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1179", "id": 766484257, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ4NDI1Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T01:30:57Z", "updated_at": "2021-01-25T01:30:57Z", "author_association": "OWNER", "body": "The challenge here is figuring out what the original path, without the `.format`, actually was - while taking into account that Datasette has a special case for tables that themselves end in a `.something`.\r\n\r\nThe `path_with_format()` function nearly does what we need here:\r\n\r\nhttps://github.com/simonw/datasette/blob/b6a7b58fa01af0cd5a5e94bd17d686d283a46819/datasette/utils/__init__.py#L710-L729\r\n\r\nIt can be called with `replace_format=\"csv\"` to REMOVE the `.csv` format and replace it with something else.\r\n\r\nProblem is, we want to use it to get rid of the format entirely.\r\n\r\nWe could update `path_with_format()` to accept `format=''` to mean \"remove the format entirely\", but it's a bit messy. It may be better to reconsider the design of `path_with_format()` and related utility functions entirely.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 780278550, "label": "Make original path available to render hooks"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1179#issuecomment-766484435", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1179", "id": 766484435, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ4NDQzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T01:31:36Z", "updated_at": "2021-01-25T01:31:36Z", "author_association": "OWNER", "body": "Relevant existing tests: https://github.com/simonw/datasette/blob/461670a0b87efa953141b449a9a261919864ceb3/tests/test_utils.py#L365-L398", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 780278550, "label": "Make original path available to render hooks"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/983#issuecomment-766484915", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/983", "id": 766484915, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ4NDkxNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T01:33:29Z", "updated_at": "2021-01-25T01:33:29Z", "author_association": "OWNER", "body": "I'm going to ship a version of this in Datasette 0.54 with a warning that the interface should be considered unstable (see #1202) so that we can start trying this out.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 712260429, "label": "JavaScript plugin hooks mechanism similar to pluggy"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1167#issuecomment-766487520", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1167", "id": 766487520, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ4NzUyMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T01:44:43Z", "updated_at": "2021-01-25T01:44:43Z", "author_association": "OWNER", "body": "Thanks @benpickles, I just merged that in. I'll use it in the documentation.\r\n\r\n # To check code is conformant\r\n npm run prettier -- --check\r\n # To fix it if it isn't\r\n npm run fix\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 777145954, "label": "Add Prettier to contributing documentation"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1167#issuecomment-766491566", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1167", "id": 766491566, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ5MTU2Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T02:01:19Z", "updated_at": "2021-01-25T02:01:19Z", "author_association": "OWNER", "body": "New documentation section here (I documented Black as well): https://docs.datasette.io/en/latest/contributing.html#code-formatting", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 777145954, "label": "Add Prettier to contributing documentation"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1194#issuecomment-766491911", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1194", "id": 766491911, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjQ5MTkxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T02:02:15Z", "updated_at": "2021-01-25T02:02:15Z", "author_association": "OWNER", "body": "I'm going to copy across anything starting with an underscore.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 788447787, "label": "?_size= argument is not persisted by hidden form fields in the table filters"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1201#issuecomment-766543387", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1201", "id": 766543387, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjU0MzM4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T05:07:40Z", "updated_at": "2021-01-25T05:13:29Z", "author_association": "OWNER", "body": "Changes: https://github.com/simonw/datasette/compare/0.53...a5ede3cdd455e2bb1a1fb2f4e1b5a9855caf5179", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 792904595, "label": "Release notes for Datasette 0.54"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1201#issuecomment-766545442", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1201", "id": 766545442, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjU0NTQ0Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T05:13:59Z", "updated_at": "2021-01-25T05:13:59Z", "author_association": "OWNER", "body": "The big stuff:\r\n\r\n- Database(memory_name=) for shared in-memory databases, closes #1151 \r\n- The `_internal` database - #1150\r\n- script type=module support, closes #1186 , #1187\r\n- Improved design for the `.add_database()` method 8919f99c2f7f245aca7f94bd53d5ac9d04aa42b5 - which means databases with the same stem can now be opened, #509\r\n- Adopted Prettier #1166 \r\n\r\nSmaller:\r\n\r\n- force_https_urls on for publish cloudrun, refs #1178 \r\n- Fixed bug in example nginx config, refs #1091 \r\n- Shrunk ecosystem docs in favour of datasette.io, closes #1182 \r\n- request.full_path property, closes #1184 \r\n- Better PRAGMA error message, closes #1185 \r\n- publish heroku now uses python-3.8.7 \r\n- Plugin testing documentation on using pytest-httpx Closes #1198\r\n- Contributing docs for Black and Prettier, closes #1167 \r\n- All ?_ parameters now copied to hidden form fields, closes #1194 \r\n- Fixed bug loading database called 'test-database (1).sqlite' - Closes #1181.\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": 792904595, "label": "Release notes for Datasette 0.54"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1201#issuecomment-766545604", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1201", "id": 766545604, "node_id": "MDEyOklzc3VlQ29tbWVudDc2NjU0NTYwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-01-25T05:14:31Z", "updated_at": "2021-01-25T05:14:31Z", "author_association": "OWNER", "body": "The two big ticket items are `