Refined-github: Default to rich diffs for SVG files

Created on 26 Oct 2018  路  5Comments  路  Source: sindresorhus/refined-github

Issuehunt badges

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 https://github.com/elementary/icons/pulls.

idasbiste earned $40.00 by resolving this issue!

Rewarded on Issuehunt enhancement help wanted

Most helpful comment

I agree, this would be useful. Also make sure you request it from GitHub themselves: https://github.com/contact

All 5 comments

I agree, this would be useful. Also make sure you request it from GitHub themselves: https://github.com/contact

@issuehunt has funded $40.00 to this issue.


@sindresorhus has rewarded $36.00 to @idasbiste. See it on IssueHunt

  • :moneybag: Total deposit: $40.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $4.00

It would be nice to display a rich diff in commits by default to.

Cross-referencing #2041, since this feature was disabled in ba5d2df due to issues with the current implementation.

Was this page helpful?
0 / 5 - 0 ratings