Files
hyperframes/packages
ukimsanov 81794a933a feat(studio): timeline z-stacking and lane-zone model
What: two new pure modules with tests: timelineStackingSync (lane order ↔
z-index reconciliation — laneIsAbove, computeStackingPatches) and
timelineZones (visual/audio track-zone classification and normalizeToZones,
which re-packs lanes into zone-consistent rows).

Why: this is "the z-model" — the single source of truth for how timeline
lane order maps to canvas stacking. Reviewing it standalone is the point:
the ordering rules and tie-breaks live here, not in the drag gesture that
later calls it.

How: new files only. timelineZones consumes isAudioTimelineElement from
studio-dnd/pr01 and computeStackingPatches from this PR; type-only imports
from the existing playerStore. No runtime consumer until the integration PR.

Test plan: bunx vitest run on both test files (including the
stacking/zones interaction cases); tsc --noEmit in packages/studio; fallow
audit --base origin/main clean.
2026-07-10 15:16:07 -07:00
..
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00
2026-07-10 09:57:48 -07:00