From 34542a9670bb2ae3d56ad724d05accadb7c87076 Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Wed, 11 Mar 2026 11:40:08 +0100 Subject: [PATCH] add completion message to task modal and make it wider --- pkg/web/components/modal.templ | 2 +- pkg/web/components/modal_templ.go | 2 +- pkg/web/handler/task.go | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/web/components/modal.templ b/pkg/web/components/modal.templ index 36c049b..1a0f6ec 100644 --- a/pkg/web/components/modal.templ +++ b/pkg/web/components/modal.templ @@ -14,7 +14,7 @@ templ Modal(props ModalProps) { {{ maxWidth := props.MaxWidth if maxWidth == "" { - maxWidth = "max-w-xl" + maxWidth = "max-w-2xl" } }}
`+feedback.Message+`

`) + io.WriteString(w, `

You can close the browser and return to the terminal window

`) + } + for _, check := range feedback.Checks { if !check.Valid { io.WriteString(w, `

`+"❌ "+check.Message+`

`)