feat(app): improve PR comment display readability in workspace sidebar#1463
feat(app): improve PR comment display readability in workspace sidebar#1463TommyLike wants to merge 3 commits into
Conversation
- Increase comment body truncation from 2 to 4 lines (collapsed) - Add tap-to-expand for individual activity rows - Restructure header layout: author on top, verb/age below - Increase body text from fontSize.xs to fontSize.sm - Show chevron indicator when comment text is truncated - Add external link button for opening comment on GitHub Co-Authored-By: Claude <noreply@anthropic.com>
|
| Filename | Overview |
|---|---|
| packages/app/src/git/pr-pane.tsx | Refactored ActivityRow to add tap-to-expand, larger text, and a dedicated external-link button; the character-count heuristic for determining whether to show the expand chevron does not account for explicit newlines, causing the chevron to be hidden on short multi-paragraph bodies. |
Reviews (2): Last reviewed commit: "fix(app): address PR review feedback for..." | Re-trigger Greptile
- Fix marginLeft:auto pushing ExternalLink off-screen by using dedicated activityAge style without auto margin - Fix nested Pressable event bubbling by moving ExternalLink button outside the expand Pressable as a sibling - Fix Android onTextLayout truncation detection by replacing line-count with character-count heuristic (180 chars) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
Improves PR comment/activity display in the workspace sidebar to be more readable.
Problem
The PR pane's activity rows were too compact — comments truncated to 2 lines at 12px in muted color, making it hard to read comment content without clicking through to GitHub.
Changes
fontSize.xs(12px) →fontSize.sm(14px)onTextLayout)Files Modified
packages/app/src/git/pr-pane.tsxTesting
🤖 Generated with Claude Code