Kallithea issues archive

Issue #97: Switching to side by side diff should be seamless within the same frame

Reported by: Sam Jaques
State: new
Created on: 2015-02-11 15:37
Updated on: 2015-02-11 23:22


I love side by side view as many others, but I refused to use this until now.

Currently: Whole file is parsed and can take a while (yes, we have very big legacy files ;) Too many scroll bars (at least 1 horizontally, 2 vertically) * the complete window is refreshed

Better: Show side by side diff in the same frame, and only load the differences like it is done in the standard view. Extending to the complete file should be an option.



Comment by Sam Jaques, on 2015-02-11 15:38

Comment by Thomas De Schampheleire, on 2015-02-11 20:45

With respect to showing just the part of the file that changed:

  • mergely does not seem to support that currently
  • other javascript libraries do, like jsdifflib, see demo at http://cemerick.github.io/jsdifflib/demo.html and specify a context size. Unfortunately, it doesn't look quite as neat but that could be stylable...

Comment by Mads Kiilerich, on 2015-02-11 23:22

It could perhaps be discussed with mergely upstream. Perhaps a feature could be contributed there so it can be used here.