From b1b5398c56490bccd607845faa8d43383b9eb94a Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 27 Jul 2020 19:53:19 +0200 Subject: [PATCH] Add more prefetching of components --- public/index.html | 1 - src/components/misc/error.vue | 12 ++++ src/components/misc/loading.vue | 19 ++++++ src/components/namespace/namespace-search.vue | 11 ++- src/components/sharing/userTeam.vue | 10 ++- src/components/tasks/edit-task.vue | 9 ++- src/components/tasks/partials/comments.vue | 9 ++- .../tasks/partials/editAssignees.vue | 10 ++- src/components/tasks/partials/editLabels.vue | 10 ++- src/components/tasks/partials/listSearch.vue | 10 ++- .../tasks/partials/relatedTasks.vue | 10 ++- src/router/index.js | 67 ++++++++++++++++--- src/views/labels/ListLabels.vue | 9 ++- src/views/list/EditList.vue | 9 ++- src/views/namespaces/EditNamespace.vue | 9 ++- src/views/tasks/TaskDetailView.vue | 9 ++- src/views/teams/EditTeam.vue | 17 ++++- 17 files changed, 199 insertions(+), 32 deletions(-) create mode 100644 src/components/misc/error.vue create mode 100644 src/components/misc/loading.vue diff --git a/public/index.html b/public/index.html index c1f11877..a120cb5f 100644 --- a/public/index.html +++ b/public/index.html @@ -8,7 +8,6 @@ - diff --git a/src/components/misc/error.vue b/src/components/misc/error.vue new file mode 100644 index 00000000..34e8bcfc --- /dev/null +++ b/src/components/misc/error.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/components/misc/loading.vue b/src/components/misc/loading.vue new file mode 100644 index 00000000..9e8eeff5 --- /dev/null +++ b/src/components/misc/loading.vue @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/src/components/namespace/namespace-search.vue b/src/components/namespace/namespace-search.vue index 6cc4b558..e058a7f7 100644 --- a/src/components/namespace/namespace-search.vue +++ b/src/components/namespace/namespace-search.vue @@ -22,10 +22,10 @@