From 0dfed6666e5c342feed9655682ea09f2d6bb180b Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 5 Aug 2026 10:32:55 +0200 Subject: [PATCH] web/components/pipelines: add a symbol variant to PipelineWorkflows Recreates the appview's pipelineSymbol fragment. A donut ring split by workflow status, or the status icon on its own when every workflow agrees. Clicking it opens the same workflow dropdown the count variant already had. Dropdown got an xOffset prop so the menu can line up under the symbol. Signed-off-by: eti --- .../repo/pipelines/PipelineSymbol.svelte | 80 +++++++++++++++++++ .../PipelineWorkflows.stories.svelte | 31 +++++++ .../repo/pipelines/PipelineWorkflows.svelte | 40 +++++++--- .../lib/components/repo/pipelines/pipeline.ts | 4 + web/src/lib/components/ui/Dropdown.svelte | 7 +- 5 files changed, 147 insertions(+), 15 deletions(-) create mode 100644 web/src/lib/components/repo/pipelines/PipelineSymbol.svelte create mode 100644 web/src/lib/components/repo/pipelines/PipelineWorkflows.stories.svelte diff --git a/web/src/lib/components/repo/pipelines/PipelineSymbol.svelte b/web/src/lib/components/repo/pipelines/PipelineSymbol.svelte new file mode 100644 index 000000000..8c3fb79c6 --- /dev/null +++ b/web/src/lib/components/repo/pipelines/PipelineSymbol.svelte @@ -0,0 +1,80 @@ + + + + +{#if arcs.length === 0} + +