diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-04-17 16:00:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 16:00:51 +0300 |
commit | 6936b93cba5150e0eaa879aebf3662b3e279d045 (patch) | |
tree | c63c93f92bc31479aa70d463939ef144eeb83e66 /plugins/CoreVisualizations | |
parent | 3c50481031e8b8ad647d8a74802e9558cebe41ce (diff) |
New page performance reports (#15736)
* Adds various new performance metrics and dimensions
* Adds tracking for new performance values
* track performance metrics only for page views
* Archive new performance metrics
* move everything into a new plugin
* fix archiving of overall metrics
* Adds new overview reports
* show performance metric on some more reports
* adds new page performance icon
* Adds new row action to view page performance evolution for pages
* Adds new stacked bar visualization for page performance evolutions
* show total value in stacked bar chart tooltips
* [TEMP] use php tracker package branch
* Adds some simple System tests
* Adds some UI tests
* remove performance metrics from action reports that don't support it
* move calculation to api
* mark as tracker plugin
* improve calculation of maximum value in bar evolution chart
* enrich existing tests with performance metrics
* updates expected test files
* send performance metrics with the next request after they are available
this might not be the pageview it self but any request after it, like a ping, goal, ...
* Adds request processor to process performance metrics not sent directly with the page view
* rebuilt js
* Add metric decriptions to evolution chart documentation
* fix convertion of microseconds part
* Ensure average page load time is displayed in evolution graph in scheduled reports
* fix some more tests
* move page performance overview to visitors overview
* Adds new table with performance metrics visualization
* Adds some additional information to page performance evolution overlay
* update omnifixture
* updates expected UI files
* Use mediumints for new dimensions
* Adds additional permission check
* Encode label in page performance overlay title
* Improve updating performance metrics in later requests
* Adds some integration tests
* improves metric documentations
* Send already available performance data with page view request
* update tests
* updates expected UI test screenshots
* updates expected test files
* improves archiving
* show page generation time in performance metrics table if matomo was installed before 4.0
* Hide page generation time in ui reports if Matomo was installed after 4.0
* Fix removal of unavailable columns from being displayed
that was done too early in the process causing to be overwritten again by the reports configureView
* do not track automatically calculated generation time any more
* split latency into network and server time
* [TEMP] update php tracker
* rebuilt piwik.js
* Ensure to count zero values as hits
* updates Omnifixture
* updates expected test files
* remove possibility to set generation time
* rebuilt piwik.js
* adjust tests
* update php tracker
* update test logs
* submodule
* update Omnifixture
* show page load time in action tooltip and visitor summary instead of generation time
* updates expected ui files
* mark page generation time metric as deprecated
* fix tests
* [TEMP] use submodule branches
* ensure lower metric values are shown as better
* use 4.x-dev branch of php-tracker
* update submodules
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r-- | plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php | 2 | ||||
-rw-r--r-- | plugins/CoreVisualizations/javascripts/jqplot.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php index 814903265b..69b5c1c686 100644 --- a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php +++ b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php @@ -208,7 +208,7 @@ class Evolution extends JqplotDataGenerator * @param DataTable[] $dataTables * @throws \Exception */ - private function addSelectedSeriesXLabels(array &$xLabels, array $dataTables) + protected function addSelectedSeriesXLabels(array &$xLabels, array $dataTables) { $xTicksCount = count($dataTables); foreach ($xLabels as $labelSeries) { diff --git a/plugins/CoreVisualizations/javascripts/jqplot.js b/plugins/CoreVisualizations/javascripts/jqplot.js index b6fd479e49..9b5dd5b2e2 100644 --- a/plugins/CoreVisualizations/javascripts/jqplot.js +++ b/plugins/CoreVisualizations/javascripts/jqplot.js @@ -638,8 +638,8 @@ function rowEvolutionGetMetricNameFromRow(tr) var viewDataTable = $('#' + this.workingDivId).data('uiControlObject').param['viewDataTable']; - var graphType; - if (viewDataTable == 'graphEvolution') { + var graphType = ''; + if (viewDataTable == 'graphEvolution' || viewDataTable == 'graphStackedBarEvolution') { graphType = 'evolution'; } else if (viewDataTable == 'graphPie') { graphType = 'pie'; @@ -1016,7 +1016,7 @@ RowEvolutionSeriesToggle.prototype.beforeReplot = function () { ctx.restore(); } - // trigger the event jqplotPiwikTickOver when the mosue enters + // trigger the event jqplotPiwikTickOver when the mouse enters // and new tick. this is used for tooltips. function handleMouseMove(ev, gridpos, datapos, neighbor, plot) { var c = plot.plugins.piwikTicks; |