Skip to content

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

Open
pszymkowiak wants to merge 5 commits intodevelopfrom
fix/remove-decorative-emojis
Open

fix: remove decorative emojis from CLI output (#511)#558
pszymkowiak wants to merge 5 commits intodevelopfrom
fix/remove-decorative-emojis

Conversation

@pszymkowiak
Copy link
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 <patrick@rtk.ai>
Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
Missed in initial emoji cleanup pass: 📁 in find_cmd.rs and parser/formatter.rs

Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
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 <patrick@rtk-ai.app>
Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
@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 <patrick.szymkowiak@innovtech.eu>
Replace production emojis:
- gh_cmd.rs: 🟣→[merged], ⚪→[unknown]/[pending], ⭐→removed, 🔱→removed
- init.rs: ⚪→[--] for "not found" status indicators

Signed-off-by: Patrick szymkowiak <patrick.szymkowiak@innovtech.eu>
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