From 6acb7126f5acbaeb59d2968d1592a8f288d2bfc2 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 23 May 2024 13:26:28 -0700 Subject: [PATCH] fix: fixes menu bug when merging logs (#2978) --- assets/auto-imports.d.ts | 19 ------------------- assets/components/HostMenu.vue | 6 +++++- assets/pages/merged/{index.vue => [name].vue} | 0 3 files changed, 5 insertions(+), 20 deletions(-) rename assets/pages/merged/{index.vue => [name].vue} (100%) diff --git a/assets/auto-imports.d.ts b/assets/auto-imports.d.ts index 0be5c422..36811692 100644 --- a/assets/auto-imports.d.ts +++ b/assets/auto-imports.d.ts @@ -58,7 +58,6 @@ declare global { const getDeep: typeof import('./utils/index')['getDeep'] const globalShowPopup: typeof import('./composable/popup')['globalShowPopup'] const h: typeof import('vue')['h'] - const hash: typeof import('./utils/index')['hash'] const hashCode: typeof import('./utils/index')['hashCode'] const hourStyle: typeof import('./stores/settings')['hourStyle'] const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] @@ -73,9 +72,6 @@ declare global { const isRef: typeof import('vue')['isRef'] const lightTheme: typeof import('./stores/settings')['lightTheme'] const locale: typeof import('./stores/settings')['locale'] - const logContext: typeof import('./composable/logContext')['logContext'] - const logContextKey: typeof import('./composable/logContext')['logContextKey'] - const logSearchContext: typeof import('./composable/logSearchContext')['logSearchContext'] const loggingContextKey: typeof import('./composable/logContext')['loggingContextKey'] const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] const mapActions: typeof import('pinia')['mapActions'] @@ -106,15 +102,12 @@ declare global { const onUnmounted: typeof import('vue')['onUnmounted'] const onUpdated: typeof import('vue')['onUpdated'] const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] - const persistentVisibleKeys: typeof import('./composable/storage')['persistentVisibleKeys'] const persistentVisibleKeysForContainer: typeof import('./composable/storage')['persistentVisibleKeysForContainer'] const pinnedContainers: typeof import('./composable/storage')['pinnedContainers'] const provide: typeof import('vue')['provide'] const provideContainerContext: typeof import('./composable/containerContext')['provideContainerContext'] const provideLocal: typeof import('@vueuse/core')['provideLocal'] const provideLoggingContext: typeof import('./composable/logContext')['provideLoggingContext'] - const provideServiceContext: typeof import('./composable/serviceContext')['provideServiceContext'] - const provideStackContext: typeof import('./composable/stackContext')['provideStackContext'] const reactify: typeof import('@vueuse/core')['reactify'] const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] const reactive: typeof import('vue')['reactive'] @@ -132,7 +125,6 @@ declare global { const resolveRef: typeof import('@vueuse/core')['resolveRef'] const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] const search: typeof import('./stores/settings')['search'] - const serviceContext: typeof import('./composable/serviceContext')['serviceContext'] const sessionHost: typeof import('./composable/storage')['sessionHost'] const setActivePinia: typeof import('pinia')['setActivePinia'] const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] @@ -147,7 +139,6 @@ declare global { const size: typeof import('./stores/settings')['size'] const smallerScrollbars: typeof import('./stores/settings')['smallerScrollbars'] const softWrap: typeof import('./stores/settings')['softWrap'] - const stackContext: typeof import('./composable/stackContext')['stackContext'] const storeToRefs: typeof import('pinia')['storeToRefs'] const stripVersion: typeof import('./utils/index')['stripVersion'] const syncRef: typeof import('@vueuse/core')['syncRef'] @@ -200,7 +191,6 @@ declare global { const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] const useContainerActions: typeof import('./composable/containerActions')['useContainerActions'] const useContainerContext: typeof import('./composable/containerContext')['useContainerContext'] - const useContainerContextLogStream: typeof import('./composable/eventStreams')['useContainerContextLogStream'] const useContainerStore: typeof import('./stores/container')['useContainerStore'] const useContainerStream: typeof import('./composable/eventStreams')['useContainerStream'] const useCounter: typeof import('@vueuse/core')['useCounter'] @@ -257,7 +247,6 @@ declare global { const useLink: typeof import('vue-router')['useLink'] const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] const useLogSearchContext: typeof import('./composable/logSearchContext')['useLogSearchContext'] - const useLogStream: typeof import('./composable/stackEventStream')['useLogStream'] const useLoggingContext: typeof import('./composable/logContext')['useLoggingContext'] const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] @@ -282,10 +271,7 @@ declare global { const useParentElement: typeof import('@vueuse/core')['useParentElement'] const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver'] const usePermission: typeof import('@vueuse/core')['usePermission'] - const usePinned: typeof import('./stores/pinned')['usePinned'] - const usePinnedContainers: typeof import('./stores/pinned')['usePinnedContainers'] const usePinnedLogsStore: typeof import('./stores/pinned')['usePinnedLogsStore'] - const usePinnedStore: typeof import('./stores/pinned')['usePinnedStore'] const usePointer: typeof import('@vueuse/core')['usePointer'] const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] @@ -309,8 +295,6 @@ declare global { const useScrollLock: typeof import('@vueuse/core')['useScrollLock'] const useSearchFilter: typeof import('./composable/search')['useSearchFilter'] const useSeoMeta: typeof import('@vueuse/head')['useSeoMeta'] - const useServiceContext: typeof import('./composable/serviceContext')['useServiceContext'] - const useServiceContextLogStream: typeof import('./composable/eventStreams')['useServiceContextLogStream'] const useServiceStream: typeof import('./composable/eventStreams')['useServiceStream'] const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] const useShare: typeof import('@vueuse/core')['useShare'] @@ -319,9 +303,6 @@ declare global { const useSorted: typeof import('@vueuse/core')['useSorted'] const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis'] - const useStackContext: typeof import('./composable/stackContext')['useStackContext'] - const useStackContextLogStream: typeof import('./composable/eventStreams')['useStackContextLogStream'] - const useStackStore: typeof import('./stores/swarm')['useStackStore'] const useStackStream: typeof import('./composable/eventStreams')['useStackStream'] const useStepper: typeof import('@vueuse/core')['useStepper'] const useStorage: typeof import('@vueuse/core')['useStorage'] diff --git a/assets/components/HostMenu.vue b/assets/components/HostMenu.vue index 97605338..deb9c933 100644 --- a/assets/components/HostMenu.vue +++ b/assets/components/HostMenu.vue @@ -30,7 +30,11 @@ {{ label.startsWith("label.") ? $t(label) : label }}