Adjust widgets, add further days 7 31 365

This commit is contained in:
Daniel Siepmann 2020-08-24 15:18:46 +02:00
parent 1e20d8192a
commit 6ba74b394c
2 changed files with 107 additions and 4 deletions

View file

@ -29,6 +29,22 @@ services:
height: 'medium'
width: 'small'
dashboard.widget.sysLogErrors:
class: 'TYPO3\CMS\Dashboard\Widgets\BarChartWidget'
arguments:
$dataProvider: '@TYPO3\CMS\Dashboard\Widgets\Provider\SysLogErrorsDataProvider'
$view: '@dashboard.views.widget'
$buttonProvider: '@TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider'
tags:
- name: dashboard.widget
identifier: 'sysLogErrors'
groupNames: 'systemInfo'
title: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.title'
description: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.description'
iconIdentifier: 'content-widget-chart-bar'
height: 'medium'
width: 'small'
# Events
DanielSiepmann\DsSite\EventListener\AddFurtherMetadataToFile:
public: true

View file

@ -9,22 +9,65 @@ services:
$queryBuilder: '@querybuilder.tx_tracking_pageview'
$pagesToExclude: [1, 11, 38]
DanielSiepmann\Tracking\Dashboard\Provider\NewestPageviews:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'
$pagesToExclude: [1, 11, 38]
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'
$pagesToExclude: [1, 11, 38]
DanielSiepmann\Tracking\Dashboard\Provider\NewestPageviews:
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage7_days:
class: DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'
$pagesToExclude: [1, 11, 38]
$days: 7
dashboard.widget.danielsiepmann.tracking.pageViewsPerPage7_days:
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
arguments:
$view: '@dashboard.views.widget'
$dataProvider: '@DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage7_days'
tags:
- name: 'dashboard.widget'
identifier: 'pageViewsPerPageDoughnut7_days'
groupNames: 'tracking'
iconIdentifier: 'content-widget-chart-bar'
title: 'Pageviews 7 Days'
description: ''
additionalCssClasses: 'dashboard-item--chart'
height: 'medium'
width: 'small'
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage365_days:
class: DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'
$pagesToExclude: [1, 11, 38]
$days: 365
dashboard.widget.danielsiepmann.tracking.pageViewsPerPage365_days:
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
arguments:
$view: '@dashboard.views.widget'
$dataProvider: '@DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage365_days'
tags:
- name: 'dashboard.widget'
identifier: 'pageViewsPerPageDoughnut365_days'
groupNames: 'tracking'
iconIdentifier: 'content-widget-chart-bar'
title: 'Pageviews 365 Days'
description: ''
additionalCssClasses: 'dashboard-item--chart'
height: 'medium'
width: 'small'
dashboard.provider.danielsiepmann.tracking.records.topics:
class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews'
arguments:
$queryBuilder: '@querybuilder.tx_tracking_recordview'
$recordTableLimitation: ['sys_category']
dashboard.widget.danielsiepmann.tracking.records.topics:
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
arguments:
@ -32,10 +75,54 @@ services:
$dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics'
tags:
- name: 'dashboard.widget'
identifier: 'newsDoughnut'
identifier: 'topics'
groupNames: 'tracking'
iconIdentifier: 'content-widget-chart-pie'
title: 'Topics'
title: 'Topics 31 Days'
description: 'Shows which topics are called most'
additionalCssClasses: 'dashboard-item--chart'
height: 'medium'
width: 'small'
dashboard.provider.danielsiepmann.tracking.records.topics7_days:
class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews'
arguments:
$queryBuilder: '@querybuilder.tx_tracking_recordview'
$recordTableLimitation: ['sys_category']
$days: 7
dashboard.widget.danielsiepmann.tracking.records.topics7_days:
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
arguments:
$view: '@dashboard.views.widget'
$dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics7_days'
tags:
- name: 'dashboard.widget'
identifier: 'topics7days'
groupNames: 'tracking'
iconIdentifier: 'content-widget-chart-pie'
title: 'Topics 7 Days'
description: 'Shows which topics are called most'
additionalCssClasses: 'dashboard-item--chart'
height: 'medium'
width: 'small'
dashboard.provider.danielsiepmann.tracking.records.topics365_days:
class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews'
arguments:
$queryBuilder: '@querybuilder.tx_tracking_recordview'
$recordTableLimitation: ['sys_category']
$days: 365
dashboard.widget.danielsiepmann.tracking.records.topics365_days:
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
arguments:
$view: '@dashboard.views.widget'
$dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics365_days'
tags:
- name: 'dashboard.widget'
identifier: 'topics365days'
groupNames: 'tracking'
iconIdentifier: 'content-widget-chart-pie'
title: 'Topics 365 Days'
description: 'Shows which topics are called most'
additionalCssClasses: 'dashboard-item--chart'
height: 'medium'