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

Prevent user from hiding input fragments

    Details

      Description

      As a page editor, I don't want to be able to hide some of the mapped fragments when I'm working on a form, so that I don't get an inconsistent form.

      Design

      Figma

      Acceptance Criteria

      • The user cannot hide any input fragment by using the eye icon, only delete it.
      • All the containers (container, form container and grid) can be hidden (see LPS-149984).
      • When the container or the grid are hidden, a warning will show up if they contain a required input fragment or a submit element: This fragment contains a required form field or a submit element. Are you sure you want to hide it? Hide / Cancel
      • In case any required fragment is hidden, or the submit element is hidden / not added when trying to publish the page, a warning will be shown: This page contains one or several forms with missing or hidden form components. Are you sure you want to publish it? Publish / Cancel
      • In case the submit button is hidden or not added when trying to publish the page, a warning will be shown: This page contains one or several forms with missing or hidden submit elements. Are you sure you want to publish it? Publish / Cancel

      Notes.-

      • In case that two or more different warnings need to be shown in the same interaction, a specific modal with the list of errors will be shown. See LPS-152107.
      • Warnings related to the submit button are tackled in LPS-151754.

      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 sites designer cannot hide a Text Input fragment on content page. HIGH Manual No No Yes
      The sites designer cannot hide a Text Input fragment on display page template. HIGH Manual No No Yes
      View warning modal when hiding and publishing a layout elements that contains a required Text Input fragment on content page. HIGH Manual No No Yes
      View warning modal when hiding and publishing a layout elements that contains a required Text Input fragment on display page template. HIGH Manual No No Yes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Product Team Echo
              Recent user:
              Maria Muriel
              Participants of an Issue:
              Product Designer(s) Assigned:
              Carolina Rodriguez
              Frontend Developer(s) Assigned:
              Sandro Chinea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master