From a2212c0bad73193d63eac762900b3d80f11e905c Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Wed, 18 Feb 2026 22:23:08 +0100 Subject: [PATCH] move feedback msg check to operations --- pkg/tui/views/dashboard/operations.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/tui/views/dashboard/operations.go b/pkg/tui/views/dashboard/operations.go index cafec00..925bd32 100644 --- a/pkg/tui/views/dashboard/operations.go +++ b/pkg/tui/views/dashboard/operations.go @@ -297,6 +297,13 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if cmd != nil { return m, cmd } + case ValidationFeedbackMsg: + m.currentFeedback = msg.Feedback + if msg.Feedback.Success { + m.showComplete = true + return m, tea.Quit + } + return m, m.listenForValidation() case tea.WindowSizeMsg: m.width = msg.Width