Add a statistics page to the panel

The most read, reads per language with a daily chart, and published content
nobody opened, each compared with the period before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 10:19:19 +02:00
parent 8d0f81f9c5
commit 697d333ad4
9 changed files with 605 additions and 0 deletions

View File

@@ -144,6 +144,34 @@ return [
'select_all' => 'Select all',
],
'statistics' => [
'title' => 'Statistics',
'period' => 'Period',
'last_days' => 'Last :days days',
'languages' => 'Reads by language',
'compared' => 'Compared with the previous period of the same length.',
'daily' => 'Reads per day',
'top' => 'Most read',
'no_views' => 'No reads in this period yet.',
'unread' => 'On the site and unread',
'unread_hint' => 'Published, and nobody opened it in the period: either hard to find, or not worth finding.',
'all_read' => 'Everything published was read at least once.',
'new' => 'new',
'columns' => [
'title' => 'Title',
'type' => 'Type',
'views' => 'Reads',
'change' => 'Change',
],
'types' => [
'pages' => 'Page',
'projects' => 'Project',
'services' => 'Service',
'calls' => 'Call',
'members' => 'Member',
],
],
'calendar' => [
'title' => 'Editorial calendar',
'legend' => 'Legend',