Diffs must not be word wrapped. Instead they need to be presented like source is, with a scrollable area, using the exact same UI elements. Essentially diffs are just another form of source and must use the same presentation.
Diffs must not be word wrapped. Instead they need to be presented like source is, with a scrollable area, using the exact same UI elements. Essentially diffs are just another form of source and must use the same presentation.
hugo
added this to the first feature complete release milestone 2026-07-31 14:36:48 +00:00
hugo
added the bug label 2026-07-31 14:36:48 +00:00
Replaced the wrapping diff text view with the same native CodeScrollView now used by repository source files.
Commit and pull-request diffs preserve line numbers, monospaced text, selection, refresh, and addition/removal/hunk colors while clipping long lines and supporting horizontal and vertical scrolling.
Consolidated source layout into the shared view, removed the duplicate manual layout path, respected the navigation safe area, and updated TESTING.md with the no-wrap regression checks.
Verified in isolation with the full required gate suite (cargo fmt, warning-free workspace check, Clippy with warnings denied, and all workspace tests), a signed arm64 iPhone 17 Pro simulator build, and manual simulator checks of a long commit diff plus the shared repository source view. The diff remained unwrapped and pannable with colors and line numbers intact; source highlighting and scrolling remained correct.
Implemented in 5b29e18.
- Replaced the wrapping diff text view with the same native `CodeScrollView` now used by repository source files.
- Commit and pull-request diffs preserve line numbers, monospaced text, selection, refresh, and addition/removal/hunk colors while clipping long lines and supporting horizontal and vertical scrolling.
- Consolidated source layout into the shared view, removed the duplicate manual layout path, respected the navigation safe area, and updated `TESTING.md` with the no-wrap regression checks.
Verified in isolation with the full required gate suite (`cargo fmt`, warning-free workspace check, Clippy with warnings denied, and all workspace tests), a signed arm64 iPhone 17 Pro simulator build, and manual simulator checks of a long commit diff plus the shared repository source view. The diff remained unwrapped and pannable with colors and line numbers intact; source highlighting and scrolling remained correct.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Diffs must not be word wrapped. Instead they need to be presented like source is, with a scrollable area, using the exact same UI elements. Essentially diffs are just another form of source and must use the same presentation.
Implemented in
5b29e18.CodeScrollViewnow used by repository source files.TESTING.mdwith the no-wrap regression checks.Verified in isolation with the full required gate suite (
cargo fmt, warning-free workspace check, Clippy with warnings denied, and all workspace tests), a signed arm64 iPhone 17 Pro simulator build, and manual simulator checks of a long commit diff plus the shared repository source view. The diff remained unwrapped and pannable with colors and line numbers intact; source highlighting and scrolling remained correct.