Skip to content

feat(git-is-fork): render forks as an editable glyph - #37

Merged
axisrow merged 1 commit into
mainfrom
git-is-fork-glyph
Sep 28, 2026
Merged

axisrow merged 1 commit into
mainfrom
git-is-fork-glyph

Conversation

@axisrow

@axisrow axisrow commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Git Is Fork now renders a compact glyph — default ⑂ (U+2442 OCR FORK) — instead of isFork: true when origin and upstream diverge
  • The glyph is user-editable via the existing symbol override editor (g → Glyph); empty override collapses the widget
  • Raw value still renders true; the not-a-fork output (isFork: false / false / hidden via the not-fork hide state) is unchanged

Refs sirmalloc#615

Testing

  • New src/widgets/__tests__/GitIsFork.test.ts: preview, fork, not-fork + unified hide state, glyph override
  • Full suite: 2561 pass, bun run lint clean
  • Live render through src/ccstatusline.ts: fixture repo with origin + upstream remotes → ⑂; repo without a literal upstream remote → hidden under not-fork

🤖 Generated with Claude Code

Replace the isFork: true label with a glyph (default U+2442 OCR FORK)
when origin and upstream diverge. The glyph is editable via the existing
symbol override editor (g); raw value still renders true. The not-fork
output and its not-fork hide state are unchanged.

Refs sirmalloc#615

Co-Authored-By: Claude Code <[email protected]>
@axisrow
axisrow merged commit 148e643 into main Sep 28, 2026
6 checks passed
@axisrow
axisrow deleted the git-is-fork-glyph branch September 28, 2026 03:39
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