sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Default to rich diffs for SVG files #2673

fregante posted onGitHub

The feature existed but was broken. More info found in https://github.com/sindresorhus/refined-github/issues/2041

Removed in https://github.com/sindresorhus/refined-github/commit/e88a05df70ba76134a9b7e2331b18b999291927b, you can probably revert the commit and rewrite the loading behavior as suggested.

Originally asked in https://github.com/sindresorhus/refined-github/issues/1599

When SVG files are edited, usually the rich diff (rendered image) is more useful/desirable than textual diff.

This is particularly useful when such files are edited in an editor rather than by hand, since the changes are usually extensive enough to go over the size limit for showing the diff automatically, so neither the code nor the rich diff are shown by default (the "Load diff" link is shown instead). See for example pretty much any PR at icon repos, such as elementary/icons/pulls.


I would like to see this for pictures.

posted by SuperSandro2000 about 5 years ago

+1, same request for other images.

posted by hex0cter over 4 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests