feat: compact mode for short terminals and distraction-free toggle#397
feat: compact mode for short terminals and distraction-free toggle#397
Conversation
Hide status line, table headers, scroll indicator, flash messages, and help footer when the terminal height is below 15 rows. Add a manual distraction-free toggle (D key) that hides the same chrome regardless of terminal size. Also add ROBOREV_SKIP_VERSION_CHECK=1 env var to skip daemon version mismatch restarts, useful for development with go run. Closes #378 Co-Authored-By: Claude Opus 4.6 <[email protected]>
roborev: Combined Review (
|
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 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Keep decodeErr as a hard failure in ensureDaemon even when ROBOREV_SKIP_VERSION_CHECK=1 is set, so non-daemon processes returning HTTP 200 are not falsely accepted. - Trim trailing newline in compact mode to prevent TUI layout overflow by one line on every render frame. Co-Authored-By: Claude Opus 4.6 <[email protected]>
roborev: Combined Review (
|
ROBOREV_SKIP_VERSION_CHECK=1 should only skip version mismatch restarts, not prevent auto-starting the daemon entirely. The startDaemon function already has its own ephemeral binary guard. Co-Authored-By: Claude Opus 4.6 <[email protected]>
roborev: Combined Review (
|
|
Thank you! I'll review and merge in a couple of hours |
|
LGTM! thank you |
Summary
Dkeybinding to manually toggle distraction-free mode at any terminal sizeROBOREV_SKIP_VERSION_CHECK=1env var to skip daemon version mismatch restarts (useful forgo rundevelopment)Test plan
Din queue view, verify chrome togglesROBOREV_SKIP_VERSION_CHECK=1 go run ./cmd/roborev tuiconnects to running daemonCloses #378
🤖 Generated with Claude Code