Skip to content

fix(issues): Strip ANSI codes from copied and exported issue text - #126288

Draft
JoshuaKGoldberg wants to merge 1 commit into
joshgoldberg/de-1651-remove-ansi-to-react-in-favor-of-ansi-sequence-parserfrom
joshgoldberg/logs-1018-strip-ansi-codes-from-copied-and-exported-issue-text
Draft

JoshuaKGoldberg wants to merge 1 commit into
joshgoldberg/de-1651-remove-ansi-to-react-in-favor-of-ansi-sequence-parserfrom
joshgoldberg/logs-1018-strip-ansi-codes-from-copied-and-exported-issue-text

Conversation

@JoshuaKGoldberg

Copy link
Copy Markdown
Member

Plain-text outputs of issue data now strip ANSI escape codes instead of embedding them: the raw stack trace view, "Copy as" text and markdown, breadcrumb copies, issue diffs, and external issue bodies. The raw stack trace view is the only one of these visible on screen.

Before After
Light Before, light After, light
Dark Before, dark After, dark

Stacked on #126237. Fixes LOGS-1018.

@linear-code

linear-code Bot commented Oct 2, 2026

Copy link
Copy Markdown

LOGS-1018

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 2, 2026
Raw stack traces, copy-as-text, issue diff and ticket bodies, copied issue markdown, and copied breadcrumbs included raw ANSI escape codes. Strip them so plain-text outputs read cleanly.

Fixes LOGS-1018
@JoshuaKGoldberg
JoshuaKGoldberg force-pushed the joshgoldberg/logs-1018-strip-ansi-codes-from-copied-and-exported-issue-text branch from 02cfe4a to c304839 Compare October 2, 2026 00:22

This branch was successfully deployed

1 active deployment
Preview — c304839d Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant