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/sqlite-utils/issues/348#issuecomment-983122733 | https://api.github.com/repos/simonw/sqlite-utils/issues/348 | 983122733 | IC_kwDOCGYnMM46mUMt | 9599 | 2021-11-30T23:31:17Z | 2021-11-30T23:31:17Z | OWNER | Potential other options could include: - `--page-size` https://www.sqlite.org/pragma.html#pragma_page_size | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1067771698 | |
https://github.com/simonw/sqlite-utils/issues/348#issuecomment-983120066 | https://api.github.com/repos/simonw/sqlite-utils/issues/348 | 983120066 | IC_kwDOCGYnMM46mTjC | 9599 | 2021-11-30T23:25:52Z | 2021-11-30T23:26:11Z | OWNER | Maybe this: sqlite-utils create-database my.db With options that include `--enable-wal` (actually that's the only option I can think of). This is consistent with the existing `create-table` and `create-view` commands. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1067771698 | |
https://github.com/simonw/datasette/issues/1532#issuecomment-982745406 | https://api.github.com/repos/simonw/datasette/issues/1532 | 982745406 | IC_kwDOBm6k_c46k4E- | 30934 | 2021-11-30T15:28:57Z | 2021-11-30T15:28:57Z | NONE | It's a really great API and the documentation is really great too. Honestly, in more than 20 years of professional experience, I haven't worked with any software API that was more of a joy to use. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1065429936 | |
https://github.com/simonw/datasette/issues/1525#issuecomment-982331602 | https://api.github.com/repos/simonw/datasette/issues/1525 | 982331602 | IC_kwDOBm6k_c46jTDS | 9599 | 2021-11-30T06:39:00Z | 2021-11-30T06:39:00Z | OWNER | These two pages now help demonstrate the fix: - https://latest.datasette.io/fixtures/facet_cities/1 - https://latest.datasette.io/fixtures/attraction_characteristic/2 I added a new test for these here: https://github.com/simonw/datasette/blob/35b12746ba2bf9f254791bddac03d25b19be9b77/tests/test_html.py#L823-L848 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1059509927 | |
https://github.com/simonw/datasette/issues/1532#issuecomment-982319210 | https://api.github.com/repos/simonw/datasette/issues/1532 | 982319210 | IC_kwDOBm6k_c46jQBq | 9599 | 2021-11-30T06:12:19Z | 2021-11-30T06:12:19Z | OWNER | That's really cool to hear - I've not seen many people actively building on top of the JSON API. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1065429936 | |
https://github.com/simonw/datasette/issues/1527#issuecomment-982318745 | https://api.github.com/repos/simonw/datasette/issues/1527 | 982318745 | IC_kwDOBm6k_c46jP6Z | 9599 | 2021-11-30T06:11:21Z | 2021-11-30T06:11:21Z | OWNER | Manually tested this too, looks like that fixed it. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1059555791 | |
https://github.com/simonw/datasette/issues/1527#issuecomment-982235541 | https://api.github.com/repos/simonw/datasette/issues/1527 | 982235541 | IC_kwDOBm6k_c46i7mV | 9599 | 2021-11-30T02:57:34Z | 2021-11-30T02:58:44Z | OWNER | I started fiddling with a test for this which extracts the `<select>` options and ALL of the `<input>` fields, but I probably won't use it: ```python def test_exact_parameter_results_in_correct_hidden_fields(app_client): # https://github.com/simonw/datasette/issues/1527 response = app_client.get( "/fixtures/facetable?_facet=_neighborhood&_neighborhood__exact=Downtown" ) # In this case we should NOT have a hidden _neighborhood__exact=Downtown field form = Soup(response.body, "html.parser").find("form") selects = [ { "name": select["name"], "value": select.select("option[selected]")[0].text if select.select("option[selected]") else "", } for select in form.findAll("select") ] inputs = [input.attrs for input in form.findAll("input")] # Turn those both into a {name: (value, type)} array form_inputs = {} form_inputs.update( {select["name"]: (select["value"], "select") for select in selects} ) form_inputs.update( { input["name"]: (input.get("value"), input["type"]) for input in inputs if input.get("name") } ) assert form_inputs == { "_filter_column_1": ("_neighborhood", "select"), "_filter_op_1": ("=", "select"), "_filter_value_1": ("Downtown", "text"), "_filter_column": ("", "select"), "_filter_op": ("", "select"), "_filter_value": (None, "text"), "_sort": ("Sort by pk", "select"), "_sort_by_desc": (None, "checkbox"), "_facet": ("_neighborhood", "hidden"), "_neighborhood__exact": ("Downtown", "hidden"), } ``` The problem is that last hidden field, `_neighborhood__exact=Downtown` - which should not be there. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1059555791 |