Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
TANGO | #53 DIS | Jan22-Feb05, TANGO | #54 DIS | Feb05-Feb19, TANGO | #55 DIS | Feb19-Mar05, TANGO | #56 DIS | Mar05-Mar19, TANGO | #61 DEV | May14-Jun04, TANGO | #62 DEV | Jun04-Jun25, TANGO | #63 DEV | Jun25-Jul16
Description
Motivation
With this story, we want to build PageSpeed API configuration at system level.
Design
https://www.figma.com/file/MjnodYRWIJfT2toNjK8WnR/LPS-128382-configure-Page-Speed?node-id=1%3A1975
Technical Requirements
Configuration panel will be in: System settings > Pages > System Scope / Virtual Instance Scope / Site Scope sections
SYSTEM SCOPE:
2. There will be a check: Enable Google Page Speed Insights. It will be checked by default.
2.1. There will be help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them.
2.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see LPS-119068) in all sites of all Instances.
2.3. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible in the "VIRTUAL INSTANCE SCOPE" section
2.4. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible from the "SITE SCOPE" section
VIRTUAL INSTANCE SCOPE SECTION:
3. There will be a check: Enable Google Page Speed Insights. It will be checked by default.
3.1. There will be help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them.
3.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see LPS-119068) in all sites of the current Instance.
3.3. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible in the Site settings of any of the sites of the current Instance.
3.4. Even if the check is disabled, the "Google PageSpeed Insights" tab will be visible from the "SITE SCOPE" section
SITE SCOPE SECTION:
4. There will be a check: Enable Google Page Speed Insights. It will be checked by default.
4.1. There will be a help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them.
4.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see LPS-119068) in all sites in all Instances.
4.3. Even if the check is disabled, the "Google PageSpeed Insights" tab will be visible from the Site settings of any of the sites in the instance, and it will be unchecked for all those sites
5. There will be a Field to enter the API Key (format: AIzaSyAq-oKsvIhlYHdk1UXCFy63h74ECIgbgbE)
- Label: API Key
- Help text: Get your API Key at https://developers.google.com/speed/docs/insights/v5/get-started
NOTE: The value in this field will be inherited by all instances
6. There will be a field for setting specific timeout:
Label: Timeout Interval.Help text (under the field): Define the time (in milliseconds) before a PageSpeed Insights request times out.Default value: 30000 millisecs
7. There will be a field for specifying the "strategy" parameter for the API:
- Label: Preferred Strategy
- Help text: Select what kind of device you want to audit for. Mobile strategy includes additional checks. Selected strategy will be applied to all page audits.
- Dropdown to select Mobile or Desktop. It will be set as Mobile.
NOTE.- If the field is kept void, then the default value (desktop) will apply. Additional checks for mobile are: Small Tap Targets, Incorrect Aspect
- Cache enablement will be tackled in LPS-128387
System settings values are overwritten by Instance values for a particular instance, but the feature has to be enabled in the system level for the instance settings to show it.
Acceptance Criteria
Requirements |
Acceptance Criteria |
Test Strategy |
Covered by frontend / backend test? (Yes/No) |
---|---|---|---|
1. Configuration panel will be in: System settings > Pages > System Scope / Virtual Instance Scope / Site Scope sections |
|
Low | NO |
2. There will be a check: Enable Google Page Speed Insights. It will be checked by default. 2.1. There will be a subtitle / help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them. |
|
Low | YES |
2.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see |
|
Low | NO |
2.3. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible in the "VIRTUAL INSTANCE SCOPE" section |
|
Medium | NO |
2.4. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible from the "SITE SCOPE" section |
|
Medium | NO |
3. There will be a check: Enable Google Page Speed Insights. It will be checked by default. 3.1. There will be help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them. |
|
Low | YES |
|
Low | NO | |
3.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see |
|
Low (already tested) | NO |
3.3. When the check is disabled, the "Google PageSpeed Insights" tab won't be visible in the Site settings of any of the sites of the current Instance. |
|
Medium | NO |
3.4. Even if the check is disabled, the "Google PageSpeed Insights" tab will be visible from the "SITE SCOPE" section |
|
Medium | NO |
4. There will be a check: Enable Google Page Speed Insights. It will be checked by default. 4.1. There will be a help text: Google PageSpeed Insights can find accessibility and SEO issues in your pages, and provide suggestions to fix them. |
|
Low | YES |
|
Low | NO | |
4.2. When the check is disabled, the Page Audit icon won't be visible from the view mode of the pages (see |
|
Low (already tested) | NO |
4.3. Even if the check is disabled, the "Google PageSpeed Insights" tab will be visible from the Site settings of any of the sites in the instance, and it will be unchecked for all those sites |
|
Medium | NO |
5. There will be a Field to enter the API Key in the "SITE SCOPE" section |
|
Low | NO |
|
|
Low | |
|
Low | ||
7. There will be a field for specifying the "strategy" parameter for the API:
|
|
Low | NO |
|
Low | NO | |
NOTE.- If the field is kept void, then the default value (desktop) will apply. |
|
Medium | NO |
NOTE.- Additional checks for mobile are: Small Tap Targets, Incorrect Aspect Ratios and Illegible font sizes. |
|
High | NO |
|
High | NO | |
All values in the Site Scope section are inherited by all sites |
|
Critical | NO |
|
Critical | NO |
Attachments
Issue Links
- is related to
-
LPS-135132 Enabling check in site settings doesn't work when it's unchecked in Instance settings > Site scope
- Closed
-
LPS-135167 When Enable Google PageSpeed is unchecked, the Google PageSpeed tab visible for SITE SCOPE
- Closed
-
LPS-135267 Resetting default values doesn't work in Page Audit Site Settings
- Closed