Context
Display of diff with rendered html (instead of markup diff) is possible but costly because we need to iteratively use HTMLPurifier on the diff and each invocation is noticable. Even with only 10 changes in an artifact the artifact display is slowed down.
Rendering of text fields diff should be reworked to be on demand / asych.
Proposal
When "Show diff" is clicked, the diff is fetched from the server with the new "rendered diff" mode by default.
In addition to this "rendered diff" view, there is an option to see the markup difference (see mockup)
Not changed
- Modals don't change (no change rendered in modals)
- Mails don't change (it's already a link to the artifact view)