Repository navigation
Add feature remove-diff-signs - #1866
Conversation
It's a single class added on body, using ajax+pageDetect is an overkill. Fixes: going from Commits page to Commit
|
This is ready to merge, except I need suggestions on how to handle diffs and patches. This is how it looks currently. Notes:
Perhaps we should leave inline diffs/patches untouched. |
Yeah, probably best. I don't think people would realize they could still copy-paste it and use it as a |
|
The downside of hiding the diff symbols is that it now looks like all code is indented. Should we also move it to the left? |
Change suggestions: sindresorhus/package-json#51 (comment) (Works) |
This reverts commit c4724da.
I'm hesitant to do that. Not all code blocks are indented the same way (some use Remember what we had to go through with the previous |
Yeah... But that was slightly different from what I can remember. Then, we actually replaced some nodes. This would only be CSS changes. |
sindresorhus
left a comment
There was a problem hiding this comment.
Let's try it like this now and see how we feel about it after a while.
|
Commenting here since I was about to open a bug about it. The new spacing is much worse IMO than having the symbols. The spacing causes me to believe everything is formatted badly when reading the diffs and I have to remember that the space is there because of this feature. |


Closes #1464
It can be disabled 🎈
Test
Any commits on https://github.com/sindresorhus/refined-github/commits/master
Any reviewed block on #1783
Full diff on https://github.com/sindresorhus/refined-github/pull/1783/files
Question
Where else do commits appear
Screenshot