Negative filters for GitHub PRs

Lazy enough to review.

Hide tests, generated files, specs, or any path you do not want to review, then see the diff size that remains.

GitHub +652 -376
lazydiff apps, !*.spec.ts 12 visible files, 24 hidden files
lazydiff +184 -91
apps/dashboard/page.tsx apps/dashboard/page.spec.ts tests/helpers/mock.ts apps/api/review.ts

Quick demo

Watch LazyDiff clean up a pull request.

Real GitHub PR frames, local filtering, and the remaining diff count.

Watch the short demo playlist

Screenshots

Before, after, closeup, and the tiny popup.

GitHub pull request before LazyDiff filtering
Before: GitHub shows the full pull request diff size.
LazyDiff negative filter applied to a GitHub pull request
After: hide unwanted files and see the remaining diff size.
Closeup of LazyDiff filtered counts and filter bar
Closeup: LazyDiff count and filter bar on the files changed page.

Custom syntax

One box for include and exclude.

Separate patterns with commas: !*.test.ts, !*.spec.ts hides both test and spec files. Existing space-separated filters still work.

apps

Show matching paths.

!apps

Hide matching paths.

!/apps

Hide root paths only.

apps, !*.spec.ts

Show apps, except specs.

Private by default

No network. No analytics. No code leaves your browser.

LazyDiff runs locally on GitHub PR pages. Filter text is stored only in Chrome local storage. See the privacy policy.

Chrome Web Store

Published on the Chrome Web Store.

LazyDiff is available on the Chrome Web Store. Install it from the listing, or load the generated extension/ directory for local development.

Install from Chrome Web Store

Status: Published
Extension ID: bnoohgdhbhegnpdfhneciipfgmmjejhb

Changelog

What’s changed.

Next update · Unreleased

  • English and Japanese popup and in-page UI, with a saved language choice.
  • Comma-separated patterns, with support for existing filters.
  • Shared filters and diff counts in the popup as a backup for the in-page controls.
  • Updated GitHub layout support and filtering after navigation without a reload.

0.1.0 · First release

In-page file filters and filtered diff counts for GitHub pull requests.