issue_comments
3 rows where author_association = "OWNER", "created_at" is on date 2020-03-02 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
user 1
- simonw · 3 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
593452830 | https://github.com/simonw/datasette/issues/693#issuecomment-593452830 | https://api.github.com/repos/simonw/datasette/issues/693 | MDEyOklzc3VlQ29tbWVudDU5MzQ1MjgzMA== | simonw 9599 | 2020-03-02T15:16:20Z | 2020-03-02T15:16:20Z | OWNER | Here's why:
https://github.com/simonw/datasette/blob/613f6fad7249da547c06ebc46616aba0f74259a4/datasette/views/base.py#L84-L96
It's bypassing the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Variables from extra_template_vars() not exposed in _context=1 574043218 | |
593446034 | https://github.com/simonw/datasette/issues/692#issuecomment-593446034 | https://api.github.com/repos/simonw/datasette/issues/692 | MDEyOklzc3VlQ29tbWVudDU5MzQ0NjAzNA== | simonw 9599 | 2020-03-02T15:03:48Z | 2020-03-02T15:03:48Z | OWNER | Workaround I used: ```python @hookimpl def extra_template_vars(datasette, database, table): async def is_hidden_table(): if database and table: try: db = datasette.databases[database] except KeyError: return {"is_hidden_table": False} return {"is_hidden_table": table in (await db.hidden_table_names())} else: return {"is_hidden_table": False}
``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
is_hidden_table context variable on table.html page 574035432 | |
593247614 | https://github.com/simonw/datasette/issues/690#issuecomment-593247614 | https://api.github.com/repos/simonw/datasette/issues/690 | MDEyOklzc3VlQ29tbWVudDU5MzI0NzYxNA== | simonw 9599 | 2020-03-02T06:49:12Z | 2020-03-02T06:49:12Z | OWNER | The answer may lie in a plugin hook which returns a list of HTML fragments to be added to the page in a particular place. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Mechanism for plugins to add action menu items for various things 573755726 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
issue 3