Skip to content

2.0.0-beta

Choose a tag to compare

@daredoes daredoes released this 26 Jun 06:56

BETA RELEASE!

This will break ALL EXISTING TEMPLATE USAGE.

Read the update notes here or read some of the conversion notes below

V1 to V2 conversion (or useful information)

  • You no longer need "Template Dashboards". Make any top-level card in a view on any user-created dashboard a template by adding ll_key: template_name to the config.

    • If you need to choose the order these templates are processed for nested templates you can use ll_priority: 0.
    • The templates are sorted by lowest number first, so if you want to use templateA in templateB, templateB should have ll_priority: 1 to be rendered after templateA has been added to our collection of available templates.
  • template_data or ll_data must now be set to ll_context

  • template must now be set to ll_template

  • ll_keys mostly works still. two tests involving overriding context failed if someone wants to fix them. I'm considering removing this feature entirely.

  • To convert an old template data variable, $example$, just swap the first $ to <%= and the second $ to %>, and retrieve the variable from context.

    • example: <%= context.example %>