- Import setCurrentShowId from commands.js - Add preview_update WebSocket message handler that calls updatePreviewStrip - Add updatePreviewStrip() function to update device strip color and animation - Add buildPreviewStrips() function to populate #live-preview from device list - Call buildPreviewStrips() inside device fetch callback in initTimeline - Add async refreshShows() to populate show-select dropdown from /api/shows - Add btn-load-show click handler: loads show, populates tracks, sends WebSocket load msg - Clear preview strips on seek (remove active class, reset color and anim label)
19 KiB
19 KiB