Actions
User story #2782
closedUse a real diff viewing for Directive modification event log
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
In EventLog screen, when we see a Directive modification event, we are flooded by a lot of not really meaningfull XML.
A first solution is to display a diff of the before/after XML.
I see two solution:
1/ create a unified diff of the two XML, and display it with something like http://torisugari.hostei.com/development/UnifiedDiffToHTMLTable.html
(it's really easy to create diff in Java server-side, with for ex. http://code.google.com/p/java-diff-utils/)
2/ directly use a Javascript diff like https://github.com/kpdecker/jsdiff
The second one seems the easier.
In each case, we are making strong assomption about the structure of the XML (not two much different) witch should be OK if the XML document is correctly pretty printed.
Files
Actions