From 0a442651546073a3e921ecaa58ed639da0ea8d9f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 02:09:03 +0200 Subject: [PATCH] Add impulse sequence handling in ProjectSchedulePane --- src/app/ProjectSchedulePane.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/ProjectSchedulePane.tsx b/src/app/ProjectSchedulePane.tsx index 0f2b6a5c..10b9fbbc 100644 --- a/src/app/ProjectSchedulePane.tsx +++ b/src/app/ProjectSchedulePane.tsx @@ -23,6 +23,7 @@ import { import { findHeldSequenceControlEffect, getProjectScheduleRoutineHeldSteps, + getProjectSequenceImpulseSteps, getProjectSequenceHeldSteps } from "../sequencer/project-sequence-steps"; import { @@ -231,7 +232,9 @@ function getRoutineSummary( } else { const effect = heldSteps[0]; - if (effect?.type === "controlEffect") { + if (routine.target.kind === "global" && routine.sequenceId !== null) { + summaryParts.push("Impulse Sequence"); + } else if (effect?.type === "controlEffect") { summaryParts.push(formatControlEffectValue(effect.effect)); } } @@ -724,9 +727,9 @@ export function ProjectSequencerPane({ {selectedRoutine.sequenceId === null && compatibleHeldSequences.length === 0 ? (
- No compatible sequence with held effects is authored for this - target yet. Use Sequence Editor to author effects, or keep - this placement on its own inline effects. + {selectedRoutine.target.kind === "global" + ? "No compatible impulse sequence is authored yet for this project event lane. Use Sequence Editor to author one-shot effects like scene transitions, dialogue starts, or teleports." + : "No compatible sequence with held effects is authored for this target yet. Use Sequence Editor to author effects, or keep this placement on its own inline effects."}
) : null} {selectedRoutine.sequenceId === null &&