Skip to content

OPE-39: Add practical diff review tools #558

Closed

Description

@ivanfenenko

Parent

OPE-25 — Session Diff Viewer

What to build

Upgrade the one-file Changes experience into a practical native review tool on both platforms. Users can read structured unified hunks, move between them, control visible context, and temporarily mark files reviewed without introducing editing or persistent task state.

Docs: docs/features/review-changes/

Acceptance criteria

  • Both native implementations parse unified patches into equivalent typed hunk and row models with old/new line numbers.
  • The reusable Unified Diff component renders semantic addition, deletion, context, and hunk rows with existing syntax roles.
  • Long source lines remain unwrapped and horizontally scrollable while the screen scrolls vertically.
  • Collapsed context is the default, expanded mode reveals all context available in the loaded patch, and previous/next controls navigate hunks.
  • Users can mark and unmark the selected file reviewed; reviewed files remain visible with reduced emphasis.
  • Reviewed markers clear on source switch, explicit refresh, and viewer exit and are never persisted or sent to the server.
  • Both Component Galleries cover modified, added, deleted, reviewed, context, long-line, and unavailable-patch states in light and dark appearances.
  • Equivalent patch fixtures cover multi-hunk, optional/empty patch, binary, Unicode, no-newline, malformed, and long-line behavior on both platforms.

Blocked by

  • OPE-36 — Navigate multi-file Change Sets

Imported from Linear OPE-39. Linear status: Done. Priority: Medium. Created 2026-07-13. Completed 2026-07-14.
Parent: OPE-25.
Related: OPE-36.

Activity

  1. added this to the Rendered Markdown milestone on Oct 11, 2026
  2. self-assigned this
    on Oct 11, 2026
  3. added
    ios
    android
    on Oct 11, 2026
  4. added
    shared
    priority: medium
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidiospriority: mediumready-for-agentshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions