Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Add side-by-side comparisons #7

Open
jyn514 opened this issue Apr 18, 2018 · 2 comments
Open

Add side-by-side comparisons #7

jyn514 opened this issue Apr 18, 2018 · 2 comments

Comments

@jyn514
Copy link
Owner

jyn514 commented Apr 18, 2018

Bolding only goes so far - it doesn't show removed items, modified items, and it's hard to implement. I'd like to do a side-by-side comparison. diff and patch together should make this fairly simple on the backend; on the front end we'll need to add a second panel.

@jyn514
Copy link
Owner Author

jyn514 commented Apr 18, 2018

Found a tool called colordiff which makes this look similar to git diff

only works for terminals, not HTML
In combination with aha, which converts ANSI to HTML, this should work.

@jyn514
Copy link
Owner Author

jyn514 commented Apr 18, 2018

@hdamron17 do we want to show the difference from the last commit, or from the last commit seen in the browser? The first is easy to implement, the second requires brennan to pass things to the backend.

This would destroy our caching, ignore this

@jyn514 jyn514 mentioned this issue Apr 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant