Skip to content

fix: use unicode ellipsis in truncated interface text - #47235

Closed
AhsanIqbal-web wants to merge 1 commit into
anomalyco:devfrom
AhsanIqbal-web:unicode-ellipsis-fix
Closed

fix: use unicode ellipsis in truncated interface text#47235
AhsanIqbal-web wants to merge 1 commit into
anomalyco:devfrom
AhsanIqbal-web:unicode-ellipsis-fix

Conversation

@AhsanIqbal-web

Copy link
Copy Markdown

Fixes #47234

What

Follow-up to #45126: converts the remaining ASCII ... truncation suffixes in human-facing interface text to the unicode ellipsis (\u2026), so titles and previews render consistently:

  • packages/opencode/src/session/prompt.ts — auto-generated session title truncation (the source of the title the TUI displays)
  • packages/session-ui/src/components/session-retry.tsx — retry message preview
  • packages/core/src/filesystem/search.ts — search result line preview
  • packages/core/src/ripgrep.ts — ripgrep match preview
  • packages/codemode/src/tool-runtime.ts — tool catalog description truncation

packages/opencode/src/patch/index.ts:423 (machine-readable patch format: ellipsis to ...) is intentionally left untouched.

Tests

  • bun typecheck in packages/opencode, packages/core, packages/session-ui, packages/codemode — all exit 0
  • No behavior change beyond the rendered character; string-literal edits only

Notes

Verified on Windows 11 native host. No tests assert the ASCII ... truncation (checked), so no test updates needed.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Sep 4, 2026
@github-actions github-actions Bot closed this Sep 4, 2026
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.

Use unicode ellipsis (…) in remaining truncated interface text (follow-up to #45126)

1 participant