Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
12.10.10
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The way we're displaying the diff we currently always display the translated version of the properties for which we display a diff. This completely makes sense from a UI POV, however we're completely loosing the information of the actual property name it concerns, if we want to build extensions on top of this UI with some javascript. So for example, if I want a mechanism to detect that a specific line diff is about a given property of a given xobject I'm currently only able to retrieve the translated version of the property, which is not helpful if I want to exploit the data.
So I propose that we enhance the diff view to provide all the real property names in some data-attributes of the html elements.
Attachments
Issue Links
- blocks
-
CRAPP-48 Allow to create a discussion from a diff line
- Closed
- relates to
-
XWIKI-20730 Data attribute properties are not very consistent in diff view
- Open