Human readable history of modification for mail notification

Hi,
I have problem with the notification send by mail for update.
Does it exist a better way for rendering the history of the modifications by email ?

Regards.
Camille Desmots

Hi. What problem do you have? :slight_smile:

Are you using the new notifications application: http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/ ?

If so you may be interested by:

Could you also explain what you mean by history of modifications? And by readable?

Thx

Yes, I’m using the last notification application.
I try to explain in a better way :

In the following example an user have modified an array.

For example we’ve got this :
current_XWiki_diff_representation

We would prefer a WYSIWYG version like this :
expected_XWiki_diff_representation

Regards.
Camille Desmots
(France - Rennes)

Ok I understand what you mean now! :slight_smile:

We don’t have any tooling ATM to provide a WYISWYG diff (I’m not even sure how to represent things in it. For example imagine that you replace some text “value1” with “value2”, using an strikethrough and red background? :slight_smile:

Also imagine that you remove a complete table and replace it with, say a list. etc.

This raises a lot of questions…

What we could imagine having more easily is a side-by-side diff showing before and after but it doesn’t lend itself very well to emails IMO (see https://meta.discourse.org/t/html-diff-view-is-a-bit-broken/15716 for an example).

In any case what you ask is not something that exists so you have 2 options:

  1. Since you can use your own email template you can implement yourself whatever you need
  2. You could raise a JIRA issue for suggesting an improvement on jira.xwiki.org. There’s little chance that anyone will implement it any time soon but it’ll get logged. If you want to make it progress fast, I think there are two ways: provide a PR yourself (if you have the ability to do so) or contract one of the companies sponsoring the development of XWiki to see if they could implement it for you (see http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport).

Thanks (and I agree it would be nice to have a non-technical diff, i.e not based on the markup).