3 pointsby suveshmoza3 hours ago1 comment
  • wkali-dev2 hours ago
    Nice work! The side-by-side diff with a file tree native experience on large PRs.

    One question: how do you handle binary files or very large diffs (10k+ lines)? That's usually where PR review tools start to struggle.

    • suveshmozaan hour ago
      Thanks!

      At the moment, binary files aren't supported. They show up in the file tree, but their contents are empty. That's something I plan to add in the next release.

      For large PRs, diffy fetches the PR through GitHub's API (page by page), stitches the patches together, and renders the entire diff using Pierre's Diffs and Trees. Syntax highlighting runs in a background worker, so the UI stays responsive even for very large changes.

      Here's a demo of a PR with 10k+ lines of changes: https://drive.google.com/file/d/1-6f16V8tOR3cV15FCWXGmHHnRE5...