home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

18 rows where issue = 1409679008 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • simonw 18

issue 1

  • Update screenshots in documentation to match latest designs · 18 ✖

author_association 1

  • OWNER 18
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1279598878 https://github.com/simonw/datasette/issues/1844#issuecomment-1279598878 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MRSEe simonw 9599 2022-10-14T23:51:46Z 2022-10-14T23:51:46Z OWNER

Blogged about this here: https://simonwillison.net/2022/Oct/14/automating-screenshots/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279427618 https://github.com/simonw/datasette/issues/1844#issuecomment-1279427618 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQoQi simonw 9599 2022-10-14T20:25:45Z 2022-10-14T20:25:45Z OWNER

Extracted a TIL: https://til.simonwillison.net/shot-scraper/subset-of-table-columns

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279415365 https://github.com/simonw/datasette/issues/1844#issuecomment-1279415365 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQlRF simonw 9599 2022-10-14T20:11:55Z 2022-10-14T20:11:55Z OWNER

Twitter thread about this issue: https://twitter.com/simonw/status/1581012617526595584

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279406134 https://github.com/simonw/datasette/issues/1844#issuecomment-1279406134 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQjA2 simonw 9599 2022-10-14T20:01:13Z 2022-10-14T20:01:13Z OWNER

Here's the YAML I added to https://github.com/simonw/datasette-screenshots/blob/main/shots.yml for this issue:

yaml - url: https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper&_sort_desc=date height: 585 width: 960 output: regmem-search.png - url: https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper selector: "#export" output: advanced-export.png padding: 10 - url: https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10 selectors_all: - .suggested-facets a - tr:not(tr:nth-child(n+4)) td:not(:nth-child(n+11)) padding: 10 output: faceting-details.png - url: https://latest.datasette.io/fixtures/binary_data selector: table javascript: |- Array.from( document.querySelectorAll('tr:nth-child(n+3)'), el => el.parentNode.removeChild(el) ); padding: 10 output: binary-data.png

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279405429 https://github.com/simonw/datasette/issues/1844#issuecomment-1279405429 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQi11 simonw 9599 2022-10-14T20:00:26Z 2022-10-14T20:00:26Z OWNER

New images are now live on these pages: - https://docs.datasette.io/en/latest/csv_export.html - https://docs.datasette.io/en/latest/binary_data.html - https://docs.datasette.io/en/latest/facets.html - https://docs.datasette.io/en/latest/full_text_search.html - https://docs.datasette.io/en/latest/changelog.html#v0-23 (was a duplicate of the advanced export image)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279392717 https://github.com/simonw/datasette/issues/1844#issuecomment-1279392717 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQfvN simonw 9599 2022-10-14T19:44:44Z 2022-10-14T19:45:54Z OWNER

OK, the URLs to use in the docs are:

  • https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/advanced-export.png (retina)
  • https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/non-retina/regmem-search.png
  • https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/binary-data.png (retina)
  • https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/non-retina/faceting-details.png
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279349314 https://github.com/simonw/datasette/issues/1844#issuecomment-1279349314 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQVJC simonw 9599 2022-10-14T18:50:42Z 2022-10-14T19:34:37Z OWNER

I'm going to link the documentation screenshots directly to the images in the https://github.com/simonw/datasette-screenshots repository - but I don't want those images to reflect main when the documentation may reflect a specific version.

So I'm going to start tagging releases of datasette-screenshots so I can get permanent URLs to those images.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279383121 https://github.com/simonw/datasette/issues/1844#issuecomment-1279383121 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQdZR simonw 9599 2022-10-14T19:33:49Z 2022-10-14T19:33:49Z OWNER

I'm going to tag datasette-screenshots with the current Datasette version, 0.62.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279311487 https://github.com/simonw/datasette/issues/1844#issuecomment-1279311487 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQL5_ simonw 9599 2022-10-14T18:06:53Z 2022-10-14T19:33:24Z OWNER

I just spotted some other out-dated screenshots in the docs/ directory:

  • [x] advanced_export.png
  • [x] binary_data.png
  • [x] facets.png
  • [x] full_text_search.png
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279382674 https://github.com/simonw/datasette/issues/1844#issuecomment-1279382674 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQdSS simonw 9599 2022-10-14T19:33:16Z 2022-10-14T19:33:16Z OWNER

That's the last two screenshots:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279348239 https://github.com/simonw/datasette/issues/1844#issuecomment-1279348239 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQU4P simonw 9599 2022-10-14T18:49:22Z 2022-10-14T18:49:22Z OWNER

This works: shot-scraper 'https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10' \ -s '.suggested-facets a' \ --selector-all 'tr:not(tr:nth-child(n+4)) td:not(:nth-child(n+11))' \ -p 10

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279339124 https://github.com/simonw/datasette/issues/1844#issuecomment-1279339124 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQSp0 simonw 9599 2022-10-14T18:38:22Z 2022-10-14T18:42:58Z OWNER

This seems to get every table cell in that table for the first 3 rows and the columns up to party:

document.querySelectorAll('tr:not(:nth-child(n+4)) td:not(:nth-child(n+10))')
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279334694 https://github.com/simonw/datasette/issues/1844#issuecomment-1279334694 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQRkm simonw 9599 2022-10-14T18:33:41Z 2022-10-14T18:34:32Z OWNER

I'm going to use this page for the facets screenshot: https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10

Trying for this bit:

Which incorporates .suggested-facets but also the first 3 rows and 10 columns of the table, I wonder if I can specify that in a single selector?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279325685 https://github.com/simonw/datasette/issues/1844#issuecomment-1279325685 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQPX1 simonw 9599 2022-10-14T18:23:22Z 2022-10-14T18:23:22Z OWNER

Here's the new advanced export image:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279325003 https://github.com/simonw/datasette/issues/1844#issuecomment-1279325003 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQPNL simonw 9599 2022-10-14T18:22:35Z 2022-10-14T18:22:35Z OWNER

So: shot-scraper 'https://latest.datasette.io/fixtures/binary_data' \ -j "Array.from(document.querySelectorAll('tr:nth-child(n+3)'), el => el.parentNode.removeChild(el));" \ -s table -p 10

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279323714 https://github.com/simonw/datasette/issues/1844#issuecomment-1279323714 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQO5C simonw 9599 2022-10-14T18:21:03Z 2022-10-14T18:21:03Z OWNER

For this image:

https://latest.datasette.io/fixtures/binary_data has an extra row these days:

This deletes every row past the first two (first three including the header row): javascipt Array.from(document.querySelectorAll('tr:nth-child(n+3)'), el => el.parentNode.removeChild(el));

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279314400 https://github.com/simonw/datasette/issues/1844#issuecomment-1279314400 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQMng simonw 9599 2022-10-14T18:10:07Z 2022-10-14T18:13:36Z OWNER

For the advanced export one:

shot-scraper 'https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper' -s '#export' -p 10

Produces:

Current image is:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  
1279316670 https://github.com/simonw/datasette/issues/1844#issuecomment-1279316670 https://api.github.com/repos/simonw/datasette/issues/1844 IC_kwDOBm6k_c5MQNK- simonw 9599 2022-10-14T18:12:39Z 2022-10-14T18:12:39Z OWNER

New screenshot of FTS, from https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper&_sort_desc=date

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update screenshots in documentation to match latest designs 1409679008  

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 22.11ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows