From 4365c1949832e610841c06fa42fc1696961d6eee Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Mon, 7 Jul 2025 18:38:24 +0200 Subject: [PATCH] refactor: review event entry --- apps/client/src/features/rundown/Rundown.tsx | 7 +++++++ .../rundown/entry-editor/EventEditorEmpty.tsx | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/apps/client/src/features/rundown/Rundown.tsx b/apps/client/src/features/rundown/Rundown.tsx index df105fef4..25be3a568 100644 --- a/apps/client/src/features/rundown/Rundown.tsx +++ b/apps/client/src/features/rundown/Rundown.tsx @@ -271,6 +271,13 @@ export default function Rundown({ data }: RundownProps) { ], ['alt + shift + D', () => insertAtId({ type: SupportedEntry.Delay }, cursor, true), { preventDefault: true }], + [ + 'alt + M', + () => insertAtId({ type: SupportedEntry.Milestone }, cursor), + { preventDefault: true, usePhysicalKeys: true }, + ], + ['alt + shift + M', () => insertAtId({ type: SupportedEntry.Milestone }, cursor, true), { preventDefault: true }], + ['mod + C', () => setEntryCopyId(cursor)], ['mod + V', () => insertCopyAtId(cursor, entryCopyId)], ['mod + shift + V', () => insertCopyAtId(cursor, entryCopyId, true), { preventDefault: true }], diff --git a/apps/client/src/features/rundown/entry-editor/EventEditorEmpty.tsx b/apps/client/src/features/rundown/entry-editor/EventEditorEmpty.tsx index 30b92b28b..830a1d933 100644 --- a/apps/client/src/features/rundown/entry-editor/EventEditorEmpty.tsx +++ b/apps/client/src/features/rundown/entry-editor/EventEditorEmpty.tsx @@ -140,9 +140,27 @@ function EventEditorEmpty() { + Shift + + M + + + + Add milestone below + + {deviceAlt} + + G + + Add milestone above + + {deviceAlt} + + + Shift + + + M + + Add delay below