From f7227fb28aabd1899832cd769fe72692ea4890e6 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 15 Feb 2026 13:04:49 +0100 Subject: refactor(timeline-editor): extract viewport and playback to ES6 modules Extract zoom/scroll/playback code from monolithic index.html into separate modules for better code organization: - timeline-viewport.js: Zoom, scroll sync, indicator positioning (133 lines) - timeline-playback.js: Audio loading, playback, waveform rendering (303 lines) - index.html: Reduced from 1093 to 853 lines (-22%) Requires HTTP server for ES6 module imports. Updated README with usage. Co-Authored-By: Claude Sonnet 4.5 --- tools/timeline_editor/index.html | 317 +++++---------------------------------- 1 file changed, 39 insertions(+), 278 deletions(-) (limited to 'tools/timeline_editor/index.html') diff --git a/tools/timeline_editor/index.html b/tools/timeline_editor/index.html index 775330f..4131782 100644 --- a/tools/timeline_editor/index.html +++ b/tools/timeline_editor/index.html @@ -176,16 +176,15 @@
-