•  
     
    story #14897 see rendered html diff in artifact changes
Summary
Empty
see rendered html diff in artifact changes

I'm not polluated by markup changes

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)
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#14897
Manuel Vacelet (vaceletm)
2020-08-13 11:44
2020-05-20 13:58
3930

References

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Attachments 1.png, 2.png added