From 554c57dde62b003ebef47fda6ad45de08f15d47f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 9 Sep 2020 17:49:54 +0000 Subject: [PATCH] --- ayanova/src/views/ay-report-edit.vue | 29 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/ayanova/src/views/ay-report-edit.vue b/ayanova/src/views/ay-report-edit.vue index dca58dcc..56cc87cf 100644 --- a/ayanova/src/views/ay-report-edit.vue +++ b/ayanova/src/views/ay-report-edit.vue @@ -136,21 +136,11 @@ import * as monaco from "monaco-editor"; /*TODO: - - -pre-scan the template for validity? Get the correct error, right now a missing helper is just: Evaluation failed: d - which is not particularly helpful - An error when direct rendering brings UI down unlike during render and error when in report designer, fix it -complete docs as much as needed for now then... - -Add sanitize html for Marked markdown helper as in Wiki control Is the report list filtered by roles? It should not present reports that a user is not permitted to use by role. - -When in report designer it would be useful to show the html generated by the renderer as a diagnostic assistant - Also the script that will be executed minus the hb and marked etc if possible +Add sanitize html for Marked markdown helper as in Wiki control @@ -163,14 +153,23 @@ INITIAL SAMPLE REPORTS Use same libs as at client with built in helpers using client meta data Since reports will only ever be rendered on Client demand can stick with that system for now and replicate at headless chrome that same process in hb helpers -docs - document basics - handlebars, links to hb etc - built in helpers sb documented + build release for joyce to play with and give feedback + + +FUTURE: + +Handlebars.logger.log is a thing and may contain useful diagnostic info + +pre-scan the template for validity? Get the correct error, right now a missing helper is just: Evaluation failed: d + which is not particularly helpful + +When in report designer it would be useful to show the html generated by the renderer as a diagnostic assistant + Also the script that will be executed minus the hb and marked etc if possible + */ const FORM_KEY = "ay-report-edit"; let JUST_DELETED = false;