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

Allow dismissing the A/B test panel if the user is not interested in this feature

    Details

      Description

      Design

      https://www.figma.com/file/QXNvT0PSbrBQ7xcNcasrG9/LPS-101055-dissmiss-a-b-test-panel?node-id=0%3A1

      Remark: some messages might have changed with respect to the design.

      Motivation

      As of LPS-98606, the A/B test panel icon is visible for registered users with edit-page permissions, even if Analytics Cloud connection hasn't been configured. While this changed was aimed to up-sell the product, there was no option to dismiss the panel. The goal of this story is to provide a way to hide the A/B test panel if AC is not configured. Additionally, to reduce the disturbance of the new icon, regardless of whether AC is configured or not, it will only be displayed on content pages (previously it was shown also on widget pages, with a disclaimer).

      Acceptance Criteria

      The "Hide A/B Test Panel" button is displayed in the AB test panel when AC is not connected

      • Given that AC is not configured in DXP
      • When a content page is visited by a registered user with edit page permissions
      • Then the A/B test icon shows in the control menu bar and if it's clicked, the panel shows:
        • The Analytics Cloud icon and a message
        • A primary button to view the trial (opens in a new page)
        • A secondary button to hide the panel

      The A/B test panel is hidden when the user clicks the "Hide A/B Test Panel" button

      • Given the "Hide A/B Test Panel" button is visible on the A/B test panel
      • When the button is clicked
      • The panel is hidden and no longer shows FOR THAT REGISTERED USER. Other users will view the panel until they choose to hide it themselves.

      The A/B test panel is shown in content pages when AC is configured

      • Given that AC is configured in DXP
      • When a content page is visited by a registered user with edit page permissions
      • Then, regardless of whether he chose to hide the panel, the A/B test panel shows.

      The A/B test panel is shown not shown in widget pages

      • Given that AC is configured/not configured in DXP
      • When a registered user with page edit permissions visits a widget page
      • Then the A/B test is not displayed in the control menu bar

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  Master