* Hide some more performance indicators by default.

Don't show: AOV, Returns, Gross Sales.

* Fix default hidden dashboard chart identifiers.

They were missing the expected endpoint prefix.
This commit is contained in:
Jeff Stieler 2020-03-31 18:58:06 -06:00 committed by GitHub
parent 0fd403ea20
commit 92a0f19058
1 changed files with 14 additions and 12 deletions

View File

@ -28,6 +28,9 @@ export default applyFilters( DEFAULT_SECTIONS_FILTER, [
'taxes/total_tax',
'taxes/shipping_tax',
'revenue/shipping',
'orders/avg_order_value',
'revenue/refunds',
'revenue/gross_sales',
],
},
{
@ -37,19 +40,18 @@ export default applyFilters( DEFAULT_SECTIONS_FILTER, [
isVisible: true,
icon: 'chart-bar',
hiddenBlocks: [
'avg_order_value',
'orders_avg_order_value',
'avg_items_per_order',
'items_sold',
'total_sales',
'refunds',
'coupons',
'taxes',
'shipping',
'amount',
'total_tax',
'order_tax',
'shipping_tax',
'download_count',
'products_items_sold',
'revenue_total_sales',
'revenue_refunds',
'coupons_amount',
'coupons_orders_count',
'revenue_shipping',
'taxes_total_tax',
'taxes_order_tax',
'taxes_shipping_tax',
'downloads_download_count',
],
},
{