You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
introduce some soft limits around diff rendering #2596
The client apps have historically been indifferent to large diffs, whereas GitHub the Website is very rigid about some diffs - requiring users to opt-in to view them.
As discussed in #1686 (comment) - there may be some diff sizes and shapes that make the editor cry (ridiculously long lines with wrapping enabled seems to be what currently hurts Codemirror). Until we have time to revisit our choice of diff experience (post 1.0 at least), I'd love to get some feels from @desktop/core on warning users about large diffs to keep things snappy.
For sake of simplicity and not using it as crutch, I'd rather not make this configurable at all to the user - for diffs over a certain size, display a message first and require the user to click to see it.
Activity
joshaber commentedon Sep 1, 2017
👍 💯
Large diffs like that are rarely meaningful too, so I doubt we're losing much.
donokuda commentedon Sep 1, 2017
I'm also 👍 with not rendering large diffs by default.
benrondeau commentedon Sep 22, 2017
Any update on this issue?
joshaber commentedon Sep 22, 2017
@benrondeau Nothing yet, but this is the place to watch for updates!
RichardM99 commentedon Oct 11, 2017
+1
joshaber commentedon Oct 11, 2017
Tentatively throwing this in 1.0.x.
wes321 commentedon Oct 27, 2017
Thank you 👍