From 33e12add6e84b23c008f06f7b4fcda97135b2599 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Wed, 18 Dec 2024 16:19:03 +0430 Subject: [PATCH] chore: improve timezone picker event messages --- frontend/src/components/CustomTimePicker/CustomTimePicker.tsx | 2 +- .../CustomTimePicker/CustomTimePickerPopoverContent.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx b/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx index 7ab10f6a58..48b2f2082f 100644 --- a/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx +++ b/frontend/src/components/CustomTimePicker/CustomTimePicker.tsx @@ -303,7 +303,7 @@ function CustomTimePicker({ handleViewChange('timezone'); setIsOpenedFromFooter(false); logEvent( - 'DateTimePicker: Timezone picker opened from Current timezone badge in date/time picker input', + 'DateTimePicker: Timezone picker opened from time range input badge', { page: location.pathname, }, diff --git a/frontend/src/components/CustomTimePicker/CustomTimePickerPopoverContent.tsx b/frontend/src/components/CustomTimePicker/CustomTimePickerPopoverContent.tsx index 5a68a1d94f..d5c4339bc7 100644 --- a/frontend/src/components/CustomTimePicker/CustomTimePickerPopoverContent.tsx +++ b/frontend/src/components/CustomTimePicker/CustomTimePickerPopoverContent.tsx @@ -83,7 +83,7 @@ function CustomTimePickerPopoverContent({ setActiveView('timezone'); setIsOpenedFromFooter(true); logEvent( - 'DateTimePicker: Timezone picker opened from "Current Timezone" hint inside date time picker popover', + 'DateTimePicker: Timezone picker opened from time range picker footer', { page: pathname, },