In D6, when you preview a comment on an issue node, you see a table of any issue metadata updates. This is really helpful to help catch x-posting problems, and to just ensure you're really updating what you meant to update.

In D7, when you edit an issue, if you preview, you only see the new issue, but you get no indication of what changed.

Maybe the solution here is to recommend sites install diff.module? Then, at least you get a "View changes" button that tries to show you the diff of your edit. Sadly, that doesn't yet help much, due to this bug: #1550698: Diff of "select from list" fields shows change in key, not change in value. But, at least it's an existing contrib (already enabled on d.o) that basically solves this problem without us having to do any custom code.

Before anyone writes any code, let's decide what we want to do here. Perhaps all we need is to add this to project_issue.info:

recommends[] = diff

And put some text about it on the project node and the README/INSTALL file(s).

Related Issues

#1545952: [META] UI for updating an issue in D7

Level Of Effort

It will take approximately __ days of effort to fix this issue.

CommentFileSizeAuthor
#2 1558630-2.preview-changes-diff.png79.82 KBdww

Comments

senpai’s picture

Issue summary: View changes

Adding a related issue to the summary.

senpai’s picture

dww’s picture

Assigned: Unassigned » dww
Issue tags: +1h
StatusFileSize
new79.82 KB

Now that #1550698: Diff of "select from list" fields shows change in key, not change in value is fixed, I think recommending people install diff.module is a perfectly fine solution here. See screenshot from the 'View changes' output on a previewed issue edit on git7. Seems totally sufficient to me. So, I'll clean up the README and add the 'recommends' to the .info file, then call this fixed.

Screenshot of previewing changes during an issue update

dww’s picture

Status: Active » Fixed

The INSTALL.txt and README.txt are hopelessly out of date, and rewriting all that is out of scope. But, I at least added the recommends[] to the .info file:

http://drupalcode.org/project/project_issue.git/commit/7f03c3b

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Adding a level of effort to the summary.