fix(mobile): show repo-relative patch file names in agent transcript - #6610
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change widens the workspace-prefix regex to also strip Files Reviewed (2 files)
Previous Review Summary (commit aedad6c)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit aedad6c)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe patch-path label now strips the session workspace prefix and middle-ellipsizes the row; the only gap is that the prefix regex does not cover worktree workspace roots. Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
3b0967e to
efa1198
Compare
Changelog for users
Changelog for maintainers
apps/mobile/src/components/agents/part-renderer.tsx:37— accepted: the prefix regex matched onlysessions/, so worktree-backed sessions kept their full/workspace/.../worktrees/<id>/path. The regex now also matchesworktrees, and unit tests cover the worktree root.patchPartFileLabelstrips the cloud-agent workspace prefix, with an optional org segment, for both session and worktree roots.numberOfLines={1}andellipsizeMode="middle", keeping the trailing file name when space runs out.apps/mobile/src/components/agents/part-renderer.tsxand the workspace layout constants. The device captures kept above and the device logs appended below replace the earlier per-scenario capture notes and the earlier "not proved live" findings. Those logs record the three runs passing on the Android emulator; middle-ellipsis rendering and header line wrapping remain visual checks./workspace/text.New session - <ISO>placeholder; the device run showed the fallback title only.E2E proof
Owner request
E2E proof — log excerpts