Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1737

Implement workflow in template composer JAX RS calls

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.23.02, 2.23.03
    • None
    • None

    Description

      Currently, the template composer in the cms has:

      ---------------------

      preview edit

      ---------------------

      If however there is a preview configuration it should become

      ---------------------------------

      preview edit publish

      ---------------------------------

      This means, the very first REST call (./composermode) should return whether there is already a preview configuration or not.

      We have different behaviour for when there is and when there is no preview config yet:

      1) There is already preview config

      • publish button is available
      • edit button only does a client side toggle

      2) There is not yet a preview config

      • publish button is disabled or not visible
      • edit button does a REST call: /mountId./edit : This call creates a -preview configuration and REFRESHES the website page

      When 'publish' is available a click on it calls

      /mountId./publish

      This removes the website live confguration and replaces the -preview with ''

      After this, 'publish' is again disabled, and a click on 'edit' needs to invoke (2)

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: