github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/1786#issuecomment-1218849845 | https://api.github.com/repos/simonw/datasette/issues/1786 | 1218849845 | IC_kwDOBm6k_c5Ipiw1 | 9599 | 2022-08-18T01:16:02Z | 2022-08-18T01:16:02Z | OWNER | Would be neat if it could adjust the non-JS height of the test area to fit the query displayed when the page is loaded. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1342430983 | |
https://github.com/simonw/datasette/issues/1786#issuecomment-1219657981 | https://api.github.com/repos/simonw/datasette/issues/1786 | 1219657981 | IC_kwDOBm6k_c5IsoD9 | 9599 | 2022-08-18T15:50:53Z | 2022-08-18T15:50:53Z | OWNER | I went with number of lines + 2 ems in height: <img width="482" alt="image" src="https://user-images.githubusercontent.com/9599/185438949-c8b8bb7f-413d-4557-ab81-c318d1beabd5.png"> It gets confused by wrapping text but I think that's OK: <img width="495" alt="image" src="https://user-images.githubusercontent.com/9599/185439072-35e2a2af-d11d-44ee-afeb-095d0d2d928f.png"> | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1342430983 | |
https://github.com/simonw/datasette/issues/1786#issuecomment-1219683223 | https://api.github.com/repos/simonw/datasette/issues/1786 | 1219683223 | IC_kwDOBm6k_c5IsuOX | 9599 | 2022-08-18T16:15:13Z | 2022-08-18T16:15:13Z | OWNER | Hard to demo this because the JavaScript kicks in, but if you view source on this page: https://latest.datasette.io/_memory?sql=select+id%2C+name%2C+ingredients%2C+%28%0D%0A++select+json_group_array%28value%29+from+json_each%28ingredients%29%0D%0A++where+value+in+%28select+value+from+json_each%28%3Ap0%29%29%0D%0A%29+as+matching_ingredients%0D%0Afrom+recipes%0D%0Awhere+json_array_length%28matching_ingredients%29+%3E+0%0D%0Aorder+by+json_array_length%28matching_ingredients%29+desc If you view source on that page: ```html <p><textarea id="sql-editor" name="sql" style="height: 9em" >select id, name, ingredients, ( select json_group_array(value) from json_each(ingredients) where value in (select value from json_each(:p0)) ) as matching_ingredients from recipes where json_array_length(matching_ingredients) > 0 order by json_array_length(matching_ingredients) desc</textarea></p> ``` | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1342430983 | |
https://github.com/simonw/datasette/issues/1786#issuecomment-1294116493 | https://api.github.com/repos/simonw/datasette/issues/1786 | 1294116493 | IC_kwDOBm6k_c5NIqaN | 9599 | 2022-10-27T21:50:12Z | 2022-10-27T21:50:12Z | OWNER | Demo in Datasette Lite: https://lite.datasette.io/#/fixtures?sql=select%0A++pk1%2C%0A++pk2%2C%0A++content%2C%0A++sortable%2C%0A++sortable_with_nulls%2C%0A++sortable_with_nulls_2%2C%0A++text%0Afrom%0A++sortable%0Aorder+by%0A++pk1%2C%0A++pk2%0Alimit%0A++101 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1342430983 |