Skip to content

Prettier TUI: color palette, dividers, hover, settings page - #1

Merged
AliHamzaAzam merged 5 commits into
mainfrom
prettify-tui
Jun 3, 2026
Merged

Prettier TUI: color palette, dividers, hover, settings page#1
AliHamzaAzam merged 5 commits into
mainfrom
prettify-tui

Conversation

@AliHamzaAzam

@AliHamzaAzam AliHamzaAzam commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Makes repomon prettier and more interactive — flat brutalist layout kept, no merge to main yet.

1. Semantic color palette

  • Fixed status colors: running=green, needs-you=amber, rate-limited=cyan, secondary=gray.
  • A configurable accent (headers, selection, dividers, dirty marks): any named color or #hex, default cyan; accent = "mono" restores the original no-color look.
  • Selection is now an accent-tinted reverse bar. Captured agent output (ANSI) is untouched.

2. Clear dividers

  • Accent section titles (FLEET / TODAY / AGENTS, per-repo groups) + muted rules + blank-line gaps.
  • Split view: a vertical rule () between the sidebar and the detail/output pane.
  • Grid view: vertical + horizontal rules between tiles so each pane reads as its own box.

3. Mouse hover

  • Highlights the lane/tile under the cursor (bold, distinct from the reverse-video selection). Enables any-motion tracking (mode 1003) and hit-tests the existing click zones on Moved. Cheap — ratatui diffs the buffer, so only changed cells redraw.

4. A proper settings page

  • New Settings view, opened with , from Fleet: cycle the accent (live preview), toggle auto-continue, edit the continue message — each persisted to ~/.config/repomon/config.toml.
  • Daemon config.get / config.set RPCs (read + partial update + persist); the auto-continue watcher picks up changes immediately. Verified over the socket.

Verification

  • fmt / clippy -D warnings clean; 98 tests pass (+ theme/palette unit tests). The fleet render test confirms text/layout is unchanged (styles only).
  • TUI + daemon reinstalled; daemon restarted for the new RPCs.

🤖 Generated with Claude Code

AliHamzaAzam and others added 4 commits June 3, 2026 14:15
Keep the flat brutalist layout, add a tasteful color layer.

- theme.rs: a real palette over the previously near-mono Theme. Fixed
  semantic status colors (running=green, needs-you=amber,
  rate-limited=cyan, muted=gray) plus a configurable accent for headers,
  the selection, section dividers, and dirty marks. `accent` accepts any
  named color or #hex (default cyan); "mono"/"none"/"off" restores the
  original no-color look. Selection is now an accent-tinted reverse bar.
- view.rs: thread the palette through the central helpers — lane rows,
  status glyphs/badges, grid tiles, mode lines, grid position dots,
  footer/times. Clear section dividers: accent section titles + muted
  rules + blank-line gaps between repo groups, so FLEET/TODAY/AGENTS and
  per-repo groups read as distinct blocks. Captured agent output (ANSI
  passthrough) is left untouched.
- config.rs: document the expanded `accent` values.

Color is on by default. 98 tests pass (+ theme palette/mono tests); the
fleet render test confirms the text/layout is unchanged (styles only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Split view: a vertical rule (│) between the sidebar and the detail/output pane.
- Grid view: vertical + horizontal rules between tiles so each live pane reads
  as its own box (new `interleaved` constraint helper).
- theme.rs: add the VLIGHT (│) vertical-rule glyph.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Highlight the lane/tile under the cursor (bold, distinct from the reverse-video
selection). Enables any-motion mouse tracking (mode 1003) so bare hover is
reported, hit-tests the existing click zones on MouseEventKind::Moved into a new
`hover_lane`, and bolds the hovered row/tile in Fleet, Split sidebar, and Grid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New Settings view (open with `,` from Fleet) to view, edit, and persist config:
- accent: cycle the presets with ←/→ (incl. `mono`), applied live to the whole
  TUI and saved.
- auto-continue: on/off toggle.
- continue message: inline text edit.

Daemon: config.get / config.set RPCs that read and partially-update the config,
persist via Config::save_to, and return the updated subset — so the
auto-continue watcher picks up changes immediately. Verified over the socket
(round-trip + config.toml write).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@AliHamzaAzam AliHamzaAzam changed the title Prettier TUI: semantic color palette + clear section dividers Prettier TUI: color palette, dividers, hover, settings page Jun 3, 2026
- Settings now has 5 rows: accent, default agent, auto-continue, continue
  message, worktree template. Default agent cycles the detected agents.
- Click a settings row to select + activate it — cursor-usable in any
  terminal (records row geometry on render, hit-tests on left-click).
- daemon config.get/config.set extended with default_agent and
  worktree_template (shared config_json helper).
- Hover highlight is now bold + a subtle row background (colored mode).
  NOTE: bare hover needs mouse mode 1003 (any-motion); macOS Terminal.app
  doesn't send it, so hover won't fire there — clicks do.

98 tests pass; config round-trip verified over the socket.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@AliHamzaAzam
AliHamzaAzam merged commit 94c09a1 into main Jun 3, 2026
@AliHamzaAzam
AliHamzaAzam deleted the prettify-tui branch June 3, 2026 16:21
AliHamzaAzam added a commit that referenced this pull request Jun 21, 2026
… badges

Reframe the README around the research-backed positioning: drop "mission control"
(now owned by GitHub Agent HQ / OpenAI Codex) for "run a fleet of AI coding agents
across all your repos." Add a badge row, a hero-demo slot (docs/demo.gif), and an
honest comparison table (vs Claude Squad/ccmanager, GUI apps, built-in `claude agents`).
Put the no-deps install one-liner before brew. Add demo.tape (charmbracelet/vhs script)
to generate the hero GIF — the #1 conversion gap. Align the CLI --help string + STATUS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant