From 4a1870d1d0cc4676797add05762ed196decd339d Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 12 Feb 2026 08:44:42 +0100 Subject: feat: timeline editor playback improvements - Add red bar playback indicator on waveform (synced with timeline) - Fix playback continuation after double-click seek (async/await) - Improve stopPlayback() to preserve jump positions - Add error handling to startPlayback() - Update waveform click-to-seek to match double-click behavior - Sync waveform indicator scroll with timeline - Display time in both seconds and beats on seek - Update documentation with new features handoff(Claude): Timeline editor now has dual playback indicators and seamless seeking. Co-Authored-By: Claude Sonnet 4.5 --- tools/timeline_editor/ROADMAP.md | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) (limited to 'tools/timeline_editor/ROADMAP.md') diff --git a/tools/timeline_editor/ROADMAP.md b/tools/timeline_editor/ROADMAP.md index 216adbf..b14a73b 100644 --- a/tools/timeline_editor/ROADMAP.md +++ b/tools/timeline_editor/ROADMAP.md @@ -8,30 +8,22 @@ This document outlines planned enhancements for the interactive timeline editor. ### Audio Playback Integration Issues -1. **Audio waveform doesn't scale with zoom nor follow timeline** - - Waveform should horizontally sync with timeline ticks/sequences - - Should scale to match `pixelsPerSecond` zoom level - - Currently remains static regardless of zoom - -2. **Playback indicator doesn't follow zoom and height issues** - - Vertical red bar position calculation doesn't account for `pixelsPerSecond` - - Doesn't reach bottom when sequences have scrolled - - Needs to span full `timeline-content` height dynamically - -3. **Sequences overlap timeline at scroll origin** - - Some sequences still go behind timeline ticks - - Notably when wheel pans back to beginning (scrollLeft = 0) - - Need proper clipping or z-index management - -4. **Timeline and waveform should be fixed, not floating** - - Currently using sticky positioning - - Should use true fixed positioning at top - - Should remain stationary regardless of scroll - -5. **Status indicator causes reflow** - - Green status text appears/disappears causing layout shift - - Should be relocated to top or bottom as fixed/always-visible - - Prevents jarring reflow when messages appear +1. ~~**Audio waveform doesn't scale with zoom nor follow timeline**~~ ✅ FIXED + - Waveform now correctly syncs with timeline at all zoom levels + +2. ~~**Playback indicator doesn't follow zoom and height issues**~~ ✅ FIXED + - Red bar now dynamically spans full timeline height + - Position correctly accounts for pixelsPerSecond + +3. ~~**Sequences overlap timeline at scroll origin**~~ ✅ FIXED + - Proper padding prevents overlap with timeline border + +4. ~~**Timeline and waveform should be fixed, not floating**~~ ✅ FIXED + - Sticky header stays at top during scroll + +5. ~~**Status indicator causes reflow**~~ ✅ FIXED + - Messages now fixed positioned at top-right + - No layout shift when appearing/disappearing --- -- cgit v1.2.3