XWiki Platform
  1. XWiki Platform
  2. XWIKI-13747

Allow resetting changes found by the "Compute change" feature of EM

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 8.3-rc-1
    • Fix Version/s: 9.3-rc-1
    • Component/s: Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Add a feature in the Compute change results that allow to revert a change to the original package version. This could be on a change by change basis, or just on a document basis depending on the complexity.
      The revert will add a new version to the page.

        Issue Links

          Activity

          Hide
          Thomas Mortagne added a comment - - edited

          Here is the plan so far:

          • inject a revert button using javascript in the list
          • clicking on the button execute an ajax request which end up calling a revert reset(Documenteference) in the XAR handler script service
          • both the diff status and the database are updated
          • javascript dynamically update the diff UI to remove the reverted document from the list
          Show
          Thomas Mortagne added a comment - - edited Here is the plan so far: inject a revert button using javascript in the list clicking on the button execute an ajax request which end up calling a revert reset(Documenteference) in the XAR handler script service both the diff status and the database are updated javascript dynamically update the diff UI to remove the reverted document from the list

            People

            • Assignee:
              Thomas Mortagne
              Reporter:
              Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: