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

When I get the invalid API error in the Page Audit panel I want to be redirected to Site settings so I can fix the problem

    Details

      Description

      Motivation

      Page Audit can be configured from System to Site level, but the API Key working is that in the site scope level. So we are changing the behavior we initially set for the "Configure" button (that is, the button leads the user to the highest level s/he has permissions to, see) and leading the user always to the Site settings.

      Requirements

      • The "Configure" button in the initial state of the panel (no API key configured) will lead the user with permissions to the site settings > Pages > Google PageSpeed Insights tab
        • Text for users with no permissions will be: Connect with Google PageSpeed Insights from Site Settings > Pages > Google PageSpeed Insights
      • The Set API Key button in the "invalid API Key error" will lead the user with permissions to the site settings > Pages > Google PageSpeed Insights tab
        • Text for users with no permissions will be: Set an API Key from Site settings > Pages > Google PageSpeed Insights 

      Acceptance Criteria

      Requirements
       
      Acceptance Criteria
       
      Test Strategy
       
      Covered by frontend / backend test? (Yes/No)
       
      The "Configure" button in the initial state of the panel (no API key configured) will lead the user with permissions to the site settings > Pages > Google PageSpeed Insights tab
      • Given the Page Audit panel in its initial state (no API Key configured)
      • When the user clicks on the Configure button
      • Then the user navigates to Site settings > Pages > Google PageSpeed Insights tab
      High  NO
      • The Set API Key button in the "invalid API Key error" will lead the user with permissions to the site settings > Pages > Google PageSpeed Insights tab
      • Given the Page Audit panel when the invalid API Key error is retrieved
      • When the user clicks on the Set API Key button
      • Then the user navigates to Site settings > Pages > Google PageSpeed Insights tab
      Medium NO 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Beltran Rengifo
              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
                  7.4.3.4 CE GA4
                  Master