You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah... we need to make the templates more dynamic. Thanks for reminding us about this. I'll change the title of the issue to reflect the more general ambition, and we'll see if we cannot address it soon. :).
I'd be happy to take a stab at this. What do we want dynamic templates to look like? It seems like the biggest lifts currently would be:
Automatic created_at and updated_at when creating a new post (and maybe updating updated_at when submitting the post, though this may be too opinionated)
Getting the current username and adding that as the user attribute
However, I could see this being even more powerful if we just treated these as Jinja templates and passed a reasonable context to them. Combined with FR #339, this would make the workflow of using templates much better.
When creating a post with knowledge_post create, it would be nice if the created_at and updated_at dates were set to the current date.
The text was updated successfully, but these errors were encountered: