A vibe coded tangled fork which supports pijul.
1{{ define "repo/pulls/fragments/summarizedHeader" }}
2 {{ $pull := index . 0 }}
3 {{ $pipeline := index . 1 }}
4 {{ with $pull }}
5 <div class="flex text-sm items-center justify-between w-full">
6 <div class="flex items-center gap-2 min-w-0 flex-1 pr-2">
7 <div class="flex-shrink-0">
8 {{ template "repo/pulls/fragments/summarizedPullState" .State }}
9 </div>
10 <span class="truncate text-sm text-gray-800 dark:text-gray-200">
11 <span class="text-gray-500 dark:text-gray-400">#{{ .PullId }}</span>
12 {{ .Title }}
13 </span>
14 </div>
15
16 <div class="flex-shrink-0 flex items-center gap-2">
17 {{ $latestRound := .LastRoundNumber }}
18 {{ $lastSubmission := index .Submissions $latestRound }}
19 {{ $commentCount := len $lastSubmission.Comments }}
20 {{ if and $pipeline $pipeline.Id }}
21 {{ template "repo/pipelines/fragments/pipelineSymbol" $pipeline }}
22 <span
23 class="before:content-['·'] before:select-none text-gray-500 dark:text-gray-400"></span>
24 {{ end }}
25 <span>
26 <div class="inline-flex items-center gap-1">
27 {{ i "message-square" "w-3 h-3 md:hidden" }}
28 {{ $commentCount }}
29 <span class="hidden md:inline">
30 comment{{ if ne $commentCount 1 }}s{{ end }}
31 </span>
32 </div>
33 </span>
34 <span
35 class="before:content-['·'] before:select-none text-gray-500 dark:text-gray-400"></span>
36 <span>
37 <span class="hidden md:inline">round</span>
38 <span class="font-mono">#{{ $latestRound }}</span>
39 </span>
40 </div>
41 </div>
42 {{ end }}
43{{ end }}