Skip to content

fix(mobile): make pull request diffs easier to read - #1291

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-pr-diff-view
Nov 26, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-pr-diff-view

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 26, 2026

Copy link
Copy Markdown
Member

What changed

  • Make mobile PR diffs easier to scan with shorter rows, aligned old and new line numbers, and full-width change backgrounds. Give filenames their own line above the directory.
  • Wrap stacked PR diffs in Automatic mode and preserve saved On and Off choices.
  • Use Comment on a line to enlarge line-number touch targets during selection. Tapping a number picks the original GitHub line and side, including when extending a range.

Fixes: #525

Verification

  • Mobile typecheck passed on the rebased branch. Scoped lint and formatting passed on the edited files.
  • Checked the ci(release): allow native checks time to save the bun cache #1287 patch for original old and new line numbers and a multi-line comment range.
  • Native layout and gestures still need a device check. The device tool could not allocate an emulator. The full verification gate runs in CI.

Copy audit

  • Wrap → Wrap lines names the action. The Wrap diffs description explains when Automatic wraps code.
  • Add comment on LEFT/RIGHT line → Comment on old/new line names the two versions for screen readers. Comment on a line and Stop selecting lines label entry and exit from line selection.
  • Reviewed filename wrapping and directory truncation in source. Item 9 still needs a native check at narrow widths with long paths and scaled text because the emulator was unavailable.

@nixuuu
nixuuu enabled auto-merge (squash) November 26, 2026 05:45
@nixuuu
nixuuu merged commit bf55990 into dev Nov 26, 2026
20 checks passed
@nixuuu
nixuuu deleted the fix/mobile-pr-diff-view branch November 26, 2026 05:54
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