From 2028edc3f89cf8db1feadfe018ae898b880868c0 Mon Sep 17 00:00:00 2001 From: Timothy Koech Date: Thu, 4 Jun 2026 13:17:36 +0300 Subject: [PATCH 1/2] fix: correct typo in label for click throughs in invitation stats component --- src/frontend/invitation/invitation-stats.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/invitation/invitation-stats.vue b/src/frontend/invitation/invitation-stats.vue index cbe9e70d..53b086ba 100644 --- a/src/frontend/invitation/invitation-stats.vue +++ b/src/frontend/invitation/invitation-stats.vue @@ -13,6 +13,6 @@ const primary = computed(() => { }); const secondary = computed(() => { - return [{ label: 'Clicks throughs', value: props.clicks.toString() }]; + return [{ label: 'Click throughs', value: props.clicks.toString() }]; }); From 90cb9a78de0a30579aaaf61a0d886c04d8b76a5e Mon Sep 17 00:00:00 2001 From: Timothy Koech Date: Thu, 4 Jun 2026 16:53:57 +0300 Subject: [PATCH 2/2] refactor: update invitation stats component to display analytics and improve data representation --- src/frontend/invitation/invitation-stats.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/frontend/invitation/invitation-stats.vue b/src/frontend/invitation/invitation-stats.vue index 53b086ba..0b44a6e0 100644 --- a/src/frontend/invitation/invitation-stats.vue +++ b/src/frontend/invitation/invitation-stats.vue @@ -9,10 +9,13 @@ import type { InvitationStats as InvitationStatsType } from '../../types'; const props = defineProps(); const primary = computed(() => { - return [{ label: 'Impressions', value: props.impressions.toString() }]; + return [{ label: 'Analytics', value: '' }]; }); const secondary = computed(() => { - return [{ label: 'Click throughs', value: props.clicks.toString() }]; + return [ + { label: 'Impressions', value: props.impressions.toString() }, + { label: 'Click throughs', value: props.clicks.toString() }, + ]; });