From 0f27d75359f66c98ee4e53c20a8c6b6692ba797d Mon Sep 17 00:00:00 2001 From: mixeme Date: Wed, 24 Jun 2026 07:50:03 +0300 Subject: [PATCH] ui/jobs_view: render job logs as compact one-line entries (T1.2) Switch the jobLogs list template to TextTruncate wrapping and use EventLine (base log filename only) instead of EventText so each activity row stays on a single line in the jobs panel. Co-Authored-By: Claude Sonnet 4.6 --- src/ui/jobs_view.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ui/jobs_view.go b/src/ui/jobs_view.go index 1b8bab3..fdbcadc 100644 --- a/src/ui/jobs_view.go +++ b/src/ui/jobs_view.go @@ -77,9 +77,13 @@ func newJobsView(w fyne.Window, svc *app.Service) (fyne.CanvasObject, func()) { selectedLogs := append([]event(nil), selectedRuntime.Logs...) jobLogs := widget.NewList( func() int { return len(selectedLogs) }, - func() fyne.CanvasObject { return widget.NewLabel("log") }, + func() fyne.CanvasObject { + l := widget.NewLabel("log") + l.Wrapping = fyne.TextTruncate + return l + }, func(id widget.ListItemID, item fyne.CanvasObject) { - item.(*widget.Label).SetText(app.EventText(selectedLogs[id])) + item.(*widget.Label).SetText(app.EventLine(selectedLogs[id])) }, )