Skip to content

OPE-38 Add review changes pill - #35

Merged
ivanfenenko merged 1 commit into
mainfrom
codex/ope-38-review-changes-pill
Jul 14, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
codex/ope-38-review-changes-pill

Conversation

@ivanfenenko

Copy link
Copy Markdown
Collaborator

Summary

  • add a dedicated semantic Review Changes Pill component on iOS and Android
  • surface it only for a resolved, completed latest turn with changed files while Session Chat is pinned to the end
  • open Changes on the Last turn source and keep the pill mutually exclusive with Scroll to end
  • add interactive galleries, six-case light/dark preview matrices, diagnostics, and automated coverage
  • move diff-count lifecycle and repository access into aligned Session Chat regions

Docs

  • docs/features/review-changes/progress.md
  • docs/features/review-changes/parity-gaps.md
  • docs/design-system/components/review-changes-pill.md
  • docs/features/session-chat/decisions.md

Checks

  • Android focused OPE-38 unit tests pass
  • Android :app:assembleDebug passes
  • iOS simulator build passes
  • iOS ChangesViewModelTests: 18 passed
  • iOS SessionChatViewModelTests: 31 passed; the documented long-history benchmark flake remains
  • final standards review: 0 findings
  • final spec review: 0 findings

Linear

Risks / Follow-ups

  • Full Android/iOS unit runs still encounter the repository's documented coroutine/long-history benchmark flakes.
  • Android instrumentation compilation and iOS UI-test execution remain blocked by pre-existing test-target configuration issues.

@linear-code

linear-code Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
OPE-38 Surface the completed-turn Review changes pill

Parent

OPE-25 — Session Diff Viewer

What to build

Give users a contextual shortcut from the end of Session Chat to the latest completed turn's changes. Implement the dedicated Review Changes Pill component and its visibility/data flow on both platforms without changing the existing Scroll to end component.

Docs: docs/features/review-changes/

Acceptance criteria

  • A separate Review Changes Pill component is implemented on iOS and Android according to its documented semantic API and tokens.
  • The pill shows only when the timeline is at its end, the latest user turn has completed, and that turn contains at least one changed file.
  • The pill is mutually exclusive with Scroll to end and opens Changes on Last turn.
  • Copy pluralizes as “Review 1 changed file” and “Review N changed files”; accessibility exposes the same meaning.
  • A failed or pending lightweight count request hides the pill without hiding the Session Chat overflow entry.
  • Both Component Galleries include interactive light/dark singular, plural, and disabled review states.
  • Component behavior, visibility gates, navigation, failure handling, and accessibility have automated coverage on both platforms.

Blocked by

  • OPE-35 — Review the latest turn on a dedicated Changes screen

Review in Linear

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