Skip to content

Add shared review-history UI#1

Open
xortive wants to merge 10 commits into
codiff-web-review-history-foundationsfrom
codiff-review-history
Open

Add shared review-history UI#1
xortive wants to merge 10 commits into
codiff-web-review-history-foundationsfrom
codiff-review-history

Conversation

@xortive

@xortive xortive commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • add version selection and whole-diff comparison to the shared review surface
  • migrate shared comments to provider-neutral line coordinates
  • explain commit evolution in lists, tooltips, and walkthrough boundaries
  • show structured walkthrough generation progress

Stacked on #4. Upstream review identity: nkzw-tech#135.

Validation

  • 37 focused shared feature UI tests pass
  • vpr build passes at this revision

banana banana banana

@xortive

xortive commented Jul 21, 2026

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by jj-ryu.

xortive added 9 commits July 21, 2026 17:54
Extend the existing shared review surface with commit and version navigation, whole-diff comparison state, review-history sidebars, and the controls needed to inspect changed files across review iterations. Keep the UI host-driven so Codiff Web can supply provider data without embedding GitLab or local Electron behavior in the components.
Remove shared walkthrough section identifiers from provider-facing comment payloads and recover the rendered diff section from file, side, and line coordinates. Update Core and Codiff Web callers so persisted comments use one provider-neutral contract without losing their in-app placement.
Present introduced, removed, revised, retained, ambiguous, and absorbed commits with consistent labels in tooltips, comparison lists, and walkthrough chapter boundaries. Carry the classification through walkthrough authoring so reviewers can understand why a logical change moved or was rewritten without reading provider-specific metadata.
Expose structured generation progress to the shared review surface and render current phases plus per-unit status while a walkthrough is prepared, generated, and combined. Keep loading and generation messaging host-neutral so Codiff Web can provide useful feedback without coupling the UI to a specific agent runtime.
Introduce the `@nkzw/codiff-github` workspace package with transport contracts, force-push timeline loading, historical comparison tests, and package build configuration. The package is kept separate from Electron wiring so its provider behavior can be reviewed before local Codiff adopts it.
Route local prompt construction, draft normalization, hunk aliasing, and walkthrough composition through the shared Core authoring module. Keep Electron responsible only for agent execution and host concerns so Codiff Web and local Codiff use the same authored walkthrough semantics.
Route pull-request sources through LocalMergeRequestReviewHost so local Codiff
renders MergeRequestReviewApp chrome (tree/walkthrough/comments) instead of the
reduced App.tsx PR path. Baseline whole-PR review, comments, and walkthrough
generation use existing IPC; version compare stays unwired for the next step.
Implement the `GitLabTransport` contract over authenticated `glab api` calls and expose it from the local merge-request backend. This isolates process execution and pagination from the shared GitLab provider package before the review host starts loading version history.
Bridge the shared GitLab provider package into Electron and implement local version, comparison, evolution, and unit-diff loading for merge requests. Keep this backend provider-specific so its CLI transport and projection behavior can be reviewed independently from GitHub force-push handling.
@xortive
xortive force-pushed the codiff-review-history branch from 72c6b64 to 0bf5597 Compare July 21, 2026 23:05
@xortive
xortive changed the base branch from main to codiff-web-review-history-foundations July 21, 2026 23:05
@xortive xortive changed the title Polish shared review-history UI and GitHub evolution Add shared review-history UI Jul 21, 2026
@xortive
xortive force-pushed the codiff-review-history branch 7 times, most recently from fb64620 to e815212 Compare July 22, 2026 04:35
Implement GitHub head-timeline, comparison, evolution, and unit-diff loading over `gh` plus local Git objects, then dispatch review-history requests by provider. This keeps GitHub rewrite semantics separate from the GitLab merge-request backend while sharing the same Core review model.

Connect local review history to the shared host

Expose provider-neutral review-history and walkthrough-generation IPC to `LocalMergeRequestReviewHost`, materialize comparison and commit-unit files, and refresh the local repository state after review actions. Wire agent generation progress through Electron at the same integration boundary so the shared progress UI receives coherent host events.

Document local review-history parity and follow-ups

Record the local host architecture, authentication requirements, provider-specific terminology, and remaining review findings after the shared packages are adopted. Keeping these notes at the local MR tip makes deferred Electron and GitHub issues visible without leaking local concerns into the Codiff Web foundation docs.
@xortive
xortive force-pushed the codiff-review-history branch from e815212 to e64db1a Compare July 22, 2026 04:40
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