From 953bdc9ab94646fc5dc3da1540721999f2788227 Mon Sep 17 00:00:00 2001 From: Alexander Vogt Date: Thu, 28 Sep 2023 15:15:34 +0200 Subject: [PATCH] add view wrapper for async views --- report-viewer/src/App.vue | 4 +- .../src/components/LoadingCircle.vue | 18 +++++++ report-viewer/src/router/index.ts | 16 +++--- .../src/viewWrapper/ClusterViewWrapper.vue | 32 ++++++++++++ .../src/viewWrapper/ComparisonViewWrapper.vue | 49 +++++++++++++++++++ .../viewWrapper/InformationViewWrapper.vue | 23 +++++++++ .../src/viewWrapper/OverviewViewWrapper.vue | 23 +++++++++ report-viewer/src/views/ClusterView.vue | 36 ++++++++------ report-viewer/src/views/ComparisonView.vue | 28 ++++++----- report-viewer/src/views/FileUploadView.vue | 8 +-- report-viewer/src/views/InformationView.vue | 16 ++++-- report-viewer/src/views/OverviewView.vue | 25 ++++++---- 12 files changed, 219 insertions(+), 59 deletions(-) create mode 100644 report-viewer/src/components/LoadingCircle.vue create mode 100644 report-viewer/src/viewWrapper/ClusterViewWrapper.vue create mode 100644 report-viewer/src/viewWrapper/ComparisonViewWrapper.vue create mode 100644 report-viewer/src/viewWrapper/InformationViewWrapper.vue create mode 100644 report-viewer/src/viewWrapper/OverviewViewWrapper.vue diff --git a/report-viewer/src/App.vue b/report-viewer/src/App.vue index 988799c65..094cf305b 100644 --- a/report-viewer/src/App.vue +++ b/report-viewer/src/App.vue @@ -3,9 +3,7 @@
- - - +