From d18fa2f761258e7c7f93644d3f4058d51ab138e1 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Tue, 19 May 2026 00:20:19 -0400 Subject: [PATCH] feat(library): add Retry button for error-status assets in library grid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error assets now show an amber circular-arrow action button on hover. Clicking it calls POST /api/v1/assets/:id/retry, resets status to 'processing', and refreshes the grid — no manual DB intervention needed when a proxy job fails. --- services/web-ui/public/index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/services/web-ui/public/index.html b/services/web-ui/public/index.html index 0356c08..cce9239 100644 --- a/services/web-ui/public/index.html +++ b/services/web-ui/public/index.html @@ -502,7 +502,7 @@ - + @@ -710,6 +710,7 @@ + ${asset.status === 'error' ? `` : ''} @@ -757,6 +758,13 @@ else toast('Delete failed', r.error, 'error'); } + async function handleRetryAsset(id, e) { + e.stopPropagation(); + const r = await retryAsset(id); + if (r.success) { toast('Asset queued for reprocessing', '', 'success'); loadAssets(); } + else toast('Retry failed', r.error, 'error'); + } + function openInEditor(assetId, e) { e.stopPropagation(); const projectId = state.currentProjectId;