diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 5ab1c24a..96fce353 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -4,17 +4,12 @@ TODO: Report -- Server Render Timeout - handle timeout waiting for report (infinite loop scenario?) - make report that has an infinite loop then have it timeout at the server properly and return clean error timeout - Possibly add a property to the report to force a longer than default timeout? - useful for edge cases in the wild to have at hand - maybe this: - https://jeremylindsayni.wordpress.com/2016/05/28/how-to-set-a-maximum-time-to-allow-a-c-function-to-run-for/ - Have asked on stackoverflow - hardkoded replied himself and said use waitforexpression https://stackoverflow.com/questions/63929479/timeout-with-evaluateexpressionasync/63937743#63937743 - https://pptr.dev/ + +- Show an active icon while report is rendering from report chooser form like when generating sample data etc + in addition to active icon, make sure options besides cancel are all unavailable during render process + +- report editor form needs redering progress widget as well - page breaks properly EXAMPLE NEEDED this is the current CSS property, not the one jsreport was using: https://developer.mozilla.org/en-US/docs/Web/CSS/break-before diff --git a/ayanova/src/api/errorhandler.js b/ayanova/src/api/errorhandler.js index 814d4502..716b829b 100644 --- a/ayanova/src/api/errorhandler.js +++ b/ayanova/src/api/errorhandler.js @@ -29,12 +29,11 @@ function dealWithError(msg, vm) { } window.$gz.store.commit("logItem", msg); if (window.$gz.dev) { - let errMsg = "Unexpected error: \r\n" + msg; + let errMsg = "DEV MODE errorHandler.js:: Unexpected error: \r\n" + msg; // eslint-disable-next-line no-console console.error(errMsg); - console.trace(); - debugger; - return; + //console.trace(); + //debugger; } //If a form instance was provided (vue instance) @@ -42,6 +41,7 @@ function dealWithError(msg, vm) { if (!vm || vm.formState == undefined) { //popup if no place to display it elsewise window.$gz.eventBus.$emit("notify-error", msg); + //debugger; return; } diff --git a/ayanova/src/components/report-selector-control.vue b/ayanova/src/components/report-selector-control.vue index 54f0c43d..583121e6 100644 --- a/ayanova/src/components/report-selector-control.vue +++ b/ayanova/src/components/report-selector-control.vue @@ -1,58 +1,73 @@