Skip to content

feat: basic support for inserting variables into editor

Dennis Collaris requested to merge feat/lexical-insert-variables into main

Variable list is currently still hardcoded. My idea is that users can manage a list of variables somewhere, and you can choose these in the template.

PR was updated to include a selector for each query stat available from useGraphQueryResult

These pills you can insert (see video) are translated to a template tag when obtaining the template html from the lexical editor (below "Debug" in the video). We can then replace the template tag when sending the report.

Example

Screen_Recording_2024-09-23_at_14.34.55

Edited by Dennis Collaris

Merge request reports

Loading