home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 737394470 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 4

issue 1

  • Table/database action menu cut off if too short · 4 ✖

author_association 1

  • OWNER 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
731654132 https://github.com/simonw/datasette/issues/1084#issuecomment-731654132 https://api.github.com/repos/simonw/datasette/issues/1084 MDEyOklzc3VlQ29tbWVudDczMTY1NDEzMg== simonw 9599 2020-11-21T23:45:59Z 2020-11-21T23:45:59Z OWNER

https://datasette-graphql-demo.datasette.io/github/users now demonstrates the fix.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Table/database action menu cut off if too short  737394470  
731653083 https://github.com/simonw/datasette/issues/1084#issuecomment-731653083 https://api.github.com/repos/simonw/datasette/issues/1084 MDEyOklzc3VlQ29tbWVudDczMTY1MzA4Mw== simonw 9599 2020-11-21T23:35:07Z 2020-11-21T23:35:07Z OWNER

I got to use CSS calc() for this: https://github.com/simonw/datasette/blob/4bac9f18f9d04e5ed10f072502bcc508e365438e/datasette/static/app.css#L367-L371

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Table/database action menu cut off if too short  737394470  
731652991 https://github.com/simonw/datasette/issues/1084#issuecomment-731652991 https://api.github.com/repos/simonw/datasette/issues/1084 MDEyOklzc3VlQ29tbWVudDczMTY1Mjk5MQ== simonw 9599 2020-11-21T23:34:22Z 2020-11-21T23:34:22Z OWNER

Fixed by positioning the menu relative to the <div class="page-header"> element rather than the cog icon:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Table/database action menu cut off if too short  737394470  
731644064 https://github.com/simonw/datasette/issues/1084#issuecomment-731644064 https://api.github.com/repos/simonw/datasette/issues/1084 MDEyOklzc3VlQ29tbWVudDczMTY0NDA2NA== simonw 9599 2020-11-21T22:10:15Z 2020-11-21T22:10:15Z OWNER

Another example of this bug: https://datasette-graphql-demo.datasette.io/github/users

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Table/database action menu cut off if too short  737394470  

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