Skip to content

fix(dashboard): Render transcript links safely#516

Merged
dcramer merged 2 commits into
mainfrom
codex/dashboard-transcript-rendering
Jun 4, 2026
Merged

fix(dashboard): Render transcript links safely#516
dcramer merged 2 commits into
mainfrom
codex/dashboard-transcript-rendering

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented Jun 4, 2026

Dashboard transcript messages now preserve native selected-text copying and render safe transcript URLs as clickable anchors. Unsafe schemes and same-origin relative links remain plain text so transcript content cannot create dashboard-local navigation targets.

Transcript Links

Rich transcript markdown prose now renders bracketed http, https, and mailto links plus bare URLs, including URLs with balanced parentheses. Rejected bare URL candidates are skipped so later valid links in the same transcript block still render.

Copy Selection

Rich transcript card copy only falls back to the raw message payload when there is no active selection inside the card.

Render prose transcript links as anchors while preserving selected-text copy behavior. Keep unsafe and same-origin relative URLs as plain text so transcript content cannot create dashboard-local links.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Jun 4, 2026 7:14am

Request Review

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 351ccfa. Configure here.

Comment thread packages/junior-dashboard/src/client/components/TranscriptText.tsx
Skip rejected bare URL candidates while scanning transcript prose so later valid links still render as anchors. Add coverage for an invalid URL followed by a valid URL.

Co-Authored-By: GPT-5 Codex <codex@openai.com>
@dcramer dcramer marked this pull request as ready for review June 4, 2026 07:21
@dcramer dcramer merged commit 51b834a into main Jun 4, 2026
16 checks passed
@dcramer dcramer deleted the codex/dashboard-transcript-rendering branch June 4, 2026 07:21
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