From 0ca1ab50f7f88633b29c6e9f19f13cefa0583194 Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Tue, 31 Oct 2023 08:30:06 +0100 Subject: [PATCH] chore: loading indicator, ext links --- client/src/components/ui/LoadingSpinner.vue | 21 ++++++++++++++++ client/src/pages/dashboard/DashboardPage.vue | 9 ++++++- .../dashboard/statistic/AssignmentList.vue | 3 ++- .../dashboard/statistic/AttendanceList.vue | 1 + .../dashboard/statistic/CompetenceList.vue | 1 + .../dashboard/statistic/FeedbackList.vue | 3 ++- .../statistic/StatisticParentPage.vue | 6 ++++- client/src/stores/dashboard.ts | 25 ++++++++++++------- 8 files changed, 56 insertions(+), 13 deletions(-) create mode 100644 client/src/components/ui/LoadingSpinner.vue diff --git a/client/src/components/ui/LoadingSpinner.vue b/client/src/components/ui/LoadingSpinner.vue new file mode 100644 index 00000000..34c7ca21 --- /dev/null +++ b/client/src/components/ui/LoadingSpinner.vue @@ -0,0 +1,21 @@ + diff --git a/client/src/pages/dashboard/DashboardPage.vue b/client/src/pages/dashboard/DashboardPage.vue index d7c51aba..9d3aa97c 100644 --- a/client/src/pages/dashboard/DashboardPage.vue +++ b/client/src/pages/dashboard/DashboardPage.vue @@ -8,6 +8,7 @@ import ItDropdownSelect from "@/components/ui/ItDropdownSelect.vue"; import { useDashboardStore } from "@/stores/dashboard"; import type { DashboardType } from "@/gql/graphql"; import SimpleListPage from "@/pages/dashboard/SimpleListPage.vue"; +import LoadingSpinner from "@/components/ui/LoadingSpinner.vue"; const dashboardStore = useDashboardStore(); @@ -26,7 +27,13 @@ onMounted(dashboardStore.loadDashboardDetails);