issue_comments
10 rows where author_association = "OWNER", issue = 1397084281 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- If user can see table but NOT database/instance nav links should not display · 10 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1278198700 | https://github.com/simonw/datasette/issues/1831#issuecomment-1278198700 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5ML8Os | simonw 9599 | 2022-10-13T21:29:09Z | 2022-10-13T21:29:09Z | OWNER | I'm going to commit the code now, but then I need to add some extra tests to ensure the breadcrumb permission display logic works correctly. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1278198145 | https://github.com/simonw/datasette/issues/1831#issuecomment-1278198145 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5ML8GB | simonw 9599 | 2022-10-13T21:28:30Z | 2022-10-13T21:28:30Z | OWNER | This has turned into a full refactor of how breadcrumbs work. I'm using my first ever Jinja macro for this - I import that at the top of
Here's the full content of ```html+jinja
{% macro nav(request, database=None, table=None) -%}
{% set items=crumb_items(request=request, database=database, table=table) %}
{% if items %}
{% for item in items %} {{ item.label }} {% if not loop.last %} / {% endif %} {% endfor %} {% endif %}
{%- endmacro %}
In the actual templates I display breadcrumbs like this:
I've also made the default base template show the |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1278175798 | https://github.com/simonw/datasette/issues/1831#issuecomment-1278175798 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5ML2o2 | simonw 9599 | 2022-10-13T21:02:52Z | 2022-10-13T21:02:52Z | OWNER | This patch to |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276882359 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276882359 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MG623 | simonw 9599 | 2022-10-13T00:36:09Z | 2022-10-13T00:36:19Z | OWNER | It's important that, however this works, it supports custom templates changing how the breadcrumbs are displayed. Probably needs a |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276856836 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276856836 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MG0oE | simonw 9599 | 2022-10-12T23:57:28Z | 2022-10-12T23:57:28Z | OWNER | As part of this I think I want |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276706181 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276706181 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MGP2F | simonw 9599 | 2022-10-12T20:34:00Z | 2022-10-12T23:43:39Z | OWNER | Maybe new template functions: Or just |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276848084 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276848084 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MGyfU | simonw 9599 | 2022-10-12T23:39:02Z | 2022-10-12T23:39:02Z | OWNER | Made some notes on the Jinja documentation while thinking about the best way to do this: - https://github.com/simonw/public-notes/issues/4 |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276696138 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276696138 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MGNZK | simonw 9599 | 2022-10-12T20:25:39Z | 2022-10-12T20:25:39Z | OWNER | Related issue:
I'd like a code design for this that helps solve both these issues at once. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276694152 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276694152 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MGM6I | simonw 9599 | 2022-10-12T20:23:44Z | 2022-10-12T20:23:44Z | OWNER | The fact that this code is inconsistent already ( |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 | |
| 1276693475 | https://github.com/simonw/datasette/issues/1831#issuecomment-1276693475 | https://api.github.com/repos/simonw/datasette/issues/1831 | IC_kwDOBm6k_c5MGMvj | simonw 9599 | 2022-10-12T20:23:01Z | 2022-10-12T20:23:01Z | OWNER | Here are all the places that display that navigation bar at the moment: Interesting to note that failing to include that |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
If user can see table but NOT database/instance nav links should not display 1397084281 |
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