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

As an App Adm, I want to use an existing fieldset

    Details

      Description

      As an App Adm, I want to use an existing fieldset

      Design Deliverable:

      Mockups

      Context

      It is very common for users to find themselves in need of using the same group of fields in different objects and forms views (e.g. address). Without fieldsets, the users would have to create those same fields over and over for each object, even when all the parameters and configurations are exactly the same for all objects, there is no way to reuse. To solve that, we need to implement the fieldsets, which will offer them a way to save, update and reuse those groups of fields that are commonly used by many of their objects.

      This Story aims to allow users to check the list of saved fieldsets and place them in their Objects and Form Views.

      Users should be able to:

      • Check the list of saved/available fieldsets
        • Saved fieldsets should be shared across objects
          • A fieldset created in an object X should also be available for object Y.
      • Reuse/insert an existing fieldset into the Form View/Object
        • When this happens, the fieldset should be linked to the object/form and the fields of the fieldset shall now be also in the object/form
        • If there is already a field in the Form/Object with the same "Field name" that one of the fieldset's field, the new field that will be inserted along with the fieldset should be automatically renamed to avoid field name conflicts.

      When is use, fieldset should:

      • Act as a group in the Form, allowing users to move (drag and drop) the group of fields as a whole in the view;
        • Users should be able to change the size and position of the field within the fieldset.

      Acceptance Criteria

      • 1- Given that a user is creating a Form View for an Object, when he clicks on the "Fieldset" tab of the right sidebar, then the system should list for the user the saved fieldsets that are available for him.
        • Fieldsets should not be object scoped, users should be able to share fieldsets across objects.
      • 2- Given that a user is creating a Form View for an Object and clicked on the "Fieldset" tab of the right sidebar, when a user double clicks or drag and drop an existing fieldset into the Form View canvas, then the fields of the fieldset should now be in the Object and the Form View
        • The Object and Form View should now be linked to the fieldset, in a way that any update on the fieldset should impact also the Form/Object.
        • If there is already a field in the Form/Object with the same "Field name" as one of the fieldset's field, the new field that will be inserted (along with the fieldset) should be automatically renamed to avoid field name conflicts.
      • 3- Given that a user is creating a Form View for an Object and the Form View has a fieldset in it, when a user clicks to drag inside the area of the fieldset, then the user should be able to move/drag and change the position of the fields as a group in the Form View.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)
      • Make sure that it has the extensions points needed to allow GS and customers to customize the feature

        Attachments

          Issue Links

          1.
          [DS] Mockups LPS-107641 Technical Task Closed Felipe Pires  
          2.
          [PM] Acceptance Criteria LPS-107963 Technical Task Closed Matheus Xavier  
          3.
          [QA] Review ACs and Draft TCs LPS-109507 Technical Testing Closed Rodrigo Cunha  
          4.
          [FE] Show list of Fieldsets in the Form Builder sidebar LPS-109156 Technical Task Closed Brian Chan  
          5.
          [FE] Allow dragging existing Fieldsets into the Form Builder LPS-110209 Technical Task Closed Bruno Basto (Inactive)  
          6.
          [FE] After a Fieldset has been added to the form, users should not be able to add it again LPS-110282 Technical Task Closed Brian Chan  
          7.
          [FE] After a Fieldset has been added to the form, users should not be able to modify it LPS-110397 Technical Task Closed Bruno Basto (Inactive)  
          8.
          [FE] Visually differentiate (according to mockups) Fieldsets from Sections LPS-110281 Technical Task Closed Bruno Basto (Inactive)  
          9.
          [FE] Rename from "Section" to "Fieldset" and reuse existing classes LPS-111182 Technical Task Closed Bruno Basto (Inactive)  
          10.
          [QA] Manual validation - Round 2 - Web Content - FAILED LPS-115766 Technical Testing Closed Alex Candido  
          11.
          [Impedibug] It's NOT possible edit, use or delete the default Fieldset "Google Docs Metadata" LPS-116857 Impedibug Closed Guilherme Freire  
          12.
          [Impedibug] Fieldsets created on Metadata Sets are not listed in Fieldset tab in the right sidebar LPS-116869 Impedibug Closed Leonardo Barros (Inactive)  
          13.
          [QA] Manual validation - Round 3 - Documents and Media - FAILED LPS-117153 Technical Testing Closed Alex Candido  
          14.
          [QA] Manual validation - Round 1 - App Builder - FAILED LPS-117240 Technical Testing Closed Alex Candido  
          15.
          Duplicated fieldset is lost after saving the form/structure/metadata - PASSED LPS-117241 Impedibug Closed Alex Candido  
          16.
          Field group is created when adding back a duplicated fieldset that was removed from form view only - PASSED LPS-117243 Impedibug Closed Alex Candido  
          17.
          It's not possible to save a form view after removing a crashed duplicated fieldset from the form view only - PASSED LPS-117245 Impedibug Closed Alex Candido  
          18.
          Content is being duplicated when activating repeatable option - PASSED LPS-117246 Impedibug Closed Alex Candido  
          19.
          Fieldset crashes when editing its properties directly from Object sidebar during reuse in a new form view - PASSED LPS-117248 Impedibug Closed Alex Candido  
          20.
          It should not be possible to drag fields/fieldsets into the fieldset already added in the form view body - AB, WEM, DM - PASSED in gabrielwas PR#191 LPS-117600 Impedibug Closed Alex Candido  
          21.
          Fieldsets tab crashes after creating a new fieldset using an existing one - WEM, DM - PASSED LPS-117613 Impedibug Closed Alex Candido  
          22.
          [QA] Manual validation - Round 4 - App Builder - FAILED LPS-118018 Technical Testing Closed Alex Candido  
          23.
          [QA] Manual validation - Round 5 - Web Content - FAILED LPS-118042 Technical Testing Closed Alex Candido  
          24.
          [QA] Manual validation - Round 6 - Documents and Media - FAILED LPS-118043 Technical Testing Closed Support QA  
          25.
          [QA] Manual validation - Final Round (Impedibugs validation only) - PASSED LPS-118045 Technical Testing Closed Alex Candido  

            Activity

              People

              Assignee:
              alex.candido Alex Candido
              Reporter:
              felipe.pires Felipe Pires
              Engineering Assignee:
              Victor Galan
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master