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 /core/Plugin/Visualization.php | |
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 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 53c0254382..5ff47dab33 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -453,10 +453,6 @@ class Visualization extends ViewDataTable $this->config->setDefaultColumnsToDisplay($columns, $hasNbVisits, $hasNbUniqVisitors); } - if (!empty($this->dataTable)) { - $this->removeEmptyColumnsFromDisplay(); - } - if (empty($this->requestConfig->filter_sort_column)) { $this->requestConfig->setDefaultSort($this->config->columns_to_display, $hasNbUniqVisitors, $columns); } @@ -533,6 +529,10 @@ class Visualization extends ViewDataTable foreach ($self->config->getPresentationFilters() as $filter) { $dataTable->queueFilter($filter[0], $filter[1]); } + + if (!empty($this->dataTable)) { + $self->removeEmptyColumnsFromDisplay(); + } }); $this->dataTable = $postProcessor->process($this->dataTable); |