improvements(dashboard): add headers to all overview tables to get a better understanding if its sessions or page views

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-01-21 15:21:24 +00:00
parent b38f3913c3
commit 64a7e2ab26
7 changed files with 93 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ export default function OverviewTopGeo({ projectId }: OverviewTopGeoProps) {
btn: 'Countries',
chart: {
options: {
columns: ['Country', isPageFilter ? 'Views' : 'Sessions'],
renderSerieName(name) {
return getCountry(name[0]) || NOT_SET_VALUE;
},
@@ -69,6 +70,7 @@ export default function OverviewTopGeo({ projectId }: OverviewTopGeoProps) {
btn: 'Regions',
chart: {
options: {
columns: ['Region', isPageFilter ? 'Views' : 'Sessions'],
renderSerieName(name) {
return name[1] || NOT_SET_VALUE;
},
@@ -111,6 +113,7 @@ export default function OverviewTopGeo({ projectId }: OverviewTopGeoProps) {
btn: 'Cities',
chart: {
options: {
columns: ['City', isPageFilter ? 'Views' : 'Sessions'],
renderSerieName(name) {
return name[1] || NOT_SET_VALUE;
},