Skip to content

fix: remove decorative emojis from CLI output (#511) - #558

Merged
pszymkowiak merged 6 commits into
developfrom
fix/remove-decorative-emojis
Mar 18, 2026
Merged

pszymkowiak merged 6 commits into
developfrom
fix/remove-decorative-emojis

Conversation

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Summary

  • Remove decorative emojis (📌📊🔍📋🏃🐛🟢🔴📝📦⬇️☸️ etc.) from all CLI output
  • Replace with plain text alternatives (*, ~, ?, [open], [closed], etc.)
  • Keep functional symbols (⚠️ ✓ ❌ ✅ ℹ️) that convey meaning in fewer tokens
  • Fix pre-existing missing truncate import in cargo_cmd.rs
  • 20 files updated, all 897 tests pass

Closes #511

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test — 897 pass
  • Manual test: rtk git status, rtk grep, rtk ls, rtk deps, rtk env, rtk diff, rtk summary, rtk log, rtk gain, rtk err, rtk cargo test
  • Verified no decorative emojis remain in src/**/*.rs
  • Functional symbols (⚠️ ✓ ❌ ✅ ℹ️) preserved

🤖 Generated with Claude Code

Replace decorative emojis with plain text to reduce token waste.
Keep functional symbols (⚠️ ✓ ❌ ✅ ℹ️) that convey meaning in fewer tokens.

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>
Missed in initial emoji cleanup pass: 📁 in find_cmd.rs and parser/formatter.rs

Signed-off-by: Patrick szymkowiak <[email protected]>
Replace emojis with plain text tokens across all production files
for better LLM compatibility. Test fixtures and external tool
detection patterns (e.g. Black's "All done!") are preserved.

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>
@pszymkowiak
pszymkowiak force-pushed the fix/remove-decorative-emojis branch from c9a608e to ee927b3 Compare March 17, 2026 21:05
Remove ⚡ from Next.js Build header, missed in previous passes.

Signed-off-by: Patrick szymkowiak <[email protected]>
Replace production emojis:
- gh_cmd.rs: 🟣→[merged], ⚪→[unknown]/[pending], ⭐→removed, 🔱→removed
- init.rs: ⚪→[--] for "not found" status indicators

Signed-off-by: Patrick szymkowiak <[email protected]>
Replace ✓ (U+2713) with plain text across 19 files:
- "ok ✓" → "ok" (git add/commit/push/pull)
- "✓ cargo test: ..." → "cargo test: ..." (all tool summaries)
- Preserved ✓ in input detection patterns and test fixtures

LLMs cannot interpret emoji semantics; plain text is clearer.

Signed-off-by: Patrick szymkowiak <[email protected]>
@pszymkowiak
pszymkowiak merged commit d400e71 into develop Mar 18, 2026
8 of 9 checks passed
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