Skip to content

PR title status slot: write the review score as ❶–❿ (solid circled digits) instead of the thin circled digits #3658

Closed

Description

@integry

The review score in a pull request title (⚠️⑥ [3561 by …], ✅⑨ …) is written with thin circled digits. At title size the digit inside the thin ring is hard to read and looks like a rendering glitch. #3576 already moved from the Enclosed Alphanumerics ①–⑩ (U+2460–U+2469) to the Dingbats sans-serif ➀–➉ (U+2780–U+2789), but those have the same thin strokes.

Decision (repository owner): use the Dingbats negative circled digits ❶ (U+2776) to ❿ (U+277F): a white digit on a filled circle. They are single text characters with the same width, cover 1–10, and read clearly at title size.

Expected

  • New and updated titles write the score as U+2776–U+277F (1 → ❶ … 10 → ❿). Constant in packages/shared/src/prTitleStatusSlot.ts (CIRCLED_ONE).
  • Reading stays backward compatible: PR_TITLE_STATUS_SLOT_PATTERN and every other reader recognise all three ranges (U+2460–U+2469, U+2780–U+2789, U+2776–U+277F), so a title written by an older version is recognised, stripped and rewritten with the new digit on its next update, and never ends up with two score characters.
  • Every place that parses, strips or mirrors the slot is updated together: search the repository for 2460, 2780, ①, ➀ and the pattern name (core PR status title code, the UI's title cleaning for task and PR lists, CLI/MCP title normalisation, docs).
  • Keep non-ASCII characters escaped in source where the existing comment says the desktop renderer may decode the bundle as Latin-1.
  • Docs that show example titles use the new digits.

Acceptance

  • Unit tests: scores 1–10 map to U+2776–U+277F; titles carrying each of the two older ranges are parsed to the same score and rewritten with the new digit; a title is never left with two score characters; epic titles (✅ 7/7 …, ◕ 5/7 …) are unchanged.
  • UI tests that strip the status slot from displayed titles pass with all three ranges.
  • No remaining writer of U+2460–U+2469 or U+2780–U+2789 outside the backward-compatible readers and their tests.

Implementation

Change CIRCLED_ONE to 0x2776 in packages/shared/src/prTitleStatusSlot.ts, extend the character class in PR_TITLE_STATUS_SLOT_PATTERN with ❶-❿, and update the comment. Then grep for other readers of the older ranges across packages/, src/, propr-ui/src and docs/ and extend them the same way. Rebuild @propr/shared consumers' tests.

Activity

  1. propr-dev commented on Nov 17, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3658/claude-opus-5-5-pr-title-status-slot-writ-20261117-0911-pbc
    • Base Branch: 3589-epic-0-9-y3w
    • Worktree: issue-3658-20261117-0911-claude-opus-5-5-pbc

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions