diff --git a/services/web-ui/public/index.html b/services/web-ui/public/index.html index a584cfb..b5be432 100644 --- a/services/web-ui/public/index.html +++ b/services/web-ui/public/index.html @@ -311,6 +311,10 @@ Library + + + Editor + Ingest @@ -652,6 +656,9 @@ ${asset.duration ? `${formatDuration(asset.duration)}` : ''}
+ @@ -693,6 +700,13 @@ else toast('Delete failed', r.error, 'error'); } + function openInEditor(assetId, e) { + e.stopPropagation(); + const projectId = state.currentProjectId; + if (!projectId) { toast('Select a project first', '', 'warning'); return; } + location.href = 'editor.html?project=' + projectId + '&asset=' + assetId; + } + // ── Search ──────────────────────────────── function setupSearch() { const inp = document.getElementById('searchInput');