Patch #1717

Show diff for issue description change

Added by Artem Vasiliev 112 days ago.

Status:New Start:2008-07-30
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

This patch closes both #328 (put the fact of description change to issue history) and #746 (visualize description change).
It goes rather simple path and relies on availability of 'diff' utility (not a problem in many cases).

I just upgraded JournalDetails' values to :text field type (from :string of 256 symbols); better approach might be introducing Issue versioning with acts_as_versioned and making JournalDetails refer to previous and next versions of issue; but I thought this would be too heavy for this patch and better would be another improvement (if needed).

Contributed by Texuna Technologies.

issue_description_diff.patch (8.3 KB) Artem Vasiliev, 2008-07-30 16:47

issue_description_diff.png - screenshot (57.4 KB) Artem Vasiliev, 2008-07-30 19:50

issue_description_diff_svn_head.patch - Two quick fixes to make the patch work with SVN HEAD (6.7 KB) Markus Knittig, 2008-08-10 09:20

History

2008-07-30 19:50 - Artem Vasiliev

2008-08-10 09:20 - Markus Knittig

Looks good!

Also available in: Atom PDF