fix(studio): remove stale timeline model inputs

This commit is contained in:
Miguel Angel Simon Sierra
2026-09-21 10:45:53 -04:00
parent a4d7195933
commit d71663ccf1
5 changed files with 4 additions and 8 deletions
@@ -121,7 +121,6 @@ function renderLanes(options: RenderLanesOptions = {}): {
expandedLaneOwnerIds: new Set(),
groups: [],
trackGroupOf: new Map(),
gsapAnimations,
})}
clipIndex={createTimelineClipIndex(tracks)}
renderTimeRange={{ start: 0, end: Number.POSITIVE_INFINITY }}
@@ -53,6 +53,8 @@ interface TimelineTrackHeaderProps {
* clip and one by the row. Minted by TimelineLanes, the one place that sees
* every subtree. */
lanesId: string;
/** @deprecated Keyframe property lanes were removed; retained only for stale callers during migration. */
animations?: readonly unknown[];
contentOrigin: number;
/** The track's active keyframe clip (selected, else primary) — the one whose
* disclosure + property rows this header shows, whether expanded or not. */
@@ -71,6 +73,8 @@ interface TimelineTrackHeaderProps {
rovingTargetId?: string | null;
theme: TimelineTheme;
onToggleClipExpanded: () => void;
/** @deprecated Keyframe property controls were removed. */
onTogglePropertyGroupKeyframe?: TimelineEditCallbacks["onTogglePropertyGroupKeyframe"];
onToggleTrackHidden: TimelineEditCallbacks["onToggleTrackHidden"];
/** Drop one envelope. Absent while the lanes are read-only, which is what
* hides the control rather than offering a button that cannot act. */
@@ -1,5 +1,4 @@
import type { RefObject } from "react";
import type { GsapAnimation } from "@hyperframes/core/gsap-parser";
import type { TimelineElement } from "../store/playerStore";
import type { TimelineRowGeometry } from "./timelineLayout";
import type { TimelineScrollViewportSnapshot } from "./useTimelineScrollViewport";
@@ -18,7 +17,6 @@ interface TimelineLogicalFocusInput {
selectedElementIds: ReadonlySet<string>;
groups: readonly TimelineTrackGroupInfo[];
trackGroupOf: ReadonlyMap<number, TimelineTrackGroupInfo>;
gsapAnimations: ReadonlyMap<string, readonly GsapAnimation[]>;
elements: readonly TimelineElement[];
pixelsPerSecond: number;
contentOrigin: number;
@@ -47,7 +45,6 @@ export function useTimelineLogicalFocus(input: TimelineLogicalFocusInput) {
expandedLaneOwnerIds,
groups: input.groups,
trackGroupOf: input.trackGroupOf,
gsapAnimations: input.gsapAnimations,
});
const focus = useTimelineFocusCoordinator({
scrollRef: input.scrollRef,
@@ -26,7 +26,6 @@ const collapsedGroupIds = new Set<string>();
const expandedLaneOwnerIds = new Set<string>();
const groups: never[] = [];
const trackGroupOf = new Map();
const gsapAnimations = new Map();
function Harness({
snapshots,
@@ -46,7 +45,6 @@ function Harness({
expandedLaneOwnerIds,
groups,
trackGroupOf,
gsapAnimations,
});
snapshots.push(logicalRows);
return null;
@@ -147,7 +147,6 @@ export function useTimelineProviderState({
trackGroupOf,
} = useTimelineTrackLayout(
timelineElements,
gsapAnimations,
selectedElementId,
selectedElementIds,
);
@@ -259,7 +258,6 @@ export function useTimelineProviderState({
selectedElementIds,
groups,
trackGroupOf,
gsapAnimations,
elements: timelineElements,
pixelsPerSecond: pps,
contentOrigin,