{"html_url": "https://github.com/simonw/sqlite-utils/issues/180#issuecomment-699718788", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/180", "id": 699718788, "node_id": "MDEyOklzc3VlQ29tbWVudDY5OTcxODc4OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T01:11:45Z", "updated_at": "2020-09-28T01:11:45Z", "author_association": "OWNER", "body": "https://hypothesis.readthedocs.io/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 709861194, "label": "Try running some tests using Hypothesis"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/181#issuecomment-699762881", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/181", "id": 699762881, "node_id": "MDEyOklzc3VlQ29tbWVudDY5OTc2Mjg4MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T04:29:23Z", "updated_at": "2020-09-28T04:29:23Z", "author_association": "OWNER", "body": "Relevant code: https://github.com/simonw/sqlite-utils/blob/94fc62857ee2655a21d85f6dae84b67bbfa5956d/sqlite_utils/db.py#L331-L367", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 709920027, "label": "pk=[\"id\"] should have same effect as pk=\"id\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/977#issuecomment-700012161", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/977", "id": 700012161, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDAxMjE2MQ==", "user": {"value": 22429695, "label": "codecov[bot]"}, "created_at": "2020-09-28T13:37:44Z", "updated_at": "2020-09-28T13:37:44Z", "author_association": "NONE", "body": "# [Codecov](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=h1) Report\n> Merging [#977](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=desc) into [main](https://codecov.io/gh/simonw/datasette/commit/9a6d0dce282e7fb58c5610e24c74098c923abfdc?el=desc) will **not change** coverage.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/simonw/datasette/pull/977/graphs/tree.svg?width=650&height=150&src=pr&token=eSahVY7kw1)](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=tree)\n\n```diff\n@@ Coverage Diff @@\n## main #977 +/- ##\n=======================================\n Coverage 84.27% 84.27% \n=======================================\n Files 28 28 \n Lines 3847 3847 \n=======================================\n Hits 3242 3242 \n Misses 605 605 \n```\n\n\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=footer). Last update [9a6d0dc...5c01344](https://codecov.io/gh/simonw/datasette/pull/977?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710269200, "label": "Update pytest requirement from <6.1.0,>=5.2.2 to >=5.2.2,<6.2.0"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700313836", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700313836, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMxMzgzNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:19:05Z", "updated_at": "2020-09-28T22:19:05Z", "author_association": "OWNER", "body": "Looks like a bug in this function: https://github.com/simonw/datasette/blob/1f021c37110fc9019b0ef70062c28c335e568ae2/datasette/utils/__init__.py#L269-L274", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700314509", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700314509, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMxNDUwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:20:51Z", "updated_at": "2020-09-28T22:20:51Z", "author_association": "OWNER", "body": "Here's the HTML for the broken example above:\r\n```html\r\n\r\n```\r\nThe glitch affects the ones where the quote is followed by digits.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700316511", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700316511, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMxNjUxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:26:38Z", "updated_at": "2020-09-28T22:26:38Z", "author_association": "OWNER", "body": "The fix may be to use `\\0022` instead of `\\22`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700317760", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700317760, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMxNzc2MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:30:25Z", "updated_at": "2020-09-28T22:30:25Z", "author_association": "OWNER", "body": "```python\r\nprint('\\\\' + \"{:X}\".format(ord('\"')).zfill(4))\r\n\\0022\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700319656", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700319656, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMxOTY1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:36:44Z", "updated_at": "2020-09-28T22:36:44Z", "author_association": "OWNER", "body": "Weirdly even those leading 0s doesn't fix it:\r\n\r\n\"Real-time_HTML_Editor_and_Using_character_escapes_in_markup_and_CSS\"\r\n\r\nBut... padding to six characters does! See https://www.w3.org/International/questions/qa-escapes\r\n\r\n\"Real-time_HTML_Editor_and_Using_character_escapes_in_markup_and_CSS\"\r\n\r\n```\r\nIn [32]: print('\\\\' + \"{:X}\".format(ord('\"')).zfill(6))\r\n\\000022\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/978#issuecomment-700320480", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/978", "id": 700320480, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDMyMDQ4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T22:39:18Z", "updated_at": "2020-09-28T22:39:18Z", "author_association": "OWNER", "body": "```python\r\ndef escape_css_string(s):\r\n return _css_re.sub(lambda m: \"\\\\\" + (\"{:X}\".format(ord(m.group())).zfill(6)), s)\r\n```\r\nThat fixes it:\r\n\"data__select_dateutil_parse__10_october_2020_3pm____dateutil_easter__2020____dateutil_parse_fuzzy__This_is_due_10_september____dateutil_parse__1_2_2020____dateutil_parse__2020-03-04____dateutil_parse_dayfirst__2020-03-04____dateutil_easter_\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710506708, "label": "Rendering glitch with column headings on mobile"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/979#issuecomment-700343229", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/979", "id": 700343229, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDM0MzIyOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T23:55:55Z", "updated_at": "2020-09-28T23:55:55Z", "author_association": "OWNER", "body": "Here's the code that adds it to the HTML context: https://github.com/simonw/datasette/blob/c11383e6284e000b2641569457efa16ac9e0d6ae/datasette/views/table.py#L835-L837", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710650633, "label": "Default table view JSON should include CREATE TABLE"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/979#issuecomment-700343373", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/979", "id": 700343373, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDM0MzM3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T23:56:27Z", "updated_at": "2020-09-28T23:56:27Z", "author_association": "OWNER", "body": "This would benefit https://github.com/simonw/datasette-import-table - which currently ignores the `CREATE TABLE` and derives the schema by inserting rows.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710650633, "label": "Default table view JSON should include CREATE TABLE"}, "performed_via_github_app": null}