From e97cc3916a44b128f365b1efac62ea14afec0343 Mon Sep 17 00:00:00 2001 From: Marco Bonomo Date: Fri, 21 Jul 2023 17:33:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(useCampaignInsights.ts):=20u?= =?UTF-8?q?pdate=20insight=20titles=20and=20descriptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../widgets/Insights/useCampaignInsights.ts | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/src/pages/Campaign/useWidgets/Experience/widgets/Insights/useCampaignInsights.ts b/src/pages/Campaign/useWidgets/Experience/widgets/Insights/useCampaignInsights.ts index ff4ca946f..2ff798d8b 100644 --- a/src/pages/Campaign/useWidgets/Experience/widgets/Insights/useCampaignInsights.ts +++ b/src/pages/Campaign/useWidgets/Experience/widgets/Insights/useCampaignInsights.ts @@ -48,11 +48,12 @@ export const useCampaignInsights = ({ insights: [ { id: 1, - title: 'My insight', - description: 'This is an insight', + title: 'Malfunzionamenti sul motore di ricerca', + description: + "I motori di ricerca dei diversi flussi per fissare un appuntamento presentano malfunzionamenti e dinamiche diverse che rendono complicata l'interazione e la ricerca.", severity: { id: 1, - name: 'Minor', + name: 'Major issue', }, cluster: 'all', videoPart: [ @@ -66,15 +67,36 @@ export const useCampaignInsights = ({ 'http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8', description: 'This is a video part', }, + { + id: 2, + start: 25, + end: 50, + mediaId: 1, + url: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', + streamUrl: + 'http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8', + description: 'This is a video part', + }, + { + id: 3, + start: 60, + end: 70, + mediaId: 1, + url: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', + streamUrl: + 'http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8', + description: 'This is a video part', + }, ], }, { id: 2, - title: 'My second insight', - description: 'This is another insight', + title: "Criticità sull'esperienza desktop", + description: + "I motori di ricerca dei diversi flussi per fissare un appuntamento presentano malfunzionamenti e dinamiche diverse che rendono complicata l'interazione e la ricerca.", severity: { id: 2, - name: 'Positive', + name: 'Minor issue', }, cluster: [ {