From f828ddefeefcd56801d0e98293f7adf1d68178fb Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 19 Sep 2024 11:37:39 +0100 Subject: [PATCH] Updated missed references to unique visitors ref https://github.com/TryGhost/Ghost/pull/21035 - We decided to rename unique visitors to unique visits, but I missed a few places. Updated test case names for good measure --- ghost/admin/app/components/stats/charts/kpis.js | 2 +- ghost/admin/tests/acceptance/stats-test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/components/stats/charts/kpis.js b/ghost/admin/app/components/stats/charts/kpis.js index 3a42faf37b..6db1cab3b6 100644 --- a/ghost/admin/app/components/stats/charts/kpis.js +++ b/ghost/admin/app/components/stats/charts/kpis.js @@ -175,7 +175,7 @@ export default class KpisComponent extends Component { displayValue = fparams[0].value[1] !== null && fparams[0].value[1].toFixed(2) + '%'; break; default: - tooltipTitle = 'Unique visitors'; + tooltipTitle = 'Unique visits'; displayValue = fparams[0].value[1] !== null && formatNumber(fparams[0].value[1]); break; } diff --git a/ghost/admin/tests/acceptance/stats-test.js b/ghost/admin/tests/acceptance/stats-test.js index 26cc32ac54..6ec1141268 100644 --- a/ghost/admin/tests/acceptance/stats-test.js +++ b/ghost/admin/tests/acceptance/stats-test.js @@ -60,7 +60,7 @@ describe('Acceptance: Stats', function () { it('can filter by date range', async function () {}); it('can filter by number of days', async function () {}); - it('shows sum of unique visitors', async function () {}); + it('shows sum of unique visits', async function () {}); it('shows sum of visits', async function () {}); it('shows sum of pageviews', async function () {}); it('shows average bounce rate', async function () {}); @@ -68,7 +68,7 @@ describe('Acceptance: Stats', function () { it('can switch between kpi tabs', async function () {}); - it('shows unique visitors chart', async function () {}); + it('shows unique visits chart', async function () {}); it('shows visits chart', async function () {}); it('shows pageviews chart', async function () {}); it('shows bounce rate chart', async function () {});