Repository navigation
fix(ui): simplify voice notes and recommendation cards - #154339
Conversation
Render incoming voice notes inline with calmer audio-derived waveforms and player-only controls. Preserve generic file presentation and attachment click ownership. Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 20, 2026, 11:31 PM ET / September 21, 2026, 03:31 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR gives voice notes compact inline players, preserves attachment-control clicks, and tightens recommendation spacing and official badges. Merge readiness✅ Ready for maintainer review The prior blocking finding is resolved, and no further actionable defect was found. This remains useful work absent from current main and the latest release. Priority: P2 Review scores
Verification
How this fits togetherControl UI turns message attachments and plugin recommendations into chat content. Voice-note metadata selects the existing audio player, which uses the shared media lifecycle for playback and recovery. flowchart TD
A[Chat message attachments] --> B{Voice note?}
B -->|Yes| C[Compact inline player]
B -->|No| D[Existing attachment presentation]
C --> E[Shared media lifecycle]
E --> F[Playback or unavailable download]
G[Plugin recommendations] --> H[Compact recommendation card]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +49, Tests +88. Total +137 across 9 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep voice-note presentation within the existing player, preserving shared media recovery and ordinary audio-file controls. Do we have a high-confidence way to reproduce the issue? Not applicable to the primary presentation change: current source and inspected before/after screenshots establish the difference. The previous fallback defect is repaired in the reviewed head. Is this the best way to solve the issue? Yes. Extending the existing player through its voice-note marker avoids a competing renderer or configuration switch and leaves ordinary audio presentation intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 051563c9b242. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Restore the attachment download target and noreferrer relationship on unavailable voice notes. Cover the cross-origin fallback regression. Co-authored-by: vyctorbrzezowski <[email protected]>
|
Fixed the cross-origin fallback in the latest commit: target and noreferrer now match the existing attachment download behavior. The regression failed before the fix and all 336 focused tests pass afterward. A real-browser cross-origin click opens a separate tab with no opener and leaves the chat URL unchanged; independent P2 review of the repair is clean. @clawsweeper re-review |
|
Merged via squash.
|
* fix(ui): simplify voice notes and recommendation cards Render incoming voice notes inline with calmer audio-derived waveforms and player-only controls. Preserve generic file presentation and attachment click ownership. Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): preserve chat when voice-note downloads open externally Restore the attachment download target and noreferrer relationship on unavailable voice notes. Cover the cross-origin fallback regression. Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: vyctorbrzezowski <[email protected]>
Related: #119123
What Problem This Solves
Voice notes in chat are cluttered with file metadata, incoming notes open as files instead of playing inline, and large waveform swings distract from the conversation. Recommendation descriptions also sit too far below their titles.
User Impact
Incoming and assistant voice notes now use a compact player-only row with restrained, audio-derived waveforms, play/pause, seeking, time, and mute. Voice notes no longer expand into the attachment sidebar; ordinary audio files retain their existing metadata and expansion. Unavailable audio remains explicit rather than showing a fake playable waveform.
Why This Change Was Made
Reuse the existing audio player and media lifecycle rather than introducing another renderer. Tighten recommendation subtitle spacing and refine the shared official seal without making it a button. Preserve attachment control clicks through SVG replacement so muting audio does not accidentally open the sidebar.
Evidence
max-width: 100%and real 320px viewport geometry: incoming/assistant cards fit their 233.52px/273.59px containers with no internal overflow. The reviewer lacked the unchanged base stylesheet in its bundle; no unrelated CSS exception was added.Requested and design-reviewed by @vyctorbrzezowski.
Work sessions
UI screenshots
Before
After