From 8ab71239e31ccf5f20dfbda2c4b89a3006fc6c31 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Mon, 18 May 2026 20:14:29 -0400 Subject: [PATCH] feat(ui): add Open in Editor action to library cards --- services/web-ui/public/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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');