home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where "created_at" is on date 2020-06-02, issue = 628499086 and "updated_at" is on date 2020-06-02 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 6

issue 1

  • "flash messages" mechanism · 6 ✖

author_association 1

  • OWNER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
637843494 https://github.com/simonw/datasette/issues/790#issuecomment-637843494 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzg0MzQ5NA== simonw 9599 2020-06-02T22:35:22Z 2020-06-02T22:35:22Z OWNER

Message CSS is now demonstrated on https://latest.datasette.io/-/patterns

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  
637813616 https://github.com/simonw/datasette/issues/790#issuecomment-637813616 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzgxMzYxNg== simonw 9599 2020-06-02T21:22:02Z 2020-06-02T21:22:02Z OWNER

Debug tool is live here: https://latest.datasette.io/-/messages

Documentation is here: https://github.com/simonw/datasette/blob/master/docs/internals.rst#add_messagerequest-message-message_typedatasetteinfo

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  
637793590 https://github.com/simonw/datasette/issues/790#issuecomment-637793590 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzc5MzU5MA== simonw 9599 2020-06-02T20:40:02Z 2020-06-02T20:40:02Z OWNER

From https://github.com/simonw/datasette/issues/698#issuecomment-621037724

Concept for displaying a success message:

CSS:

```css .success { padding: 1em; border: 1px solid green; background-color: #c7fbc7; }

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  
637790860 https://github.com/simonw/datasette/issues/790#issuecomment-637790860 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzc5MDg2MA== simonw 9599 2020-06-02T20:34:15Z 2020-06-02T20:34:15Z OWNER

The /-/messages debug tool will need CSRF protection or people will be able to add messages using a hidden form on another website.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  
637708090 https://github.com/simonw/datasette/issues/790#issuecomment-637708090 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzcwODA5MA== simonw 9599 2020-06-02T17:52:30Z 2020-06-02T17:52:30Z OWNER

I need to make sure that any time cookies are set there's no cache-control header (or it is set to private).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  
637699337 https://github.com/simonw/datasette/issues/790#issuecomment-637699337 https://api.github.com/repos/simonw/datasette/issues/790 MDEyOklzc3VlQ29tbWVudDYzNzY5OTMzNw== simonw 9599 2020-06-02T17:34:47Z 2020-06-02T17:34:47Z OWNER

I'm going to use a output renderer plugin to test this, since then my unit tests can run against custom code that both sets and displays messages.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"flash messages" mechanism 628499086  

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 21.274ms · About: github-to-sqlite