{"html_url": "https://github.com/simonw/datasette/issues/1540#issuecomment-984048965", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1540", "id": 984048965, "node_id": "IC_kwDOBm6k_c46p2VF", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-01T20:59:26Z", "updated_at": "2021-12-01T21:02:58Z", "author_association": "OWNER", "body": "This is a bit of a mess but it does keep the hovercard around for a moment and then fade it away when you mouse out of it:\r\n\r\n```html+jinja\r\n{% extends \"base.html\" %}\r\n\r\n{% block content %}\r\n\r\n

Hovercards demo

\r\n\r\nHere is a link to a row\r\n\r\n\r\n\r\n{% endblock %}\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1068791148, "label": "Idea: hover to reveal details of linked row"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1540#issuecomment-984051925", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1540", "id": 984051925, "node_id": "IC_kwDOBm6k_c46p3DV", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-01T21:03:16Z", "updated_at": "2021-12-01T21:03:16Z", "author_association": "OWNER", "body": "Needs `pageX` not `clientX` because otherwise it doesn't work when you scroll down the page.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1068791148, "label": "Idea: hover to reveal details of linked row"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1540#issuecomment-984053760", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1540", "id": 984053760, "node_id": "IC_kwDOBm6k_c46p3gA", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-01T21:05:20Z", "updated_at": "2021-12-01T21:05:20Z", "author_association": "OWNER", "body": "I realized you couldn't click the links any more because the hovercard overlapped them, so I changed it to this instead. Need to reconsider the when-to-hide logic though.\r\n\r\n```javascript\r\nhovercard.style.top = (ev.pageY + 15) + 'px';\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1068791148, "label": "Idea: hover to reveal details of linked row"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1519#issuecomment-983890815", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1519", "id": 983890815, "node_id": "IC_kwDOBm6k_c46pPt_", "user": {"value": 157158, "label": "phubbard"}, "created_at": "2021-12-01T17:50:09Z", "updated_at": "2021-12-01T17:50:09Z", "author_association": "NONE", "body": "thanks so very much for the prompt attention and fix! Plus, the animated GIF showing the bug is just extra and I love it. Interactions like this are why I love open source.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1058790545, "label": "base_url is omitted in JSON and CSV views"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1540#issuecomment-983985330", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1540", "id": 983985330, "node_id": "IC_kwDOBm6k_c46pmyy", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-01T19:29:05Z", "updated_at": "2021-12-01T19:29:05Z", "author_association": "OWNER", "body": "The layout of the hover card could be similar to the one used by `datasette-cluster-map`:\r\n\r\n\"global-power-plants__global-power-plants__33_643_rows\"\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": 1068791148, "label": "Idea: hover to reveal details of linked row"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1540#issuecomment-984037711", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1540", "id": 984037711, "node_id": "IC_kwDOBm6k_c46pzlP", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-12-01T20:42:17Z", "updated_at": "2021-12-01T20:43:14Z", "author_association": "OWNER", "body": "A first prototype (saved as `templates/pages/hovercard.html` and run with `datasette fixtures.db --template-dir=templates`):\r\n\r\n```html+jinja\r\n{% extends \"base.html\" %}\r\n\r\n{% block content %}\r\n\r\n

Hovercards demo

\r\n\r\nHere is a link to a row\r\n\r\n\r\n\r\n{% endblock %}\r\n```\r\n\r\n![hovercard](https://user-images.githubusercontent.com/9599/144310888-6db71bad-b6f6-4d8a-a737-81a618022bbe.gif)\r\n\r\nLots of decisions to make here. Most importantly, when should it be hidden again?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1068791148, "label": "Idea: hover to reveal details of linked row"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/348#issuecomment-983155079", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/348", "id": 983155079, "node_id": "IC_kwDOCGYnMM46mcGH", "user": {"value": 25778, "label": "eyeseast"}, "created_at": "2021-12-01T00:28:40Z", "updated_at": "2021-12-01T00:28:40Z", "author_association": "CONTRIBUTOR", "body": "I'd use this. Right now, I tend to do `touch my.db` and then `enable-wal` or whatever else, but I'm never sure if that's a bad idea.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1067771698, "label": "Command for creating an empty database"}, "performed_via_github_app": null}