feat(web): show a step's note under it, escaped (second review finding 1)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 17:20:02 +02:00
co-authored by Claude Sonnet 5.5
parent 9c8ac0f9fb
commit 9314454ab1
+3
View File
@@ -218,6 +218,9 @@ templ progressSteps(steps []domain.ProgressStep, now time.Time, live bool) {
if t := stepTime(s, now); t != "" { if t := stepTime(s, now); t != "" {
<span class="step-time">{ t }</span> <span class="step-time">{ t }</span>
} }
if s.Note != "" {
<span class="step-note">{ s.Note }</span>
}
if s.State == domain.StepRunning && s.Total > 0 { if s.State == domain.StepRunning && s.Total > 0 {
<progress class="step-bar" value={ strconv.Itoa(s.Done) } max={ strconv.Itoa(s.Total) }></progress> <progress class="step-bar" value={ strconv.Itoa(s.Done) } max={ strconv.Itoa(s.Total) }></progress>
<span class="step-count">{ strconv.Itoa(s.Done) } of { strconv.Itoa(s.Total) }</span> <span class="step-count">{ strconv.Itoa(s.Done) } of { strconv.Itoa(s.Total) }</span>