Skip to content

Fix mobile diff scrolling and add line wrap toggles - #114

Merged
ymichael merged 1 commit into
mainfrom
bb/enable-mobile-diff-scrolling-thr_mxq29f7rv9
Jun 12, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/enable-mobile-diff-scrolling-thr_mxq29f7rv9

Conversation

@ymichael

@ymichael ymichael commented Jun 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • changed secondary panel scroll slots from overflow-x-hidden to overflow-x-auto so file previews, raw diff fallback output, and other wide panel content are not clipped on mobile
  • added diff-card gesture handling so mobile horizontal swipes scroll the rendered @pierre/diffs code lanes
  • added line-wrap toggles for git diff cards, raw diff fallback output, and source/code file previews using @pierre/diffs native overflow mode

Validation

  • pnpm exec turbo run typecheck --filter=@bb/app
  • pnpm exec turbo run lint --filter=@bb/app
  • git diff --check

@ymichael
ymichael force-pushed the bb/enable-mobile-diff-scrolling-thr_mxq29f7rv9 branch from 7e5fe2e to b8f90bf Compare June 12, 2026 22:07
@ymichael
ymichael merged commit 2718219 into main Jun 12, 2026
6 checks passed
@ymichael
ymichael deleted the bb/enable-mobile-diff-scrolling-thr_mxq29f7rv9 branch June 12, 2026 22:28
brsbl added a commit that referenced this pull request Jun 15, 2026
Sync the paginated diff tab onto main's secondary-panel/diff refactor (65
commits: #131 tab ownership, #106 committed-changes option, #114 line-wrap,
#134 Mermaid, GitHub PR fetch). Kept the pagination feature; integrated main's
orthogonal additions; removed main's now-orphaned reducer diff-tab (replaced by
pagination); restored the test navigator stub (setup.ts) + re-added
@testing-library/react that the feature's tests need.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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