From 6d7cb4babac4d6fcbbdfe0d26e2d515dbba98266 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 2 Sep 2020 23:52:29 +0000 Subject: [PATCH] --- ayanova/src/views/ay-report-edit.vue | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ayanova/src/views/ay-report-edit.vue b/ayanova/src/views/ay-report-edit.vue index 6f6a69ec..ca359579 100644 --- a/ayanova/src/views/ay-report-edit.vue +++ b/ayanova/src/views/ay-report-edit.vue @@ -133,14 +133,12 @@ import * as monaco from "monaco-editor"; /*TODO: - - -decision: render here or at server in designer for preview of report? - going to happen a lot during design build cycle, faster to do locally? - faster, but, it's logical to see what it would look like in reality by letting server render it then you know wysiwyg - However, when a user wants to quickly test a template out it would be better to do it locally. - hmm.. - +render report pdf technique I'm attempting directly from the webapi is much fuckery with mobile +instead: + render to a downloadable file either in file system or in db + return a uniquely coded url with a download token + client pops open a new window to that location and server returns it as a normal file + server deletes stored file on retrieval or in a few minutes via job, whichever comes first