From 250b61ca55c27213cf437664e59704cf17bcd60a Mon Sep 17 00:00:00 2001 From: RitaDias Date: Fri, 20 Sep 2024 08:23:13 +0200 Subject: [PATCH] refactor(structure): change names of telemetry events --- .../banners/__telemetry__/DraftLiveEditBanner.telemetry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sanity/src/structure/panes/document/documentPanel/banners/__telemetry__/DraftLiveEditBanner.telemetry.ts b/packages/sanity/src/structure/panes/document/documentPanel/banners/__telemetry__/DraftLiveEditBanner.telemetry.ts index 16716c20494..3b30a6aec0f 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/banners/__telemetry__/DraftLiveEditBanner.telemetry.ts +++ b/packages/sanity/src/structure/panes/document/documentPanel/banners/__telemetry__/DraftLiveEditBanner.telemetry.ts @@ -5,7 +5,7 @@ import {defineEvent} from '@sanity/telemetry' * @internal */ export const PublishedLiveEditDraft = defineEvent({ - name: 'Publish a draft (live edit)', + name: 'Resolve liveEdit by publishing draft', version: 1, description: 'User published a draft when a draft of a live edit document to continue editing', }) @@ -15,7 +15,7 @@ export const PublishedLiveEditDraft = defineEvent({ * @internal */ export const DiscardedLiveEditDraft = defineEvent({ - name: 'Create a new draft', + name: 'Resolve liveEdit by discarding draftt', version: 1, description: 'User discarded a draft when a draft of a live edit document to continue editing', })