Wrap mobile review diffs without horizontal panning #446

Merged
timmy merged 1 commits from timmy/445-wrap-mobile-review-diffs into main 2026-08-10 02:39:39 +00:00
Owner

Closes #445

What changed

  • wrap long review diff lines by default at phone widths with stable old/new gutters
  • preserve original inline-comment anchor metadata across visual continuation lines
  • add an accessible 44px wrap toggle with a persisted explicit preference
  • retain whitespace-preserving horizontal inspection when wrapping is disabled

Verification

  • python3 -m pytest tests/ -q — 857 passed
  • Playwright at 390×844: page/sheet/diff scroll widths remained 390/390/360px while wrapped; long line expanded to 2763px after disabling wrap; inline click retained src/mobile.js new line 7
Closes #445 ## What changed - wrap long review diff lines by default at phone widths with stable old/new gutters - preserve original inline-comment anchor metadata across visual continuation lines - add an accessible 44px wrap toggle with a persisted explicit preference - retain whitespace-preserving horizontal inspection when wrapping is disabled ## Verification - `python3 -m pytest tests/ -q` — 857 passed - Playwright at 390×844: page/sheet/diff scroll widths remained 390/390/360px while wrapped; long line expanded to 2763px after disabling wrap; inline click retained `src/mobile.js` new line 7
timmy added 1 commit 2026-08-10 02:38:21 +00:00
feat: wrap mobile review diffs (#445)
All checks were successful
CI / lint (pull_request) Successful in 51s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
461c796227
timmy merged commit 5a6ef62c4c into main 2026-08-10 02:39:39 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#446
No description provided.