From 03c9f51b473b0b7ff73c7e2a5d2361a9dac338e3 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Fri, 17 Oct 2025 12:11:36 +0200 Subject: [PATCH] chore: update demo project --- .../__snapshots__/excel.utils.test.ts.snap | 81 ++++++++++++++----- apps/server/src/models/demoProject.ts | 68 ++++++++++++---- 2 files changed, 111 insertions(+), 38 deletions(-) diff --git a/apps/server/src/api-data/excel/__tests__/__snapshots__/excel.utils.test.ts.snap b/apps/server/src/api-data/excel/__tests__/__snapshots__/excel.utils.test.ts.snap index eab1bbbac..cb0fdb807 100644 --- a/apps/server/src/api-data/excel/__tests__/__snapshots__/excel.utils.test.ts.snap +++ b/apps/server/src/api-data/excel/__tests__/__snapshots__/excel.utils.test.ts.snap @@ -19,8 +19,10 @@ exports[`rundownToTabular() > returns an array of arrays describing a rundown 1` "Warning Time", "Danger Time", "Skip", - "Custom Field", - "Images", + "Video Notes", + "Audio Notes", + "PowerPoint Name", + "PowerPoint Slide", ], [ "e2163f", @@ -33,16 +35,21 @@ exports[`rundownToTabular() > returns an array of arrays describing a rundown 1` "", "", "", - "Go to Settings cog wheel top left of Editor, Project > Create", + "Moderator - Emma Thompson + +Speakers +- Liam Carter + Sophia Patel +- Ethan Brooks +- Lucas Bennett", "milestone", "", "", "", "", - "Create Custom Fields to store specific text information or images. - -Go to Settings > Project data > Custom fields", - "https://www.getontime.no/images/icons/ontime-logo.png", + "", + "", + "", + "", ], [ "7eaf99", @@ -63,6 +70,8 @@ Go to Settings > Project data > Custom fields", "", "", "", + "", + "", ], [ "9bf60f", @@ -81,8 +90,11 @@ Go to Settings > Project data > Custom fields", "00:10:00", "00:05:00", "", - "Put additional info here", - "", + "Camera + PowerPoint on stream +PowerPoint on screens", + "2x Wireless Hand Helds", + "HoldingSlide.pptx", + "https://www.getontime.no/images/aux/demo-slide1.webp", ], [ "bf71a2", @@ -103,6 +115,8 @@ Go to Settings > Project data > Custom fields", "", "", "", + "", + "", ], [ "c2697f", @@ -121,8 +135,11 @@ Go to Settings > Project data > Custom fields", "00:02:00", "00:01:00", "", - "", - "", + "Cameras on stream +PowerPoint on screens", + "1x Wireless Hand Held", + "HoldingSlide.pptx", + "https://www.getontime.no/images/aux/demo-slide1.webp", ], [ "fa593e", @@ -141,8 +158,11 @@ Go to Settings > Project data > Custom fields", "00:02:00", "00:01:00", "", - "", - "", + "Camera + PowerPoint on stream +PowerPoint on screens", + "2x Wireless Hand Helds", + "Session1.pptx", + "https://www.getontime.no/images/aux/demo-slide2.webp", ], [ "a8b0b3", @@ -163,6 +183,8 @@ Go to Settings > Project data > Custom fields", "", "", "", + "", + "", ], [ "", @@ -201,6 +223,8 @@ Go to Settings > Project data > Custom fields", "", "", "", + "", + "", ], [ "0aaa7d", @@ -213,15 +237,16 @@ Go to Settings > Project data > Custom fields", "01:00:00", "TRUE", "", - "Buffet in lobby -Music plays, holding slide on screens", + "Buffet in lobby", "count-down", "", "00:02:00", "00:01:00", "", - "", - "", + "Holding slide on screens", + "House music", + "HoldingSlide.pptx", + "https://www.getontime.no/images/aux/demo-slide1.webp", ], [ "", @@ -260,6 +285,8 @@ Music plays, holding slide on screens", "", "", "", + "", + "", ], [ "02afca", @@ -280,6 +307,8 @@ Music plays, holding slide on screens", "", "", "", + "", + "", ], [ "75ce86", @@ -298,8 +327,14 @@ Music plays, holding slide on screens", "00:02:00", "00:01:00", "", - "", - "", + "Camera + PPT + Video on stream +PowerPoint + Video on screens + +Video file: Session2.mp4", + "1x Wireless Hand Held +1x Video with audio", + "Session2.pptx", + "https://www.getontime.no/images/aux/demo-slide3.webp", ], [ "e10ed9", @@ -318,8 +353,10 @@ Music plays, holding slide on screens", "00:02:00", "00:01:00", "", - "", - "", + "Holding slide on screens", + "1x Wireless Hand Held", + "HoldingSlide.pptx", + "https://www.getontime.no/images/aux/demo-slide1.webp", ], [ "07df89", @@ -340,6 +377,8 @@ Music plays, holding slide on screens", "", "", "", + "", + "", ], [ "", diff --git a/apps/server/src/models/demoProject.ts b/apps/server/src/models/demoProject.ts index 9aaee1463..0b79999e6 100644 --- a/apps/server/src/models/demoProject.ts +++ b/apps/server/src/models/demoProject.ts @@ -28,13 +28,9 @@ export const demoDb: DatabaseModel = { type: SupportedEntry.Milestone, cue: 'Demo', title: 'Clear all, or Create New Project to start fresh', - note: 'Go to Settings cog wheel top left of Editor, Project > Create', + note: 'Moderator - Emma Thompson\n\nSpeakers\n- Liam Carter + Sophia Patel\n- Ethan Brooks\n- Lucas Bennett', colour: '#9d9d9d', - custom: { - Custom_Field: - 'Create Custom Fields to store specific text information or images.\n\nGo to Settings > Project data > Custom fields', - Images: 'https://www.getontime.no/images/icons/ontime-logo.png', - }, + custom: {}, parent: null, revision: 0, }, @@ -78,7 +74,10 @@ export const demoDb: DatabaseModel = { timeWarning: 600000, timeDanger: 300000, custom: { - Custom_Field: 'Put additional info here', + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide1.webp', + Video_Notes: 'Camera + PowerPoint on stream\nPowerPoint on screens', + Audio_Notes: '2x Wireless Hand Helds', + PowerPoint_Name: 'HoldingSlide.pptx', }, triggers: [], }, @@ -117,7 +116,12 @@ export const demoDb: DatabaseModel = { revision: 0, timeWarning: 120000, timeDanger: 60000, - custom: {}, + custom: { + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide1.webp', + Video_Notes: 'Cameras on stream\nPowerPoint on screens', + Audio_Notes: '1x Wireless Hand Held', + PowerPoint_Name: 'HoldingSlide.pptx', + }, triggers: [], }, fa593e: { @@ -144,7 +148,12 @@ export const demoDb: DatabaseModel = { revision: 0, timeWarning: 120000, timeDanger: 60000, - custom: {}, + custom: { + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide2.webp', + Video_Notes: 'Camera + PowerPoint on stream\nPowerPoint on screens', + Audio_Notes: '2x Wireless Hand Helds', + PowerPoint_Name: 'Session1.pptx', + }, triggers: [], }, a8b0b3: { @@ -187,7 +196,7 @@ export const demoDb: DatabaseModel = { timerType: TimerType.CountDown, countToEnd: false, skip: false, - note: 'Buffet in lobby\nMusic plays, holding slide on screens', + note: 'Buffet in lobby', colour: '#779BE7', delay: 0, dayOffset: 0, @@ -197,7 +206,12 @@ export const demoDb: DatabaseModel = { revision: 0, timeWarning: 120000, timeDanger: 60000, - custom: {}, + custom: { + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide1.webp', + Video_Notes: 'Holding slide on screens', + Audio_Notes: 'House music', + PowerPoint_Name: 'HoldingSlide.pptx', + }, triggers: [], }, '6b0edb': { @@ -250,7 +264,12 @@ export const demoDb: DatabaseModel = { revision: 0, timeWarning: 120000, timeDanger: 60000, - custom: {}, + custom: { + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide3.webp', + Video_Notes: 'Camera + PPT + Video on stream\nPowerPoint + Video on screens\n\nVideo file: Session2.mp4', + Audio_Notes: '1x Wireless Hand Held\n1x Video with audio', + PowerPoint_Name: 'Session2.pptx', + }, triggers: [], }, e10ed9: { @@ -277,7 +296,12 @@ export const demoDb: DatabaseModel = { revision: 0, timeWarning: 120000, timeDanger: 60000, - custom: {}, + custom: { + PowerPoint_Slide: 'https://www.getontime.no/images/aux/demo-slide1.webp', + Video_Notes: 'Holding slide on screens', + Audio_Notes: '1x Wireless Hand Held', + PowerPoint_Name: 'HoldingSlide.pptx', + }, triggers: [], }, '07df89': { @@ -341,15 +365,25 @@ export const demoDb: DatabaseModel = { }, ], customFields: { - Custom_Field: { + Video_Notes: { + type: 'text', + colour: '#FFAB33', + label: 'Video Notes', + }, + Audio_Notes: { + type: 'text', + colour: '#339E4E', + label: 'Audio Notes', + }, + PowerPoint_Name: { type: 'text', colour: '#3E75E8', - label: 'Custom Field', + label: 'PowerPoint Name', }, - Images: { + PowerPoint_Slide: { type: 'image', colour: '#ED3333', - label: 'Images', + label: 'PowerPoint Slide', }, }, automation: {