Skip to content

Commit

Permalink
Use unformatted / raw data for new All Websites dashboard (#22751)
Browse files Browse the repository at this point in the history
* Migrate NumberFormatter to vue.js

* Migrate getFormattedEvolution to new NumberFormatter

* Adjust MultiSites API to use better metric names for previous period data and add them to totals

* Use unformatted API data in new all websites dashboard

* Remove no longer needed API metric nb_visits_lastdate

* updates expected test files

* Adds Changelog

* remove no longer needed js number formatter

* apply review feedback

* respect ratio in evolution calculation
  • Loading branch information
sgiehl authored Nov 21, 2024
1 parent f98c98d commit fc2f209
Show file tree
Hide file tree
Showing 66 changed files with 2,075 additions and 1,346 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)*

## Matomo 5.2.0

### Breaking Changes

* The MultiSites API has been reworked. The previously incorrectly named metrics for the previous period now have correct names:
* `previous_Actions_nb_pageviews` => `previous_nb_pageviews`
* `previous_Goal_revenue` => `previous_revenue`
* `previous_Goal_nb_conversions` => `previous_nb_conversions`
* `previous_Goal_0_nb_conversions` => `previous_orders`
* `previous_Goal_0_revenue` => `previous_ecommerce_revenue`

## Deprecations

* The methods `Db::isOptimizeInnoDBSupported`, `Db::optimizeTables` have been deprecated. Use `Db\Schema::getInstance()->isOptimizeInnoDBSupported` and `Db\Schema::getInstance()->optimizeTables` instead
Expand Down
1 change: 0 additions & 1 deletion plugins/CoreHome/CoreHome.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ public function getJsFiles(&$jsFiles)
$jsFiles[] = "libs/jqplot/jqplot-custom.min.js";
$jsFiles[] = "plugins/CoreHome/javascripts/color_manager.js";
$jsFiles[] = "plugins/CoreHome/javascripts/notification.js";
$jsFiles[] = "plugins/CoreHome/javascripts/numberFormatter.js";
$jsFiles[] = "plugins/CoreHome/javascripts/listingFormatter.js";

// we have to load these CorePluginsAdmin files here. If we loaded them in CorePluginsAdmin,
Expand Down
143 changes: 0 additions & 143 deletions plugins/CoreHome/javascripts/numberFormatter.js

This file was deleted.

Loading

0 comments on commit fc2f209

Please sign in to comment.