feat(tui): compact log sidebar with severity icons

Replace full viewLogsTab with compact sidebar renderer for the 70/30
monitors split. Single-char severity icons (▼▲◆●·), truncated messages,
no header chrome. Renders directly from engine logs without viewport.
This commit is contained in:
2026-06-20 18:06:07 -04:00
parent 047bb237e0
commit 8323d27e7d
3 changed files with 66 additions and 21 deletions
+2 -1
View File
@@ -158,7 +158,8 @@ func (m Model) viewDashboard() string {
leftW := availW * 70 / 100
rightW := availW - leftW
left := lipgloss.NewStyle().Width(leftW).Render(monitors)
right := lipgloss.NewStyle().Width(rightW).Render(m.viewLogsTab())
sidebar := m.viewLogsSidebar(rightW)
right := lipgloss.NewStyle().Width(rightW).Render(sidebar)
content = lipgloss.JoinHorizontal(lipgloss.Top, left, right)
} else {
content = monitors