{{template "app-header" .}}
{{icon "chevron-left"}}

Compare sessions

Before: {{truncate 12 .Before.SessionID}} After: {{truncate 12 .After.SessionID}} Mode: {{if .Before.ReviewMode}}{{.Before.ReviewMode}}{{else}}-{{end}} to {{if .After.ReviewMode}}{{.After.ReviewMode}}{{else}}-{{end}}
{{if .Warning}}
warning {{.Warning}}
{{end}}
{{/* The range variable below is a model.LlmComment: .Path, not the viewer's .FilePath. */}} {{/* Bucket titles are fixed strings from handleCompare; the tone class is chosen from them here so the Go side stays untouched. The "{{.Title}} (N)" text is asserted verbatim by compare_test.go — keep it contiguous. */}} {{range $bucketIndex, $bucket := .Buckets}}

{{$bucket.Title}} ({{len $bucket.Findings}})

{{range $bucket.Findings}} {{else}}

none

{{end}}
{{if $bucket.Findings}}{{template "pager" (dict "prefix" (printf "compare-%d" $bucketIndex) "label" "Comparison finding pages")}}{{end}}
{{end}}
{{define "breadcrumbs"}}/{{.RepoName}}/compare{{end}}