Skip to content

feat(cli): renderer design system — DESIGN.md spec + ui.ts primitives#279

Merged
cdot65 merged 3 commits into
mainfrom
cdot65/feat/renderer-ui-primitives
Jul 7, 2026
Merged

feat(cli): renderer design system — DESIGN.md spec + ui.ts primitives#279
cdot65 merged 3 commits into
mainfrom
cdot65/feat/renderer-ui-primitives

Conversation

@cdot65

@cdot65 cdot65 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

First half of the output-consistency work. Adds a written design spec (src/cli/renderer/DESIGN.md) and ui primitives that renderers will adopt in the follow-up migration (#268).

Design decisions (per spec)

  • One color + glyph per semantic: ✓ green success, ✗ red error, ⚠ yellow warn, ℹ cyan info, ○ skip, ● detection/flag, • neutral
  • Headers: bold, no per-module color
  • stdout = data; stderr = status/progress/errors (ui.status) so --output json | jq always parses
  • Canonical table = existing formatOutput box-drawing style
  • No manual isTTY — chalk v5 handles TTY/NO_COLOR

Testing

  • 9 new unit tests (ANSI-stripped structure assertions); 652/652 total; lint + tsc clean
  • No behavior change to existing commands yet

Checklist

  • Spec committed before implementation
  • TDD
  • Changeset (minor)

Closes #267

@cdot65 cdot65 merged commit 8b95714 into main Jul 7, 2026
4 checks passed
@cdot65 cdot65 deleted the cdot65/feat/renderer-ui-primitives branch July 7, 2026 01:08
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.

feat(cli): renderer design system — spec + ui.ts primitives

1 participant