diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-11-10 19:14:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 19:14:56 +0300 |
commit | be724571d2f477b4f553411d41df3fb22408c0a6 (patch) | |
tree | 385046baeb033a1be7abe9f57139a99c819e9664 /plugins/CustomDimensions | |
parent | a4bdd6c9072d9c86e16fa566e129b7313751bdfe (diff) |
Move performance reports to a new page / category (#16673)
* Move performance reports to new category
* fix tooltips
* updates UI test
* updates expected test files
* updates expected screenshots
* Move Performance category after transitions
* Make page reports wider
* adds nonce to language selector in updater / installation
* updates expected test files
* Update getLanguagesSelector.twig
* change report title to page urls
* Hide performance viz on normal page reports (not in widgets)
* update tests
* updates submodules
* fix ui tests
Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
Diffstat (limited to 'plugins/CustomDimensions')
-rw-r--r-- | plugins/CustomDimensions/tests/System/expected/test___API.getReportMetadata_day.xml | 88 | ||||
-rw-r--r-- | plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action.png | bin | 28500 -> 28747 bytes | |||
-rw-r--r-- | plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_insights.png | bin | 31620 -> 31867 bytes | |||
-rw-r--r-- | plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_subtable.png | bin | 52753 -> 53014 bytes | |||
-rw-r--r-- | plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_mainmenu.png | bin | 28907 -> 30374 bytes | |||
-rw-r--r-- | plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_rowactions.png | bin | 31640 -> 31887 bytes |
6 files changed, 50 insertions, 38 deletions
diff --git a/plugins/CustomDimensions/tests/System/expected/test___API.getReportMetadata_day.xml b/plugins/CustomDimensions/tests/System/expected/test___API.getReportMetadata_day.xml index b498c355e2..0b90a12870 100644 --- a/plugins/CustomDimensions/tests/System/expected/test___API.getReportMetadata_day.xml +++ b/plugins/CustomDimensions/tests/System/expected/test___API.getReportMetadata_day.xml @@ -99,44 +99,6 @@ </row> <row> <category>Visitors</category> - <subcategory>Overview</subcategory> - <name>Performance overview</name> - <module>PagePerformance</module> - <action>get</action> - <onlineGuideUrl>https://matomo.org/faq/how-to/how-do-i-see-page-performance-reports/</onlineGuideUrl> - <metrics> - <avg_time_network>Avg. network time</avg_time_network> - <avg_time_server>Avg. server time</avg_time_server> - <avg_time_transfer>Avg. transfer time</avg_time_transfer> - <avg_time_dom_processing>Avg. DOM processing time</avg_time_dom_processing> - <avg_time_dom_completion>Avg. DOM completion time</avg_time_dom_completion> - <avg_time_on_load>Avg. on load time</avg_time_on_load> - <avg_page_load_time>Avg. page load time</avg_page_load_time> - </metrics> - <metricsDocumentation> - <avg_time_network>Average time (in seconds) how long it takes to connect to server. This includes the time needed to lookup DNS and establish a TCP connection. This value might be 0 after the first request to a domain as the browser might cache the connection.</avg_time_network> - <avg_time_server>Average time (in seconds) how long it takes the server to generate page. This is the time between the server receiving the request and start serving the response.</avg_time_server> - <avg_time_transfer>Average time (in seconds) how long it takes the browser to download the response from the server. This is the time from receiving the first byte till the response is complete.</avg_time_transfer> - <avg_time_dom_processing>Average time (in seconds) how long the browser spends loading the webpage after the response was fully received until the user can starting interacting with it.</avg_time_dom_processing> - <avg_time_dom_completion>Average time (in seconds) how long it takes for the browser to load media and execute any Javascript code listening for the DOMContentLoaded event after the the webpage was loaded and the user can already interact with it.</avg_time_dom_completion> - <avg_time_on_load>Average time (in seconds) how long it takes the browser to execute Javascript code waiting for the window.load event. This event is triggered once the DOM was completely rendered.</avg_time_on_load> - <avg_page_load_time>Average time (in seconds) how long it takes from requesting a page until the page is fully rendered within the browser</avg_page_load_time> - </metricsDocumentation> - <processedMetrics> - <avg_time_network>Avg. network time</avg_time_network> - <avg_time_server>Avg. server time</avg_time_server> - <avg_time_transfer>Avg. transfer time</avg_time_transfer> - <avg_time_dom_processing>Avg. DOM processing time</avg_time_dom_processing> - <avg_time_dom_completion>Avg. DOM completion time</avg_time_dom_completion> - <avg_time_on_load>Avg. on load time</avg_time_on_load> - <avg_page_load_time>Avg. page load time</avg_page_load_time> - </processedMetrics> - <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=PagePerformance&apiAction=get&period=day&date=2012-12-25,2013-01-23</imageGraphUrl> - <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=PagePerformance&apiAction=get&period=day&date=2012-12-25,2013-01-23</imageGraphEvolutionUrl> - <uniqueId>PagePerformance_get</uniqueId> - </row> - <row> - <category>Visitors</category> <subcategory>Locations</subcategory> <name>Country</name> <module>UserCountry</module> @@ -1154,6 +1116,18 @@ <avg_time_generation>Avg. generation time</avg_time_generation> </processedMetrics> <actionToLoadSubTables>getPageUrls</actionToLoadSubTables> + <relatedReports> + <row> + <name>Entry pages</name> + <module>Actions</module> + <action>getEntryPageUrls</action> + </row> + <row> + <name>Exit pages</name> + <module>Actions</module> + <action>getExitPageUrls</action> + </row> + </relatedReports> <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageUrls&period=day&date=2013-01-23</imageGraphUrl> <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageUrls&period=day&date=2012-12-25,2013-01-23</imageGraphEvolutionUrl> <uniqueId>Actions_getPageUrls</uniqueId> @@ -1780,6 +1754,44 @@ </row> <row> <category>Actions</category> + <subcategory>Performance</subcategory> + <name>Performance overview</name> + <module>PagePerformance</module> + <action>get</action> + <onlineGuideUrl>https://matomo.org/faq/how-to/how-do-i-see-page-performance-reports/</onlineGuideUrl> + <metrics> + <avg_time_network>Avg. network time</avg_time_network> + <avg_time_server>Avg. server time</avg_time_server> + <avg_time_transfer>Avg. transfer time</avg_time_transfer> + <avg_time_dom_processing>Avg. DOM processing time</avg_time_dom_processing> + <avg_time_dom_completion>Avg. DOM completion time</avg_time_dom_completion> + <avg_time_on_load>Avg. on load time</avg_time_on_load> + <avg_page_load_time>Avg. page load time</avg_page_load_time> + </metrics> + <metricsDocumentation> + <avg_time_network>Average time (in seconds) how long it takes to connect to server. This includes the time needed to lookup DNS and establish a TCP connection. This value might be 0 after the first request to a domain as the browser might cache the connection.</avg_time_network> + <avg_time_server>Average time (in seconds) how long it takes the server to generate page. This is the time between the server receiving the request and start serving the response.</avg_time_server> + <avg_time_transfer>Average time (in seconds) how long it takes the browser to download the response from the server. This is the time from receiving the first byte till the response is complete.</avg_time_transfer> + <avg_time_dom_processing>Average time (in seconds) how long the browser spends loading the webpage after the response was fully received until the user can starting interacting with it.</avg_time_dom_processing> + <avg_time_dom_completion>Average time (in seconds) how long it takes for the browser to load media and execute any Javascript code listening for the DOMContentLoaded event after the the webpage was loaded and the user can already interact with it.</avg_time_dom_completion> + <avg_time_on_load>Average time (in seconds) how long it takes the browser to execute Javascript code waiting for the window.load event. This event is triggered once the DOM was completely rendered.</avg_time_on_load> + <avg_page_load_time>Average time (in seconds) how long it takes from requesting a page until the page is fully rendered within the browser</avg_page_load_time> + </metricsDocumentation> + <processedMetrics> + <avg_time_network>Avg. network time</avg_time_network> + <avg_time_server>Avg. server time</avg_time_server> + <avg_time_transfer>Avg. transfer time</avg_time_transfer> + <avg_time_dom_processing>Avg. DOM processing time</avg_time_dom_processing> + <avg_time_dom_completion>Avg. DOM completion time</avg_time_dom_completion> + <avg_time_on_load>Avg. on load time</avg_time_on_load> + <avg_page_load_time>Avg. page load time</avg_page_load_time> + </processedMetrics> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=PagePerformance&apiAction=get&period=day&date=2012-12-25,2013-01-23</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=PagePerformance&apiAction=get&period=day&date=2012-12-25,2013-01-23</imageGraphEvolutionUrl> + <uniqueId>PagePerformance_get</uniqueId> + </row> + <row> + <category>Actions</category> <subcategory>customdimension3</subcategory> <name>MyName3</name> <module>CustomDimensions</module> diff --git a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action.png b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action.png Binary files differindex faabace31f..a3c1f02d34 100644 --- a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action.png +++ b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action.png diff --git a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_insights.png b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_insights.png Binary files differindex c5f04713d0..5446cc46e4 100644 --- a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_insights.png +++ b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_insights.png diff --git a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_subtable.png b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_subtable.png Binary files differindex 9d8438ac29..b98732297b 100644 --- a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_subtable.png +++ b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_action_subtable.png diff --git a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_mainmenu.png b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_mainmenu.png Binary files differindex 41a7494428..6fa45ac9fc 100644 --- a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_mainmenu.png +++ b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_mainmenu.png diff --git a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_rowactions.png b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_rowactions.png Binary files differindex cbf3a10b08..fc7e513d3f 100644 --- a/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_rowactions.png +++ b/plugins/CustomDimensions/tests/UI/expected-ui-screenshots/CustomDimensions_report_actions_rowactions.png |