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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1558630-2.preview-changes-diff.png | 79.82 KB | dww |
Comments
Comment #0.0
senpai commentedAdding a related issue to the summary.
Comment #1
senpai commentedComment #2
dwwNow 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.
Comment #3
dwwThe 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
Comment #4.0
(not verified) commentedAdding a level of effort to the summary.