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

As an App Adm, I want to reuse my object's existing fields when creating a new form view

    Details

      Description

      As an App Adm, I want to reuse my object's existing fields when creating a new form view, so that I can reuse fields within my forms and avoid duplications in my object model

      Design Deliverables:

      Mockups
      Breakpoints

      The Object Fields Management Feature

      Given that an object can have multiple forms views, it will be very common that a user may reuse the existing fields that were previously defined in the creation of new form views. Not only that, but user may also need to manage and update the fields of an object, as well as add a field into the object without including in the Form View.

      To solve that problem, this story aims to provide the user with an environment to:

      • Understand the real estate of the object model;
      • Add new fields straight into the object only;
      • See the list of existing fields (as well as understand which are already in the Form and which are not);
      • Reuse existing fields in Form View creations;
      • Search for specific fields in the Object model (scope of LPS-102291);
      • Remove fields straight from the Object model (scope of LPS-95961).

      Acceptance Criteria

      • 1 -Given an object with existing fields previously defined, when the user accesses a Form View Builder of that object, then the user must be able to see the list of all existing fields in the Object data model.
      • 2- Given an object with existing fields previously defined, when the user accesses a Form View Builder of that object, then the user must be able to add an existing field of the Object data model to the Form View.
        • Add by drag and drop;
        • Add by double click.
      • 3- Given a user in the Form View Builder of an Object with existing fields, when the user adds an existing field of the Object into the Form View, then the field must be added to the Form View with all the predefined parameters.
        • Field type, label, help text, data provider, etc.
      • 4- Given an object with existing fields previously defined, when the user sees the list of existing fields of the object, then the user must be able to identify which fields are already in the Form View and which are available to be added.
      • 5- Given a user in the Form View Builder of an Object, when the user clicks on the "+" button of the Object panel, then the user must be able to add a new field direct to the Object data model
        • The new field added this way should not be automatically added to the Form View;
      • 6- Given a user in the Form View Builder of an Object and that the object has fields previously defined, when the user clicks on a field in the list of existing fields of the object in the left panel, then the system must highlight the field in the Object panel and let the user define the parameters of the field using the right panel of the screen (even if the field isn't in the Form View);
      • 7- Given a user in the Form View Builder of an Object and that the object has no fields defined yet, when the user sees the left panel of the Form View Builder, then the system must display a "No fields yet" page on the left panel;
      • 8- Given a user in the Form View Builder of an Object, when the user opens Liferay Control Panel, then the system must automatically hide the right menu panel whenever the Control Panel is open.

      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eduardo.zoby Eduardo Zoby
              Reporter:
              eduardo.zoby Eduardo Zoby
              Engineering Assignee:
              Felipe Pires (Inactive)
              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