Skip to content

UX: pill spacing fix + PR review toggle (r key)#27

Merged
bearmug merged 1 commit into
mainfrom
ux-pill-spacing-review-toggle
Mar 19, 2026
Merged

UX: pill spacing fix + PR review toggle (r key)#27
bearmug merged 1 commit into
mainfrom
ux-pill-spacing-review-toggle

Conversation

@bearmug
Copy link
Copy Markdown
Contributor

@bearmug bearmug commented Mar 19, 2026

Summary

  • Pill spacing: passive (idle/dead) pills get Padding(0,1) and 6-char names instead of 0 padding + 4 chars — no longer visually collapsed in the strip
  • Strip cleanup: removed state-group summary prefix (▶2 ⏸1 ✔5) — redundant with status bar, reclaims ~12 chars of strip budget
  • PR review toggle: r key toggles code review on/off per-PR independently of autopilot mode. Shows "review off" in PR zoom header when disabled

Test plan

  • go build ./... && go test ./... passes for both daemon and tui
  • Visual: 5+ sessions show pills with spacing, no summary prefix
  • PR: press r → flash "review disabled", zoom shows "review off"
  • PR: press r again → flash "review enabled", label disappears
  • Existing tracked PRs migrated to ReviewEnabled=true on daemon restart

Pill spacing:
- Passive pills: Padding(0,0) → Padding(0,1) for breathing room
- Passive name length: 4 → 6 chars (recognizable names)
- Remove state-group summary from strip (redundant with status bar)

PR review toggle:
- Repurpose unused RunReview field as ReviewEnabled
- ShouldReview() gated by ReviewEnabled
- New ToggleReview() method + toggle_review ctl action
- r key in TUI toggles review, shows flash
- "review off" label in PR zoom header when disabled
- Hint + help entry for r key
- Migration: existing non-terminal PRs get ReviewEnabled=true
@bearmug bearmug merged commit 78731e2 into main Mar 19, 2026
1 check passed
@bearmug bearmug deleted the ux-pill-spacing-review-toggle branch March 19, 2026 21:56
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