From 0f82146fe5c79510ad8c9a5c40c931e986eb3f5e Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Wed, 4 Mar 2026 20:46:55 +0100 Subject: [PATCH] logg all checks and show if done or not --- pkg/web/handler/task.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/web/handler/task.go b/pkg/web/handler/task.go index a830839..6b10a71 100644 --- a/pkg/web/handler/task.go +++ b/pkg/web/handler/task.go @@ -46,8 +46,11 @@ func feedbackList(feedback ValidationFeedback) templ.Component { return templ.ComponentFunc(func(ctx context.Context, w io.Writer) error { for _, check := range feedback.Checks { if !check.Valid { - io.WriteString(w, `

`+check.Message+`

`) + io.WriteString(w, `

`+"❌ "+check.Message+`

`) + } else { + io.WriteString(w, `

`+"✅ "+check.Message+`

`) } + } return nil })