From da33f495a65effe314b7b19670e1bac7e42ebd85 Mon Sep 17 00:00:00 2001 From: Bruce Schultz Date: Tue, 20 Oct 2026 07:52:45 +0200 Subject: [PATCH 01/14] refactor: remove dead code and unused files Remove the unreferenced hub Pinia store, leftover mock data in public/analyses.json, the unused next-auth.patch (pnpm-workspace.yaml only applies next-auth-no-proxy.patch), the empty statusTag type module, the unused missing-registry-credentials toast and unused interfaces. Internal-only types are no longer exported. Drop the no-op toast mouse handlers, an unused import and unused CSS rules. Claude-Session: https://claude.ai/code/session_01HyHCR2zAKwwvrasBdDvM2q --- app/app.vue | 9 +- app/assets/css/main.css | 4 - app/components/header/DarkModeToggle.vue | 1 - app/components/header/MenuHeader.vue | 22 --- app/components/landing/IdpAuthBtns.vue | 13 -- app/composables/connectionErrorToast.ts | 12 -- app/composables/useProjectAnalysisSummary.ts | 6 +- app/composables/useServiceHealth.ts | 2 +- app/pages/index.vue | 4 - app/services/modifiedApiInterfaces.ts | 26 --- app/stores/hubStore.ts | 17 -- app/types/statusTag.ts | 0 app/utils/count-analyses.ts | 2 +- patches/next-auth.patch | 25 --- public/analyses.json | 180 ------------------- 15 files changed, 6 insertions(+), 317 deletions(-) delete mode 100644 app/stores/hubStore.ts delete mode 100644 app/types/statusTag.ts delete mode 100644 patches/next-auth.patch delete mode 100644 public/analyses.json diff --git a/app/app.vue b/app/app.vue index e8e6c7f8..c160797f 100644 --- a/app/app.vue +++ b/app/app.vue @@ -3,8 +3,6 @@ import MenuHeader from "~/components/header/MenuHeader.vue"; import Footer from "~/components/Footer.vue"; import type { ToastMessageOptions } from "primevue/toast"; -const pauseToastTimer = () => {}; - const toastPt = { message: ({ props }: { props: { message: ToastMessageOptions } }) => { const life = props.message.life; @@ -16,12 +14,7 @@ const toastPt = {