Repository navigation
fix: remove underlines from chat attachment actions - #179641
Conversation
|
Codex review: needs maintainer review before merge. What this changesThis PR removes underlines from shared chat attachment actions with one CSS declaration. Example: A chat attachment card displays action-proof.zip.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a focused, visually verified styling fix with no actionable findings; normal CI remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI attachment renderers produce links and buttons that share the attachment-action CSS class; the stylesheet controls their presentation without changing download or recovery behavior. flowchart LR
A[Chat attachment metadata] --> B[Attachment card renderer]
B --> C[Download link]
B --> D[Open and Retry buttons]
C --> E[Shared attachment action style]
D --> E
E --> F[Rendered Control UI]
Technical reviewBest possible solution: Keep the single decoration override in the existing shared attachment-action rule. Do we have a high-confidence way to reproduce the issue? The content-link selector and attachment anchor classes explain the underline, and supplied before screenshots show it in both themes; no target code was executed during review. Is this the best way to solve the issue? The existing shared selector is the narrowest complete owner for this fix, covering attachment controls while leaving content-link styling intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f2c7e8dd3370. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1. Total +1 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 21, 2026, 11:48 AM ET / 15:48 UTC. |
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Merged via squash.
|
What Problem This Solves
Fixes underlined attachment action labels in chat transcripts, where Download inherited the appearance of ordinary message links.
User Impact
Attachment controls use consistent button styling across document, text, audio, video, and unavailable cards. Normal Markdown links remain underlined. Retry, Open, download behavior, keyboard focus, and layout stay unchanged.
Why This Change Was Made
The shared attachment-action style now explicitly removes text decoration, so every consumer uses the same rule. The fix adds one CSS declaration and no test or runtime code.
Evidence
git diff --checkpassed. Independent Codex review found no actionable issues.Inspected before/after screenshots below show the document action in both themes.