From 048707dffe46d40eb428b2c8a358ad19c169d023 Mon Sep 17 00:00:00 2001 From: jaasonw Date: Wed, 27 Dec 2023 23:02:29 -0800 Subject: [PATCH 1/2] replace all instances of publically with publicly --- public/intl/messages/en-US.json | 2 +- src/components/messages.ts | 2 +- src/lang/en-US.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/intl/messages/en-US.json b/public/intl/messages/en-US.json index 0ee5b1e6..60044243 100644 --- a/public/intl/messages/en-US.json +++ b/public/intl/messages/en-US.json @@ -1382,7 +1382,7 @@ "message.share-url": [ { "type": 0, - "value": "Your website stats are publically available at the following URL:" + "value": "Your website stats are publicly available at the following URL:" } ], "message.team-already-member": [ diff --git a/src/components/messages.ts b/src/components/messages.ts index 04a29a4c..c58b2ca8 100644 --- a/src/components/messages.ts +++ b/src/components/messages.ts @@ -227,7 +227,7 @@ export const messages = defineMessages({ }, shareUrl: { id: 'message.share-url', - defaultMessage: 'Your website stats are publically available at the following URL:', + defaultMessage: 'Your website stats are publicly available at the following URL:', }, trackingCode: { id: 'message.tracking-code', diff --git a/src/lang/en-US.json b/src/lang/en-US.json index e1d59230..2f957a45 100644 --- a/src/lang/en-US.json +++ b/src/lang/en-US.json @@ -207,7 +207,7 @@ "message.reset-website": "To reset this website, type {confirmation} in the box below to confirm.", "message.reset-website-warning": "All statistics for this website will be deleted, but your settings will remain intact.", "message.saved": "Saved.", - "message.share-url": "Your website stats are publically available at the following URL:", + "message.share-url": "Your website stats are publicly available at the following URL:", "message.team-already-member": "You are already a member of the team.", "message.team-not-found": "Team not found.", "message.team-websites-info": "Websites can be viewed by anyone on the team.", From 37f6102ce205d8254500c58e0f20670ff6b50181 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Mon, 8 Jan 2024 11:42:38 -0800 Subject: [PATCH 2/2] update time blocks to hour instead of day --- src/queries/analytics/getWebsiteStats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/queries/analytics/getWebsiteStats.ts b/src/queries/analytics/getWebsiteStats.ts index 4dbdb462..51716b30 100644 --- a/src/queries/analytics/getWebsiteStats.ts +++ b/src/queries/analytics/getWebsiteStats.ts @@ -31,7 +31,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) { from ( select website_event.session_id, - ${getDateQuery('website_event.created_at', 'day')}, + ${getDateQuery('website_event.created_at', 'hour')}, count(*) as "c", min(website_event.created_at) as "min_time", max(website_event.created_at) as "max_time" @@ -70,7 +70,7 @@ async function clickhouseQuery( from ( select session_id, - ${getDateQuery('created_at', 'day')} time_series, + ${getDateQuery('created_at', 'hour')} time_series, count(*) c, min(created_at) min_time, max(created_at) max_time