Uploaded image for project: 'Admincentral'
  1. Admincentral
  2. ADMINCTR-265

Improve layout configuration for easier decoration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.24
    • 6.3.0, 6.2.23
    • None
    • Yes
    • AuthX 19, AuthX 20
    • 1

      In the the current layout configuration

        rows:
          - cssClass: editor
            groups:
              - name: content
                apps:
                  - pages-app
                  - dam
                  - stories
                  - tours
                  - contacts
              - name: marketing
                apps:
                  - analytics
                  - campaigns
                  - marketing-tags
                  - abn-testing 

      The groups (the apps inside each group) are defined inside a row. While this approach allows easily seeing the definition and configuring all the layout with the resource file app, it is not that easy to decorate it, for instance, if we want to move a group to a different row, we have to define its apps again.

      Moreover, when the apps list is decorated, instead of appending the new value into the list, the new value is replacing the 1st element already defined in the list. (this is also valid for hidden apps).

      We want to change the definition in order to:

      • Have the groups defined separately of the rows, so the decoration is easier to apply
      • Add names in most groups, so it is possible and easier to decorate just one entry. This also fixes the issue of replacing the 1st item of the list when using decoration.
      • Enable decorating the hidden apps without replacing the existing apps.

      Acceptance criteria

      • It is possible to decorate a group adding an app keeping the existing apps
      layout:
        groups:
          - name: content
            apps:
              - name: new-app

      In this case, new-app will be added into the list without replacing pages-app.

      • It is possible to decorate the hidden apps keeping the existing apps
      layout:
        hiddenApps:
          configuration: configuration 
      • It is possible to hide a row
      layout:
        rows:
          - name: one
            displayed: false 

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              jalonso Jesus Alonso
              jalonso Jesus Alonso
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1d 1.75h
                  1d 1.75h