Option to show diffs when looking at edits


(Alex R) #1

Maybe I’m just obsessive, but when I see the “edited” flag on posts, curiosity sometimes compels me to check it out, and then when I see that the revisions were mostly the same, I spend a while trying to play spot-the-difference. It would be nice if there were some way to trigger a diff mode.


(Jeff Atwood) #2

Yep, we want a better diff that shows what changed. Didn’t have time.

It’s on the roadmap, if someone wants to contribute a pull request with an awesome diff implementation, that’d be fantastic!


(Bill Ayakatubby) #3

Is this still on the roadmap to be finished? I noticed some strangeness around diff highlighting yesterday, but wasn’t sure whether I should submit a bug for it.


(Régis Hanol) #4

The diff is not yet finished. It’s currently done client-side and there are indeed some rough edges.


(Bill Ayakatubby) #5

Understood. Should I report the issues I found, or would that be useless at this point?


(Jeff Atwood) #6

We are waiting for pull requests in this area. Feel free to submit one :wink:


(Jeff Atwood) #7

We have rather comprehensive diff support now courtesy of @zogstrip!


(Jeff Atwood) #8

Topic lock icon is misaligned