html_url,issue_url,id,node_id,user,user_label,created_at,updated_at,author_association,body,reactions,issue,issue_label,performed_via_github_app https://github.com/simonw/datasette/issues/996#issuecomment-705115185,https://api.github.com/repos/simonw/datasette/issues/996,705115185,MDEyOklzc3VlQ29tbWVudDcwNTExNTE4NQ==,9599,simonw,2020-10-07T18:26:11Z,2020-10-07T18:26:45Z,OWNER,"Relevant code: https://github.com/simonw/datasette/blob/14982bd900f17a66acc3930ec1a2ff138716d198/datasette/app.py#L1030-L1037 https://github.com/simonw/datasette/blob/14982bd900f17a66acc3930ec1a2ff138716d198/datasette/app.py#L951-L954 https://github.com/simonw/datasette/blob/14982bd900f17a66acc3930ec1a2ff138716d198/datasette/app.py#L1197-L1207","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",716756082,Better handling of multiple matching template wildcard paths, https://github.com/simonw/datasette/issues/996#issuecomment-705116123,https://api.github.com/repos/simonw/datasette/issues/996,705116123,MDEyOklzc3VlQ29tbWVudDcwNTExNjEyMw==,9599,simonw,2020-10-07T18:27:57Z,2020-10-07T18:28:36Z,OWNER,"This line was meant to handle this case, by only matching non-/ characters. Looks like it did not have the desired effect: https://github.com/simonw/datasette/blob/14982bd900f17a66acc3930ec1a2ff138716d198/datasette/app.py#L1204 Maybe because the finished regex doesn't include `^` and `$` anchors?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",716756082,Better handling of multiple matching template wildcard paths, https://github.com/simonw/datasette/issues/996#issuecomment-705119801,https://api.github.com/repos/simonw/datasette/issues/996,705119801,MDEyOklzc3VlQ29tbWVudDcwNTExOTgwMQ==,9599,simonw,2020-10-07T18:34:58Z,2020-10-07T18:34:58Z,OWNER,One option: compare the length of the matches and pick the shortest one.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",716756082,Better handling of multiple matching template wildcard paths, https://github.com/simonw/datasette/issues/991#issuecomment-705244583,https://api.github.com/repos/simonw/datasette/issues/991,705244583,MDEyOklzc3VlQ29tbWVudDcwNTI0NDU4Mw==,9599,simonw,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 %} +

{{ 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 %} +
+

{{ 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 %}

+
+ {% endif %} + {% endfor %} + + {% if database.tables_and_views_more %} +

All {{ database.tables_count }} tables in {{ database.name }}

+ {% endif %} + {% endfor %} {% endblock %} ``` ![image](https://user-images.githubusercontent.com/9599/95398019-9c594480-08b9-11eb-90c9-f322d647ee3b.png) ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",714377268,Redesign application homepage,