[ADMINCTR-265] Improve layout configuration for easier decoration Created: 29/Sep/22  Updated: 16/Nov/22  Resolved: 26/Oct/22

Status: Closed
Project: Admincentral
Component/s: None
Affects Version/s: 6.3.0, 6.2.23
Fix Version/s: 6.3.0, 6.2.24

Type: Story Priority: Neutral
Reporter: Jesus Alonso Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 1d 1.75h Time Spent: 1d 1.75h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes ADMINCTR-320 DOC: Add note about decorating new an... Closed
dependency
documentation
to be documented by ADMINCTR-307 DOC: Update App Launcher layout defin... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ADMINCTR-309 QA Sub-task Completed Thuy To  
ADMINCTR-310 Port to 6.3 Sub-task Completed Jesus Alonso  
Template:
Acceptance criteria:
Empty
Documentation update required:
Yes
Epic Link: App Launcher redesign
Sprint: AuthX 19, AuthX 20
Story Points: 1
Team: AuthorX

 Description   

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 

Generated at Sun Feb 11 23:05:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.