Skip to content

Commit 4e37307

Browse files
fix: show version mismatch warning in compact/distraction-free mode
The VERSION MISMATCH warning was hidden along with other chrome in compact mode. Show it inline on the title line so users always see when TUI and daemon versions disagree. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ec547b0 commit 4e37307

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/roborev/tui/render_queue.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ func (m model) renderQueueView() string {
106106
title.WriteString(" [hiding addressed]")
107107
}
108108
b.WriteString(titleStyle.Render(title.String()))
109+
// In compact mode, show version mismatch inline since the status area is hidden
110+
if compact && m.versionMismatch {
111+
errorStyle := lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "124", Dark: "196"}).Bold(true)
112+
b.WriteString(" ")
113+
b.WriteString(errorStyle.Render(fmt.Sprintf("MISMATCH: TUI %s != Daemon %s", version.Version, m.daemonVersion)))
114+
}
109115
b.WriteString("\x1b[K\n") // Clear to end of line
110116

111117
if !compact {

0 commit comments

Comments
 (0)