From d0edc42d1ba27a4853e626c84f8b334f4d73426a Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 1 Jun 2023 09:45:29 -0700 Subject: [PATCH] feat: adds better icons for streams in the drop down (#2230) --- assets/components.d.ts | 9 +-- assets/components/DropdownMenu.vue | 12 ++-- .../components/LogViewer/ContainerTitle.vue | 2 +- .../LogViewer/LogActionsToolbar.vue | 65 ++++++++++++++++--- assets/components/{ => common}/DateTime.vue | 0 .../components/{ => common}/DistanceTime.vue | 0 assets/components/{ => common}/MobileMenu.vue | 0 assets/components/{ => common}/Tag.vue | 0 locales/en.yml | 4 +- locales/es.yml | 3 +- locales/pr.yml | 4 +- locales/ru.yml | 4 +- 12 files changed, 77 insertions(+), 26 deletions(-) rename assets/components/{ => common}/DateTime.vue (100%) rename assets/components/{ => common}/DistanceTime.vue (100%) rename assets/components/{ => common}/MobileMenu.vue (100%) rename assets/components/{ => common}/Tag.vue (100%) diff --git a/assets/components.d.ts b/assets/components.d.ts index 0e8d648b..b4742ecc 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -10,6 +10,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { 'Carbon:caretDown': typeof import('~icons/carbon/caret-down')['default'] + 'Carbon:circleSolid': typeof import('~icons/carbon/circle-solid')['default'] 'Cil:checkCircle': typeof import('~icons/cil/check-circle')['default'] 'Cil:circle': typeof import('~icons/cil/circle')['default'] 'Cil:columns': typeof import('~icons/cil/columns')['default'] @@ -20,8 +21,8 @@ declare module '@vue/runtime-core' { ContainerPopup: typeof import('./components/LogViewer/ContainerPopup.vue')['default'] ContainerStat: typeof import('./components/LogViewer/ContainerStat.vue')['default'] ContainerTitle: typeof import('./components/LogViewer/ContainerTitle.vue')['default'] - DateTime: typeof import('./components/DateTime.vue')['default'] - DistanceTime: typeof import('./components/DistanceTime.vue')['default'] + DateTime: typeof import('./components/common/DateTime.vue')['default'] + DistanceTime: typeof import('./components/common/DistanceTime.vue')['default'] DockerEventLogItem: typeof import('./components/LogViewer/DockerEventLogItem.vue')['default'] DropdownMenu: typeof import('./components/DropdownMenu.vue')['default'] FieldList: typeof import('./components/LogViewer/FieldList.vue')['default'] @@ -43,7 +44,7 @@ declare module '@vue/runtime-core' { 'Mdi:lightCog': typeof import('~icons/mdi-light/cog')['default'] 'Mdi:lightLogout': typeof import('~icons/mdi-light/logout')['default'] 'Mdi:lightMagnify': typeof import('~icons/mdi-light/magnify')['default'] - MobileMenu: typeof import('./components/MobileMenu.vue')['default'] + MobileMenu: typeof import('./components/common/MobileMenu.vue')['default'] 'Octicon:container24': typeof import('~icons/octicon/container24')['default'] 'Octicon:download24': typeof import('~icons/octicon/download24')['default'] 'Octicon:trash24': typeof import('~icons/octicon/trash24')['default'] @@ -58,7 +59,7 @@ declare module '@vue/runtime-core' { SkippedEntriesLogItem: typeof import('./components/LogViewer/SkippedEntriesLogItem.vue')['default'] StatMonitor: typeof import('./components/LogViewer/StatMonitor.vue')['default'] StatSparkline: typeof import('./components/LogViewer/StatSparkline.vue')['default'] - Tag: typeof import('./components/Tag.vue')['default'] + Tag: typeof import('./components/common/Tag.vue')['default'] ZigZag: typeof import('./components/LogViewer/ZigZag.vue')['default'] } } diff --git a/assets/components/DropdownMenu.vue b/assets/components/DropdownMenu.vue index cdf53b0d..72f13d31 100644 --- a/assets/components/DropdownMenu.vue +++ b/assets/components/DropdownMenu.vue @@ -1,11 +1,13 @@