From 16016654fa8340d386d53c98f5c2dbb1e50d6eaa Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 6 Nov 2023 16:24:56 +0100 Subject: [PATCH 1/5] Replace linter icons to match theme --- web/components.d.ts | 3 +- web/src/components/atomic/Icon.vue | 4 ++- web/src/components/layout/scaffold/Tab.vue | 5 +++ web/src/components/layout/scaffold/Tabs.vue | 1 + web/src/compositions/useTabs.ts | 2 ++ .../views/repo/pipeline/PipelineErrors.vue | 35 ++++++++++++------- .../views/repo/pipeline/PipelineWrapper.vue | 13 +++---- 7 files changed, 39 insertions(+), 24 deletions(-) diff --git a/web/components.d.ts b/web/components.d.ts index d2cdd02957..642ebe71a2 100644 --- a/web/components.d.ts +++ b/web/components.d.ts @@ -23,7 +23,6 @@ declare module 'vue' { Checkbox: typeof import('./src/components/form/Checkbox.vue')['default'] CheckboxesField: typeof import('./src/components/form/CheckboxesField.vue')['default'] Container: typeof import('./src/components/layout/Container.vue')['default'] - copy: typeof import('./src/components/admin/settings/AdminAgentsTab copy.vue')['default'] CronTab: typeof import('./src/components/repo/settings/CronTab.vue')['default'] DeployPipelinePopup: typeof import('./src/components/layout/popups/DeployPipelinePopup.vue')['default'] DocsLink: typeof import('./src/components/atomic/DocsLink.vue')['default'] @@ -34,6 +33,7 @@ declare module 'vue' { IBiPlayCircleFill: typeof import('~icons/bi/play-circle-fill')['default'] IBiSlashCircleFill: typeof import('~icons/bi/slash-circle-fill')['default'] IBiStopCircleFill: typeof import('~icons/bi/stop-circle-fill')['default'] + IBiX: typeof import('~icons/bi/x')['default'] IBiXCircleFill: typeof import('~icons/bi/x-circle-fill')['default'] IBxBxPowerOff: typeof import('~icons/bx/bx-power-off')['default'] ICarbonCloseOutline: typeof import('~icons/carbon/close-outline')['default'] @@ -83,7 +83,6 @@ declare module 'vue' { Panel: typeof import('./src/components/layout/Panel.vue')['default'] PipelineFeedItem: typeof import('./src/components/pipeline-feed/PipelineFeedItem.vue')['default'] PipelineFeedSidebar: typeof import('./src/components/pipeline-feed/PipelineFeedSidebar.vue')['default'] - PipelineInfo: typeof import('./src/components/repo/pipeline/PipelineInfo.vue')['default'] PipelineItem: typeof import('./src/components/repo/pipeline/PipelineItem.vue')['default'] PipelineList: typeof import('./src/components/repo/pipeline/PipelineList.vue')['default'] PipelineLog: typeof import('./src/components/repo/pipeline/PipelineLog.vue')['default'] diff --git a/web/src/components/atomic/Icon.vue b/web/src/components/atomic/Icon.vue index 0ef345fa99..a172d90a93 100644 --- a/web/src/components/atomic/Icon.vue +++ b/web/src/components/atomic/Icon.vue @@ -22,6 +22,7 @@ + @@ -94,7 +95,8 @@ export type IconNames = | 'auto-scroll-off' | 'refresh' | 'play' - | 'pause'; + | 'pause' + | 'linter-error'; defineProps<{ name: IconNames; diff --git a/web/src/components/layout/scaffold/Tab.vue b/web/src/components/layout/scaffold/Tab.vue index 9060820144..8fce1b2ba0 100644 --- a/web/src/components/layout/scaffold/Tab.vue +++ b/web/src/components/layout/scaffold/Tab.vue @@ -7,11 +7,14 @@