home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

12 rows where "created_at" is on date 2020-12-04 and "updated_at" is on date 2020-12-04 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, reactions, updated_at (date)

issue 7

  • Show pysqlite3 version on /-/versions 4
  • Fix footer not sticking to bottom in short pages 3
  • Add “updated” to metadata 1
  • Ability to bundle metadata and templates inside the SQLite file 1
  • Fixed bug in SQL query for photo scores 1
  • Switch to google-github-actions/setup-gcloud for demo deploy 1
  • Fix startup error on windows 1

author_association 4

  • OWNER 8
  • NONE 2
  • CONTRIBUTOR 1
  • MEMBER 1

user 3

  • simonw 9
  • codecov[bot] 2
  • abdusco 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
739058820 https://github.com/dogsheep/dogsheep-photos/pull/29#issuecomment-739058820 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/29 MDEyOklzc3VlQ29tbWVudDczOTA1ODgyMA== simonw 9599 2020-12-04T22:32:35Z 2020-12-04T22:32:35Z MEMBER

Thanks for this!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fixed bug in SQL query for photo scores 638375985  
738907852 https://github.com/simonw/datasette/pull/1130#issuecomment-738907852 https://api.github.com/repos/simonw/datasette/issues/1130 MDEyOklzc3VlQ29tbWVudDczODkwNzg1Mg== abdusco 3243482 2020-12-04T17:22:29Z 2020-12-04T17:31:25Z CONTRIBUTOR

EDIT: I misunderstood the problem. This seems like a fix better suited for Safari. But I don't have any Apple device to test it.

css body { min-height: 100vh; min-height: -webkit-fill-available; } html { height: -webkit-fill-available; } https://css-tricks.com/css-fix-for-100vh-in-mobile-webkit/


It's actually not that difficult to fix. Well, this is actually a workaround to keep viewport in place.

I usually put a transition (forgot to do it here) that keeps page from resizing.

css .container { min-height: 100vh; transition: height 10000s steps(0); }

steps() function prevents excessive layout calculations, and lets the page snap back into place (10000s ~= 3h later) in a single step. This fix also prevents page from jumping around when the keyboard pops up and down.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix footer not sticking to bottom in short pages 756876238  
738905376 https://github.com/simonw/datasette/issues/188#issuecomment-738905376 https://api.github.com/repos/simonw/datasette/issues/188 MDEyOklzc3VlQ29tbWVudDczODkwNTM3Ng== simonw 9599 2020-12-04T17:18:34Z 2020-12-04T17:18:34Z OWNER

This is likely to be covered by plugin hooks: #860 for the metadata and after investigating in #1042 it looks like the existing prepare_jinja2_environment hook may already be enough to load templates from the database.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Ability to bundle metadata and templates inside the SQLite file 309047460  
738904347 https://github.com/simonw/datasette/issues/111#issuecomment-738904347 https://api.github.com/repos/simonw/datasette/issues/111 MDEyOklzc3VlQ29tbWVudDczODkwNDM0Nw== simonw 9599 2020-12-04T17:16:56Z 2020-12-04T17:16:56Z OWNER

This is STILL a good idea.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add “updated” to metadata 274615452  
738897582 https://github.com/simonw/datasette/pull/1130#issuecomment-738897582 https://api.github.com/repos/simonw/datasette/issues/1130 MDEyOklzc3VlQ29tbWVudDczODg5NzU4Mg== simonw 9599 2020-12-04T17:03:30Z 2020-12-04T17:03:30Z OWNER

I deployed this to https://datasette-issue-1129.vercel.app/ (using datasette publish vercel fixtures.db --branch 8d4c69c6fb0ef741a19070f5172017ea3522e83c --about_url https://github.com/simonw/datasette/issues/1129 --about datasette/issues/1129 --project datasette-issue-1129) - weirdly, on Mobile Safari the footer appears just below the visible window:

I've seen other problems with fixed footers on Mobile Safari too: at Eventbrite this was a really nasty problem for us to figure out: https://www.eventbrite.com/engineering/mobile-safari-why/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix footer not sticking to bottom in short pages 756876238  
738620153 https://github.com/simonw/datasette/pull/1130#issuecomment-738620153 https://api.github.com/repos/simonw/datasette/issues/1130 MDEyOklzc3VlQ29tbWVudDczODYyMDE1Mw== codecov[bot] 22429695 2020-12-04T07:34:48Z 2020-12-04T07:34:48Z NONE

Codecov Report

Merging #1130 (8d4c69c) into main (49d8fc0) will not change coverage. The diff coverage is n/a.

```diff @@ Coverage Diff @@

main #1130 +/-

======================================= Coverage 91.42% 91.42%
======================================= Files 31 31
Lines 3873 3873
======================================= Hits 3541 3541
Misses 332 332
```


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 49d8fc0...8d4c69c. Read the comment docs.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix footer not sticking to bottom in short pages 756876238  
738613497 https://github.com/simonw/datasette/pull/1128#issuecomment-738613497 https://api.github.com/repos/simonw/datasette/issues/1128 MDEyOklzc3VlQ29tbWVudDczODYxMzQ5Nw== codecov[bot] 22429695 2020-12-04T07:17:12Z 2020-12-04T07:17:12Z NONE

Codecov Report

Merging #1128 (7004c3b) into main (49d8fc0) will decrease coverage by 0.00%. The diff coverage is n/a.

```diff @@ Coverage Diff @@

main #1128 +/-

========================================== - Coverage 91.42% 91.42% -0.01%
========================================== Files 31 31
Lines 3873 3872 -1
========================================== - Hits 3541 3540 -1
Misses 332 332
```

| Impacted Files | Coverage Δ | | |---|---|---| | datasette/utils/asgi.py | 92.13% <ø> (-0.04%) | :arrow_down: |


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 49d8fc0...7004c3b. Read the comment docs.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix startup error on windows 756867924  
738554392 https://github.com/simonw/datasette/issues/1125#issuecomment-738554392 https://api.github.com/repos/simonw/datasette/issues/1125 MDEyOklzc3VlQ29tbWVudDczODU1NDM5Mg== simonw 9599 2020-12-04T04:16:57Z 2020-12-04T04:16:57Z OWNER

https://latest.datasette.io/-/versions now shows this: json { "python": { "version": "3.8.6", "full": "3.8.6 (default, Nov 18 2020, 13:49:49) \n[GCC 8.3.0]" }, "datasette": { "version": "0.52.3", "note": "49d8fc056844d5a537d6cfd96dab0dd5686fe718" }, "asgi": "3.0", "uvicorn": "0.12.3", "sqlite": { "version": "3.33.0", "fts_versions": [ "FTS5", "FTS4", "FTS3" ], "extensions": { "json1": null }, "compile_options": [] }, "pysqlite3": "0.4.4" }

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Show pysqlite3 version on /-/versions 756622648  
738551280 https://github.com/simonw/datasette/issues/1125#issuecomment-738551280 https://api.github.com/repos/simonw/datasette/issues/1125 MDEyOklzc3VlQ29tbWVudDczODU1MTI4MA== simonw 9599 2020-12-04T04:03:54Z 2020-12-04T04:03:54Z OWNER

I'm going to check pkg_resources.get_distribution("pysqlite3-binary").version too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Show pysqlite3 version on /-/versions 756622648  
738550588 https://github.com/simonw/datasette/issues/1125#issuecomment-738550588 https://api.github.com/repos/simonw/datasette/issues/1125 MDEyOklzc3VlQ29tbWVudDczODU1MDU4OA== simonw 9599 2020-12-04T04:01:10Z 2020-12-04T04:01:10Z OWNER

Urgh, figuring out the version of pysqlite3 is WAY harder than I expected. The getversion module looks like the smartest attempt at solving this problem generally, but I'd like to avoid adding another dependency just for this: https://github.com/smarie/python-getversion

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Show pysqlite3 version on /-/versions 756622648  
738548693 https://github.com/simonw/datasette/issues/1125#issuecomment-738548693 https://api.github.com/repos/simonw/datasette/issues/1125 MDEyOklzc3VlQ29tbWVudDczODU0ODY5Mw== simonw 9599 2020-12-04T03:52:51Z 2020-12-04T03:52:51Z OWNER

That didn't work - https://latest.datasette.io/-/versions isn't showing the package.

I bet that's because I'm actually installing pysqlite3-binary here: https://github.com/simonw/datasette/blob/e2fea36540e952d8d72c1bd0af7144b85b7a4671/.github/workflows/deploy-latest.yml#L57

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Show pysqlite3 version on /-/versions 756622648  
738548393 https://github.com/simonw/datasette/issues/1126#issuecomment-738548393 https://api.github.com/repos/simonw/datasette/issues/1126 MDEyOklzc3VlQ29tbWVudDczODU0ODM5Mw== simonw 9599 2020-12-04T03:51:38Z 2020-12-04T03:51:38Z OWNER

That worked.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Switch to google-github-actions/setup-gcloud for demo deploy 756761963  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 1334.991ms · About: github-to-sqlite