Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19044

Provide real property names in Diff html as data attributes

    XMLWordPrintable

Details

    • 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

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: