issue_comments
18 rows where issue = 733499930 and "updated_at" is on date 2020-10-30 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- load_template hook doesn't work for include/extends · 18 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
719833744 | https://github.com/simonw/datasette/issues/1072#issuecomment-719833744 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgzMzc0NA== | simonw 9599 | 2020-10-30T22:50:57Z | 2020-10-30T22:50:57Z | OWNER | Yeah I'm going to remove the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719833070 | https://github.com/simonw/datasette/issues/1072#issuecomment-719833070 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgzMzA3MA== | simonw 9599 | 2020-10-30T22:48:04Z | 2020-10-30T22:48:04Z | OWNER | So yeah that plugin hook can probably modify the list of loaders available to the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719832853 | https://github.com/simonw/datasette/issues/1072#issuecomment-719832853 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgzMjg1Mw== | simonw 9599 | 2020-10-30T22:47:12Z | 2020-10-30T22:47:12Z | OWNER | Maybe I should ditch this hook entirely in favour of the existing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719832651 | https://github.com/simonw/datasette/issues/1072#issuecomment-719832651 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgzMjY1MQ== | simonw 9599 | 2020-10-30T22:46:25Z | 2020-10-30T22:46:25Z | OWNER | I tried using a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719819331 | https://github.com/simonw/datasette/issues/1072#issuecomment-719819331 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxOTMzMQ== | simonw 9599 | 2020-10-30T22:00:43Z | 2020-10-30T22:00:43Z | OWNER | I'll try getting that to work. If I can't get it to work I'll drop the plugin hook for the moment. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719819234 | https://github.com/simonw/datasette/issues/1072#issuecomment-719819234 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxOTIzNA== | simonw 9599 | 2020-10-30T22:00:21Z | 2020-10-30T22:00:21Z | OWNER | There might be a way to save this. Async template loading can't be supported, but what if you could define a Then the It could even maintain an in-memory cache that gets updated when a template is edited. If I do this, I could remove the ability to return an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719814279 | https://github.com/simonw/datasette/issues/1072#issuecomment-719814279 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxNDI3OQ== | simonw 9599 | 2020-10-30T21:45:33Z | 2020-10-30T21:45:33Z | OWNER | Sadly I'm going to bump |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719813970 | https://github.com/simonw/datasette/issues/1072#issuecomment-719813970 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxMzk3MA== | simonw 9599 | 2020-10-30T21:44:40Z | 2020-10-30T21:44:40Z | OWNER | I'm pretty sure that |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719813212 | https://github.com/simonw/datasette/issues/1072#issuecomment-719813212 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxMzIxMg== | simonw 9599 | 2020-10-30T21:42:35Z | 2020-10-30T21:42:35Z | OWNER | Filed a feature request here: https://github.com/pallets/jinja/issues/1304 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719811312 | https://github.com/simonw/datasette/issues/1072#issuecomment-719811312 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxMTMxMg== | simonw 9599 | 2020-10-30T21:36:49Z | 2020-10-30T21:36:49Z | OWNER | There's one other option: in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719810533 | https://github.com/simonw/datasette/issues/1072#issuecomment-719810533 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxMDUzMw== | simonw 9599 | 2020-10-30T21:34:38Z | 2020-10-30T21:34:38Z | OWNER | ... no wait, my comments above assume that I'm just building the This may mean I need to delay the whole feature. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719810023 | https://github.com/simonw/datasette/issues/1072#issuecomment-719810023 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgxMDAyMw== | simonw 9599 | 2020-10-30T21:33:06Z | 2020-10-30T21:33:06Z | OWNER | The ideal solution is for Jinja to offer |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719809780 | https://github.com/simonw/datasette/issues/1072#issuecomment-719809780 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgwOTc4MA== | simonw 9599 | 2020-10-30T21:32:28Z | 2020-10-30T21:32:28Z | OWNER | Here's an alternative that would definitely work and would be a lot simpler, at the cost of a fair amount of RAM:
This does mean loading template bodies that we won't use. Provided an instance has less than 100 templates I imagine this will work just fine. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719809259 | https://github.com/simonw/datasette/issues/1072#issuecomment-719809259 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgwOTI1OQ== | simonw 9599 | 2020-10-30T21:31:10Z | 2020-10-30T21:31:10Z | OWNER | How can we tell what template Jinja will need to render? One approach that could work:
This is GROSS. It feels like a huge waste of CPU, and it could lead to very weird behaviour if any template variables have side effects. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719807502 | https://github.com/simonw/datasette/issues/1072#issuecomment-719807502 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgwNzUwMg== | simonw 9599 | 2020-10-30T21:26:49Z | 2020-10-30T21:26:49Z | OWNER | It looks like Jinja does not have a mechanism for asynchronous template loading - the loader API is synchronous. One option may be to figure out which templates are needed (including inherited templates and includes) before rendering the template. Then async load those templates from the database into a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719803880 | https://github.com/simonw/datasette/issues/1072#issuecomment-719803880 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTgwMzg4MA== | simonw 9599 | 2020-10-30T21:17:11Z | 2020-10-30T21:17:11Z | OWNER | Example from the Jinja docs: https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.BaseLoader ```python from jinja2 import BaseLoader, TemplateNotFound from os.path import join, exists, getmtime class MyLoader(BaseLoader):
Just one catch: I need to be able to load templates asynchronously, because they live in the database. Let's hope Jinja has a mechanism for that! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719785005 | https://github.com/simonw/datasette/issues/1072#issuecomment-719785005 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTc4NTAwNQ== | simonw 9599 | 2020-10-30T20:36:22Z | 2020-10-30T20:36:22Z | OWNER | It should be easy enough to show a comment that says which original template names were considered, but I may not be able to show which one was actually used (or which ones came from plugins). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 | |
719784606 | https://github.com/simonw/datasette/issues/1072#issuecomment-719784606 | https://api.github.com/repos/simonw/datasette/issues/1072 | MDEyOklzc3VlQ29tbWVudDcxOTc4NDYwNg== | simonw 9599 | 2020-10-30T20:35:33Z | 2020-10-30T20:35:33Z | OWNER | To fix this I think I need to move the I'm not sure I'll be able to keep the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
load_template hook doesn't work for include/extends 733499930 |
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