home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

10 rows where "created_at" is on date 2020-10-30, state = "closed" and user = 9599 sorted by updated_at descending

✖
✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 2

  • issue 8
  • pull 2

state 1

  • closed · 10 ✖

repo 1

  • datasette 10
id node_id number title user state locked assignee milestone comments created_at updated_at ▲ closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
733499930 MDU6SXNzdWU3MzM0OTk5MzA= 1072 load_template hook doesn't work for include/extends simonw 9599 closed 0   0.51 6026070 20 2020-10-30T20:33:44Z 2020-10-31T20:48:18Z 2020-10-30T22:50:57Z OWNER  

Includes like this one always go to disk, without hitting the load_template plugin hook: ```html+jinja

<footer class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</footer>

```

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1072/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
732905360 MDU6SXNzdWU3MzI5MDUzNjA= 1067 Table actions menu on view pages, not on query pages simonw 9599 closed 0   0.51 6026070 6 2020-10-30T05:56:39Z 2020-10-31T17:51:31Z 2020-10-31T17:40:14Z OWNER  

Follow-on from #1066.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1067/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
733390884 MDU6SXNzdWU3MzMzOTA4ODQ= 1070 load_template() example in documentation showing loading from a database simonw 9599 closed 0   0.51 6026070 1 2020-10-30T17:45:03Z 2020-10-31T16:22:51Z 2020-10-31T16:22:45Z OWNER  

I should include an example in the documentation that shows loading templates from a database table. Originally posted by @simonw in https://github.com/simonw/datasette/pull/1069#issuecomment-719664530

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1070/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
733560417 MDU6SXNzdWU3MzM1NjA0MTc= 1073 Remove load_template plugin hook simonw 9599 closed 0   0.51 6026070 1 2020-10-30T22:51:52Z 2020-10-31T16:22:00Z 2020-10-31T16:22:00Z OWNER  

I couldn't get it working correctly with async (necessary for include/extend to function), and on deeper investigation it appears that I can build something equivalent to what I wanted using the existing prepare_jinja2_environment hook.

I'm going to remove the load_template plugin hook and see if it's possible to build the edit templates extension against prepare_jinja2_environment instead. Originally posted by @simonw in https://github.com/simonw/datasette/issues/1072#issuecomment-719833744

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1073/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
733485423 MDU6SXNzdWU3MzM0ODU0MjM= 1071 Messages should be displayed full width simonw 9599 closed 0   0.51 6026070 1 2020-10-30T20:11:35Z 2020-10-30T20:20:02Z 2020-10-30T20:13:05Z OWNER  

In the pattern portfolio:

But they're currently showing like this:

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1071/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
733303548 MDExOlB1bGxSZXF1ZXN0NTEzMTA2MDI2 1069 load_template() plugin hook simonw 9599 closed 0   0.51 6026070 6 2020-10-30T15:59:45Z 2020-10-30T17:47:20Z 2020-10-30T17:47:19Z OWNER simonw/datasette/pulls/1069

Refs #1042

datasette 107914493 pull    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1069/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
0  
732939921 MDU6SXNzdWU3MzI5Mzk5MjE= 1068 Default menu links should check a real permission simonw 9599 closed 0   0.51 6026070 5 2020-10-30T07:08:34Z 2020-10-30T15:44:13Z 2020-10-30T15:42:11Z OWNER  

https://github.com/simonw/datasette/blob/18a64fbb29271ce607937110bbdb55488c43f4e0/datasette/default_menu_links.py#L4-L6

This should check a named permission so that it can be customized by permission plugins.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1068/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
732859030 MDU6SXNzdWU3MzI4NTkwMzA= 1066 Table actions menu plus plugin hook simonw 9599 closed 0   0.51 6026070 3 2020-10-30T03:46:54Z 2020-10-30T05:18:36Z 2020-10-30T05:16:50Z OWNER  

For the table actions: attaching it to a cog icon next to the table name could make sense.

This is the column action icon at twice the size, color #666. Originally posted by @simonw in https://github.com/simonw/datasette/issues/690#issuecomment-709497595

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1066/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
732856937 MDExOlB1bGxSZXF1ZXN0NTEyNzM2NzA1 1065 Nav menu plus menu_links() hook simonw 9599 closed 0   0.51 6026070 1 2020-10-30T03:40:18Z 2020-10-30T03:45:17Z 2020-10-30T03:45:16Z OWNER simonw/datasette/pulls/1065

Closes #1064, refs #690.

datasette 107914493 pull    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1065/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
0  
732798913 MDU6SXNzdWU3MzI3OTg5MTM= 1064 Navigation menu plus plugin hook simonw 9599 closed 0   0.51 6026070 10 2020-10-30T00:49:36Z 2020-10-30T03:45:16Z 2020-10-30T03:45:16Z OWNER  

Needed for #690. Prototype in https://github.com/simonw/datasette/commit/0d7ac764861d84be24d661cf4104ce61ea11a82a

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1064/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Advanced export

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

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [pull_request] TEXT,
   [body] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
, [active_lock_reason] TEXT, [performed_via_github_app] TEXT, [reactions] TEXT, [draft] INTEGER, [state_reason] TEXT);
CREATE INDEX [idx_issues_repo]
                ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
                ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
                ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
                ON [issues] ([user]);
Powered by Datasette · Queries took 591.252ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows