Home

madison / open-git

public
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

jk. Added a single streamed PR diff endpoint. Replaced per-file hydration and neighbor fetching with one streamed patch loader. Client now parses streamed git-style patches with pierre/diffs processFile, then appends real CodeView items in batches. Removed the batch files/diffs route and all hydration scroll/select logic. Diff stats still populate immediately from the manifest; skipped/binary/generated files are inserted as manifest placeholders.

4 months ago

839bf0d
Authored
Madison5/26/2026, 5:02:14 PM

Parent599e8fc

9 files changed
  • apps/web/app/api/repos/[repoId]/pulls/[prId]/diff/route.ts+68−0
  • apps/web/app/api/repos/[repoId]/pulls/[prId]/files/[fileId]/diff/route.ts+12−12
  • apps/web/components/diffs/pull-request-code-view-item.ts+34−1
  • apps/web/components/diffs/pull-request-diff-review.tsx+7−38
  • apps/web/components/diffs/stream-git-patch-files.ts+130−0
  • apps/web/components/diffs/use-pull-request-diff-loader.ts+322−194
  • apps/web/components/diffs/utils.ts+16−0
  • apps/web/db/pull-request-diffs.ts+18
−0
  • apps/web/lib/pull-request-diff-view-model.ts+64−0