Project

General

Profile

Actions

User story #2782

closed

Use a real diff viewing for Directive modification event log

Added by François ARMAND over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
2
Assignee:
Jean VILVER
Category:
Web - UI & UX
Target version:
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


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #2851: Viewing Directive modification diff in the event logs is too uglyReleasedJean VILVER2012-08-27Actions
Actions

Also available in: Atom PDF