From 2f2f610c9f3a8f4b5e35528d0b81c551bf5c88fe Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 09:16:48 +0200 Subject: [PATCH] Remove startDialogue action handling and related functions in App.tsx --- src/app/App.tsx | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index f91c594d..9fe68f50 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -8539,29 +8539,6 @@ export function App({ store, initialStatusMessage }: AppProps) { return; } - if (actionType === "startDialogue") { - const defaultDialogue = projectDialogueList[0] ?? null; - - if (defaultDialogue === null) { - setStatusMessage( - "Author a project dialogue before switching this link to dialogue." - ); - return; - } - - commitInteractionLinkChange( - link, - createStartDialogueInteractionLink({ - id: link.id, - sourceEntityId: sourceEntity.id, - trigger: getCanonicalInteractionLinkTrigger(sourceEntity, link.trigger), - dialogueId: defaultDialogue.id - }), - "Switched link action to start dialogue." - ); - return; - } - if (actionType === "runSequence") { const defaultSequence = projectImpulseSequenceList[0] ?? null; @@ -8744,26 +8721,6 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; - const updateDialogueInteractionLinkTarget = ( - link: InteractionLink, - dialogueId: string - ) => { - if (link.action.type !== "startDialogue") { - return; - } - - commitInteractionLinkChange( - link, - createStartDialogueInteractionLink({ - id: link.id, - sourceEntityId: link.sourceEntityId, - trigger: link.trigger, - dialogueId - }), - "Updated dialogue link target." - ); - }; - const updateSequenceInteractionLinkTarget = ( link: InteractionLink, sequenceId: string