issue_comments
1 row where author_association = "OWNER", issue = 714377268, "updated_at" is on date 2020-10-07 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Redesign application homepage · 1 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
705244583 | https://github.com/simonw/datasette/issues/991#issuecomment-705244583 | https://api.github.com/repos/simonw/datasette/issues/991 | MDEyOklzc3VlQ29tbWVudDcwNTI0NDU4Mw== | simonw 9599 | 2020-10-07T23:24:56Z | 2020-10-07T23:24:56Z | OWNER | Sketched out an option: ```diff diff --git a/datasette/templates/index.html b/datasette/templates/index.html index c1adfc5..eab3053 100644 --- a/datasette/templates/index.html +++ b/datasette/templates/index.html @@ -5,6 +5,14 @@ {% block body_class %}index{% endblock %} {% block content %} +<style> +.db-table { + padding-left: 2em; +} +.db-table h3 { + margin: 0 0 0.15em 0; +} +</style> {{ metadata.title or "Datasette" }}{% if private %} 🔒{% endif %}{% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %} @@ -21,8 +29,20 @@ {{ "{:,}".format(database.views_count) }} view{% if database.views_count != 1 %}s{% endif %} {% endif %} -{% for table in database.tables_and_views_truncated %}{{ table.name }}{% if table.private %} 🔒{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}{% if database.tables_and_views_more %}, ...{% endif %} + {% for table in database.tables_and_views_truncated %} + {% if show_hidden or not table.hidden %} +
+
+ {% endif %}
+ {% endfor %}
+
+ {% if database.tables_and_views_more %}
+ {{ table.name }}{% if table.private %} 🔒{% endif %}{% if table.hidden %} (hidden){% endif %}+{% for column in table.columns[:9] %}{{ column }}{% if not loop.last %}, {% endif %}{% endfor %}{% if table.columns|length > 9 %}...{% endif %} +{% if table.count is none %}Many rows{% else %}{{ "{:,}".format(table.count) }} row{% if table.count == 1 %}{% else %}s{% endif %}{% endif %} +All {{ database.tables_count }} tables in {{ database.name }} + {% endif %} + {% endfor %}{% endblock %} ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Redesign application homepage 714377268 |
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]);
user 1