News for hackers. Stuff that matters.
Re:Unified versus Split Diff by jakub_g on Tuesday October 24, 2023 @04:12AM (#37996110)
FYI if using GitHub, on github.com pull request page, press `.`, or change domain name to github.dev.

This will open VSCode in browser, with the pull request in diff view.

Advantages:

- you see whole files there

- diff algo is different than on github.com, sometimes more readable for complex diffs

Re:Unified versus Split Diff by vasergen on Tuesday October 24, 2023 @04:33AM (#37996273)
thanks for the tip
Re:Unified versus Split Diff by inferiorhuman on Tuesday October 24, 2023 @07:27AM (#37997515)
Disadvantages:

* S-L-O-W

* Glitchy

Which is a travesty because a side by side diff view with an out-of-line list of PR comments could be incredibly useful if it didn't involve spinning up a whole VSCode instance in the browser. In fact it's so useful that GH used to have a split view available without forcing people into their buzzword AI ML crypto blockchain cloud enabled dev environment nonsense.

Good idea, abysmal execution (which pretty much sums up all of GH these days I suppose).

Re:Unified versus Split Diff by jakub_g on Tuesday October 24, 2023 @08:46AM (#37998399)
GH still has a split view available. Above the diff, you have a settings icon which shows dropdown where you can changed between unified and split diff.
Re:Unified versus Split Diff by inferiorhuman on Tuesday October 24, 2023 @04:13PM (#38004797)
Well that's certainly more intuitive than the old split / unified button. Unfortunately that basically revives the old split diff view and doesn't provide the useful out-of-band comments. Basically from a quick glance the buzzword view has a lot of good UI ideas that should have made it into the normal views as they have nothing to with actually running in a buzzword environment.

FWIW I'm benchmarking this against a PR where github is showing ~43,000 lines changed so things that are manageable in smaller changesets don't always scale.