Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121281

As a Fragment developer I need to organize the fragment elements so that they appear grouped and ordered correctly of the fragment tree

    Details

      Description

      Context/Intro
      Currently, when we have a tab fragment in a page and we add 9 tabs then in Selection Tree tabs names appear out of order. Additionally, all drop zones have the same name:

      Since tabs are out of order, it is not intuitive for the user to find which tab corresponds to with tab name in Section Tree. This is even worse for drop zones, that has all the same name

      The goal of this story is to organize the information available on the tree panel for tab fragment so that it is made understandable what dropzone or text are related to.

      -

      Organized content

      When a page creator is looking at the fragment tree in the fragment sidebar for the tab fragment

      Then the information is organized as follow :

      • for tab 1
        • text title1
        • DropZone#1
          • Fragments...
      • for tab 2
        • text title2
        • DropZone#2
          • Fragments...
      • etc.

      -

      Allow a Developer to order fragment elements

      When a Fragment developer is ordering fragments elements  

      Then they get ordered in the Fragment tree sidebar of the page editor

      • In fragment editor you can see : data-lfr-priority="X"

       

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      The editable field information of Tabs is organized in Selection panel Critical Manual No No Yes
      The data-lfr-priority attribute can order drop zone field information in Selection panel High Manual No No Yes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              david.gutierrez David Gutiérrez Mesa
              Engineering Assignee:
              Tarik Demnati (Inactive)
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master