From 01343b74bfbe0c1dc8dc1cea6ec47dc6da3228fe Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 24 Apr 2025 12:12:53 -0700 Subject: [PATCH] feat: improves dropdowns for other containers (#3840) --- assets/components.d.ts | 1 + assets/components/ContainerDropdown.vue | 24 ++++++ .../ContainerViewer/ContainerTitle.vue | 75 ++++++------------- .../components/GroupedViewer/GroupedLog.vue | 8 +- .../MultiContainerLog.vue | 8 +- .../components/ServiceViewer/ServiceLog.vue | 11 +-- assets/components/StackViewer/StackLog.vue | 13 +--- 7 files changed, 60 insertions(+), 80 deletions(-) create mode 100644 assets/components/ContainerDropdown.vue diff --git a/assets/components.d.ts b/assets/components.d.ts index 2ac014cc..31ab73a3 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -29,6 +29,7 @@ declare module 'vue' { 'Cil:xCircle': typeof import('~icons/cil/x-circle')['default'] ComplexLogItem: typeof import('./components/LogViewer/ComplexLogItem.vue')['default'] ContainerActionsToolbar: typeof import('./components/ContainerViewer/ContainerActionsToolbar.vue')['default'] + ContainerDropdown: typeof import('./components/ContainerDropdown.vue')['default'] ContainerEventLogItem: typeof import('./components/LogViewer/ContainerEventLogItem.vue')['default'] ContainerHealth: typeof import('./components/ContainerViewer/ContainerHealth.vue')['default'] ContainerLog: typeof import('./components/ContainerViewer/ContainerLog.vue')['default'] diff --git a/assets/components/ContainerDropdown.vue b/assets/components/ContainerDropdown.vue new file mode 100644 index 00000000..6992e960 --- /dev/null +++ b/assets/components/ContainerDropdown.vue @@ -0,0 +1,24 @@ + + diff --git a/assets/components/ContainerViewer/ContainerTitle.vue b/assets/components/ContainerViewer/ContainerTitle.vue index e9aeff6f..d0784fb5 100644 --- a/assets/components/ContainerViewer/ContainerTitle.vue +++ b/assets/components/ContainerViewer/ContainerTitle.vue @@ -1,44 +1,45 @@