Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

  •  
     
    story #11667 display diff side by side
Summary
Empty
display diff side by side
Empty

Functional overview

  • In the "file" view, there is a new toggle to display diff either in side-by-side or in unidiff.
  • When diff is changed, the preference for user is kept and will be used by default (user can change at any time).
  • Default is still unidiff

The diff is then displayed side by side and all features of diff works the same (comment & co).

Technical overview

  • CSS will be tricky to be right and efficient (esp. big files). Should be done on top of burning parrot pages
  • Most of the work is front end (angular). REST backend isn't supposed to change
  • Point of attention
    • Storage of comments (should be ok as we already store the offset)
    • Autocollapse of common diff parts
    • Scroll synchro should be managed manually
    • Code need to be prepared to introduce side-by-side
    • Bump of CodeMirror to latest version
Empty
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
#11667
Manuel Vacelet (vaceletm)
2018-12-13 11:45
2018-06-22 15:06
12844

References

Follow-ups

User avatar

It means that the team had to write the javascript code to manage the synchronisation between the 2 views (left/right) when someones scroll in diff side by side

User avatar
gerrit #12510 integrated into Tuleap 10.4.99.127

  • 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