From be26fdc9dfa0f98af7b588c1df5668f1f15c8341 Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 5 Aug 2026 22:22:03 +0300 Subject: [PATCH] web/components: give the commits table a pipeline status column Signed-off-by: eti --- .../lib/components/repo/CommitLogView.svelte | 46 ++++++++++++------- .../repo/pipelines/PipelineWorkflows.svelte | 15 ++++-- 2 files changed, 40 insertions(+), 21 deletions(-) diff --git a/web/src/lib/components/repo/CommitLogView.svelte b/web/src/lib/components/repo/CommitLogView.svelte index ee33d16b..bfba1bf6 100644 --- a/web/src/lib/components/repo/CommitLogView.svelte +++ b/web/src/lib/components/repo/CommitLogView.svelte @@ -96,6 +96,25 @@ {/snippet} +{#snippet pipelineCell(commit: CommitSummary)} + {#if pipelineStatuses} + {#await pipelineStatuses then statuses} + {#if statuses[commit.hash]} + + + {/if} + {/await} + {/if} +{/snippet} + {#snippet messageCell(commit: CommitSummary)}
{name} {/each} - {#if pipelineStatuses} - {#await pipelineStatuses then statuses} - {#if statuses[commit.hash]} - - - - {/if} - {/await} - {/if}
{#if commit.body && expanded[commit.hash]}

@@ -147,7 +152,7 @@

No commits at {ref}.

{:else}