From 025ecdd631f1a27724731b80bb587b983b087883 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 10 Jan 2025 07:38:31 +0100 Subject: [PATCH] Add priority menu to tabs (#4641) --- web/src/components/atomic/Icon.vue | 5 +- web/src/components/layout/scaffold/Header.vue | 4 +- web/src/components/layout/scaffold/Tabs.vue | 123 ++++++++++++++++-- .../views/repo/pipeline/PipelineWrapper.vue | 8 +- 4 files changed, 122 insertions(+), 18 deletions(-) diff --git a/web/src/components/atomic/Icon.vue b/web/src/components/atomic/Icon.vue index a2cfac894..40f2d1803 100644 --- a/web/src/components/atomic/Icon.vue +++ b/web/src/components/atomic/Icon.vue @@ -48,6 +48,7 @@ + @@ -93,6 +94,7 @@ import { mdiCloseCircle, mdiCog, mdiCogOutline, + mdiDotsVertical, mdiDownloadOutline, mdiEyeOffOutline, mdiEyeOutline, @@ -180,7 +182,8 @@ export type IconNames = | 'alert' | 'spinner' | 'visibility-private' - | 'visibility-internal'; + | 'visibility-internal' + | 'dots'; defineProps<{ name: IconNames; diff --git a/web/src/components/layout/scaffold/Header.vue b/web/src/components/layout/scaffold/Header.vue index eaebe2beb..b5d884665 100644 --- a/web/src/components/layout/scaffold/Header.vue +++ b/web/src/components/layout/scaffold/Header.vue @@ -41,9 +41,9 @@ -
+
-
+
diff --git a/web/src/components/layout/scaffold/Tabs.vue b/web/src/components/layout/scaffold/Tabs.vue index 33b426f66..08f6502db 100644 --- a/web/src/components/layout/scaffold/Tabs.vue +++ b/web/src/components/layout/scaffold/Tabs.vue @@ -1,35 +1,136 @@ diff --git a/web/src/views/repo/pipeline/PipelineWrapper.vue b/web/src/views/repo/pipeline/PipelineWrapper.vue index 2dd37cfeb..d46c61c49 100644 --- a/web/src/views/repo/pipeline/PipelineWrapper.vue +++ b/web/src/views/repo/pipeline/PipelineWrapper.vue @@ -18,7 +18,7 @@