You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reviewing a turn in the Diff panel, it would be useful to reveal more unchanged lines around a changed hunk without leaving the turn diff. The PR Code tab supports expanding omitted context, but turn diffs do not appear to offer the same interaction. Opening the current file or a broader branch diff can lose the exact scope of that turn.
Proposed behavior
Clicking an “N unmodified lines” divider in a turn diff would reveal more context inline. The expanded content should come from the checkpoints immediately before and after the selected turn, rather than the current working tree or branch tip, so it remains faithful to that turn’s diff.
Smallest useful scope
The existing web/desktop Diff panel when a turn is selected. Keep PR Code and branch/uncommitted diff behavior unchanged; no broader Diff-panel redesign is needed.
Current workaround
Open the full file or inspect a broader diff, which may not show the file state at the selected turn.
Related
PR #5546 added omitted-context expansion for pull-request diffs. Discussion #19542 covers other Diff-panel UX, but not expanding context in turn diffs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem or use case
When reviewing a turn in the Diff panel, it would be useful to reveal more unchanged lines around a changed hunk without leaving the turn diff. The PR Code tab supports expanding omitted context, but turn diffs do not appear to offer the same interaction. Opening the current file or a broader branch diff can lose the exact scope of that turn.
Proposed behavior
Clicking an “N unmodified lines” divider in a turn diff would reveal more context inline. The expanded content should come from the checkpoints immediately before and after the selected turn, rather than the current working tree or branch tip, so it remains faithful to that turn’s diff.
Smallest useful scope
The existing web/desktop Diff panel when a turn is selected. Keep PR Code and branch/uncommitted diff behavior unchanged; no broader Diff-panel redesign is needed.
Current workaround
Open the full file or inspect a broader diff, which may not show the file state at the selected turn.
Related
PR #5546 added omitted-context expansion for pull-request diffs. Discussion #19542 covers other Diff-panel UX, but not expanding context in turn diffs.
All reactions