From 4a43ff984ab2a88e977efd12f8d9736ef27ba869 Mon Sep 17 00:00:00 2001 From: Emanuele Ferrelli Date: Fri, 14 Mar 2025 15:08:17 +0100 Subject: [PATCH] Update Apollo layput Resolved Similarity Search bug --- package.json | 5 +- src/assets/tailwind.css | 4 + src/layout/AppTopbar.vue | 24 +- src/stores/KsDocumentStore.js | 2 - src/views/pages/ksDocuments/KsDocuments.vue | 245 ++++----- .../pages/ksDocuments/KsNewDocumentForm.vue | 512 +++++++++++++----- .../similaritySearch/KsSimilaritySearch.vue | 27 +- 7 files changed, 538 insertions(+), 281 deletions(-) diff --git a/package.json b/package.json index a3de1d2..d13f55a 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "axios": "^1.7.2", "chart.js": "3.3.2", "moment": "^2.30.1", - "pinia": "^2.2.6", + "pinia": "^2.3.0", "primeicons": "^6.0.1", "primevue": "^4.0.0", "prismjs": "^1.29.0", @@ -25,6 +25,7 @@ "vue": "^3.4.34", "vue-authenticate-2": "^2.2.0", "vue-router": "^4.4.0", + "vue3-spinner": "^0.0.17", "webstomp-client": "^1.2.6" }, "devDependencies": { @@ -41,6 +42,6 @@ "tailwindcss": "^3.4.6", "tailwindcss-primeui": "^0.3.2", "unplugin-vue-components": "^0.27.3", - "vite": "^5.3.1" + "vite": "^5.4.10" } } diff --git a/src/assets/tailwind.css b/src/assets/tailwind.css index b5c61c9..8940a4d 100644 --- a/src/assets/tailwind.css +++ b/src/assets/tailwind.css @@ -1,3 +1,7 @@ @tailwind base; @tailwind components; @tailwind utilities; + +img.p-fileupload-file-thumbnail { + display:none !important; + } diff --git a/src/layout/AppTopbar.vue b/src/layout/AppTopbar.vue index 95188f3..1ef9286 100644 --- a/src/layout/AppTopbar.vue +++ b/src/layout/AppTopbar.vue @@ -5,9 +5,12 @@ import { useAuth } from '@websanova/vue-auth/src/v3.js'; import { useRouter } from 'vue-router'; import { watch, ref, computed } from 'vue'; import { useRoute } from 'vue-router'; -//import AppConfigurator from './AppConfigurator.vue'; + +import { LoadingStore } from '../stores/LoadingStore.js'; import AppProfileMenu from './AppProfileMenu.vue'; import { UserPrefStore } from '../stores/UserPrefStore.js'; +import { JellyfishLoader, RiseLoader } from "vue3-spinner"; + const { onMenuToggle, toggleDarkMode, isDarkTheme } = useLayout(); const auth = useAuth(); @@ -16,6 +19,8 @@ const userPrefStore = UserPrefStore(); const router = useRouter(); const selectedApp = ref(userPrefStore.getSelApp); const route = useRoute(); +const loadingStore = LoadingStore() + async function updateApplication() { await userPrefStore.setSelectedApp(selectedApp.value); @@ -71,9 +76,17 @@ watch(() => userPrefStore.getSelApp, appUpdated, { immediate: true });
-
+
- + :disabled="isDropdownDisabled" /> --> -