[FEATURE]: add Before/After full-file modes to Session Review diff view #9251

Open
opened 2026-02-16 18:12:00 -05:00 by yindo · 0 comments
Owner

Originally created by @MartinGonzalez on GitHub (Feb 13, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

Session Review currently supports only Unified and Split diff modes.
For larger or context-heavy changes, line-based diffs can make it hard to understand the full logic of the file before and after the edit.

Proposal

Add two additional view modes in Session Review, next to Unified/Split, using the same segmented button style:

  • Before: show full previous file contents
  • After: show full updated file contents

Keep existing Unified and Split behavior unchanged.

Why this matters

Developers often need full-file context to review refactors, moved logic, and broader structural changes.
Before/After modes reduce cognitive load and improve review quality without replacing current diff workflows.

Originally created by @MartinGonzalez on GitHub (Feb 13, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ### Problem Session Review currently supports only `Unified` and `Split` diff modes. For larger or context-heavy changes, line-based diffs can make it hard to understand the full logic of the file before and after the edit. ### Proposal Add two additional view modes in Session Review, next to `Unified`/`Split`, using the same segmented button style: - `Before`: show full previous file contents - `After`: show full updated file contents Keep existing `Unified` and `Split` behavior unchanged. ### Why this matters Developers often need full-file context to review refactors, moved logic, and broader structural changes. Before/After modes reduce cognitive load and improve review quality without replacing current diff workflows.
yindo added the discussion label 2026-02-16 18:12:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9251