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/690#issuecomment-593247614,https://api.github.com/repos/simonw/datasette/issues/690,593247614,MDEyOklzc3VlQ29tbWVudDU5MzI0NzYxNA==,9599,simonw,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}",573755726,Mechanism for plugins to add action menu items for various things, https://github.com/simonw/datasette/issues/692#issuecomment-593446034,https://api.github.com/repos/simonw/datasette/issues/692,593446034,MDEyOklzc3VlQ29tbWVudDU5MzQ0NjAzNA==,9599,simonw,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} return is_hidden_table ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",574035432,is_hidden_table context variable on table.html page, https://github.com/simonw/datasette/issues/693#issuecomment-593452830,https://api.github.com/repos/simonw/datasette/issues/693,593452830,MDEyOklzc3VlQ29tbWVudDU5MzQ1MjgzMA==,9599,simonw,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 `.ds.render_template()` call - and that's where the plugin hook is executed: https://github.com/simonw/datasette/blob/613f6fad7249da547c06ebc46616aba0f74259a4/datasette/app.py#L520-L564","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",574043218,Variables from extra_template_vars() not exposed in _context=1,