Resume mobile pull review progress across interruptions #125

Closed
opened 2026-08-06 17:49:07 +00:00 by rockachopa · 0 comments
Member

Problem

The mobile review inspector previews changed files but loses the reviewer’s place whenever the sheet closes or the page reloads. Reviewers must remember which files they checked, and saved state cannot safely distinguish new commits because the review payload omits the pull head SHA.

Slice

Add explicit, local, commit-aware file review progress: show reviewed count, let users mark files reviewed, jump to the next unreviewed file, restore progress for the same pull/head SHA, and reset safely when commits change. Keep final review submission in authenticated Gitea.

Acceptance tests

  • A new three-file review shows 0 of 3 files reviewed.
  • Expanding a diff does not mark it; explicit Mark reviewed advances progress and the next unreviewed file.
  • Closing/reopening or reloading restores progress for the same repository, pull number, and head SHA.
  • A changed head SHA starts fresh progress.
  • Completion preserves the Open in Gitea handoff and adds no write endpoint.
  • Controls are keyboard-operable, use 44px touch targets, and do not cause 320px horizontal overflow.
  • Existing review authorization and read-only API behavior remain intact.
## Problem The mobile review inspector previews changed files but loses the reviewer’s place whenever the sheet closes or the page reloads. Reviewers must remember which files they checked, and saved state cannot safely distinguish new commits because the review payload omits the pull head SHA. ## Slice Add explicit, local, commit-aware file review progress: show reviewed count, let users mark files reviewed, jump to the next unreviewed file, restore progress for the same pull/head SHA, and reset safely when commits change. Keep final review submission in authenticated Gitea. ## Acceptance tests - A new three-file review shows `0 of 3 files reviewed`. - Expanding a diff does not mark it; explicit **Mark reviewed** advances progress and the next unreviewed file. - Closing/reopening or reloading restores progress for the same repository, pull number, and head SHA. - A changed head SHA starts fresh progress. - Completion preserves the **Open in Gitea** handoff and adds no write endpoint. - Controls are keyboard-operable, use 44px touch targets, and do not cause 320px horizontal overflow. - Existing review authorization and read-only API behavior remain intact.
timmy was assigned by rockachopa 2026-08-06 17:49:07 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#125
No description provided.