From 28515a418f95a6c67cc5cedaea57dfd9c329e258 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 23:14:31 +0200 Subject: [PATCH] Rename 'scheduler' to 'sequencer' in App.tsx and ProjectSchedulePane.tsx --- src/app/App.tsx | 12 ++++++------ src/app/ProjectSchedulePane.tsx | 24 +++++++++++++----------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index f218f2b6..c93af803 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -4155,7 +4155,7 @@ export function App({ store, initialStatusMessage }: AppProps) { editorState.projectDocument.scheduler.routines[routineId] ?? null; if (currentRoutine === null) { - setStatusMessage("Selected schedule routine no longer exists."); + setStatusMessage("Selected sequencer clip no longer exists."); return; } @@ -4200,7 +4200,7 @@ export function App({ store, initialStatusMessage }: AppProps) { if (targetOption === null) { setStatusMessage( - "Author a scheduler-addressable control target before creating a schedule routine." + "Author a sequencer-addressable control target before creating a clip." ); return; } @@ -4233,8 +4233,8 @@ export function App({ store, initialStatusMessage }: AppProps) { applyProjectScheduler( nextScheduler, - "Create project schedule routine", - `Created schedule routine for ${targetOption.label}.` + "Create project sequencer clip", + `Created sequencer clip for ${targetOption.label}.` ); setSchedulePaneOpen(true); setSelectedScheduleRoutineId(nextRoutine.id); @@ -4251,8 +4251,8 @@ export function App({ store, initialStatusMessage }: AppProps) { applyProjectScheduler( nextScheduler, - "Delete project schedule routine", - "Deleted schedule routine." + "Delete project sequencer clip", + "Deleted sequencer clip." ); if (selectedScheduleRoutineId === routineId) { setSelectedScheduleRoutineId(null); diff --git a/src/app/ProjectSchedulePane.tsx b/src/app/ProjectSchedulePane.tsx index 757561c6..3e2ec0cf 100644 --- a/src/app/ProjectSchedulePane.tsx +++ b/src/app/ProjectSchedulePane.tsx @@ -14,16 +14,16 @@ import { type ProjectScheduler, type ProjectScheduleRoutine, type ProjectScheduleWeekday -} from "../scheduler/project-scheduler"; +} from "../sequencer/project-sequencer"; import { getProjectScheduleEffectOptionId, getProjectScheduleTargetOptionForRoutine, listProjectScheduleEffectOptions, type ProjectScheduleEffectOptionId, type ProjectScheduleTargetOption -} from "../scheduler/project-schedule-control-options"; +} from "../sequencer/project-sequencer-control-options"; -interface ProjectSchedulePaneProps { +interface ProjectSequencerPaneProps { targetOptions: ProjectScheduleTargetOption[]; scheduler: ProjectScheduler; selectedRoutineId: string | null; @@ -188,7 +188,7 @@ function groupTargetOptions( })); } -export function ProjectSchedulePane({ +export function ProjectSequencerPane({ targetOptions, scheduler, selectedRoutineId, @@ -214,7 +214,7 @@ export function ProjectSchedulePane({ onSetActorRoutinePath, onSetActorRoutinePathSpeed, onSetActorRoutinePathLoop -}: ProjectSchedulePaneProps) { +}: ProjectSequencerPaneProps) { const selectedRoutine = selectedRoutineId === null ? null : scheduler.routines[selectedRoutineId] ?? null; const selectedTargetOption = @@ -253,12 +253,12 @@ export function ProjectSchedulePane({ const hourTicks = Array.from({ length: HOURS_PER_DAY }, (_, hour) => hour); return ( -
+
-
Schedule
+
Sequencer
- Scheduler-owned orchestration over typed control targets and global + Time-windowed sequencer clips over typed control targets and global project time.
@@ -273,7 +273,7 @@ export function ProjectSchedulePane({ ) } > - Add Routine + Add Clip
) : ( @@ -372,7 +372,7 @@ export function ProjectSchedulePane({
); } + +export const ProjectSchedulePane = ProjectSequencerPane;