Skip to content

feat(ui): small unicode icons for footer metrics - #58

Merged
tt-a1i merged 1 commit into
mainfrom
feat/footer-metric-icons
Aug 22, 2026
Merged

feat(ui): small unicode icons for footer metrics#58
tt-a1i merged 1 commit into
mainfrom
feat/footer-metric-icons

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

What

The footer metrics were bare text and hard to tell apart at a glance. Each now carries a small built-in icon:

📁 ~/work/my-pi-setup · ⎇ codex/document-pi-first-agent-guidance        ✦ seal/glm-5.3 · ◔ 5%/1.0m
  • 📁 directory, branch, model
  • context gets a little gauge that fills with occupancy: ◔ ◑ ◕ ● (empty while occupancy is unknown right after compaction); the existing tone thresholds still recolor it
  • all glyphs are standard Unicode — the "no Nerd Font required" promise holds (verified every icon's cell width through pi-tui's visibleWidth, including the width-2 emoji)
  • icons live in the segment catalog, so they flow into every style (plain / powerline / powerline-mono) and obey the existing narrow-terminal priority shedding

README and SETUP.md updated per the package configuration contract.

Verification

  • bun run check clean; bun run test: 754 node:test + 29 vitest passing
  • Footer rendered at 5/30/60/90% occupancy to verify the gauge and alignment

Each footer metric now carries a built-in icon that renders in standard
terminal fonts (no Nerd Font): 📁 directory, ⎇ branch, ✦ model, and a
context gauge that fills with occupancy (◔◑◕●). Icon text participates
in the existing width budget and priority shedding unchanged.
@tt-a1i
tt-a1i merged commit 558bcfd into main Aug 22, 2026
4 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