From 81ad3079b422769d14cf50eaf63c609647ee41b2 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Mon, 25 May 2026 08:28:36 -0700 Subject: [PATCH] Fix auto-sync history card expansion Bind run history card expand interactions after the modal renders instead of relying on inline handlers, and reshape the run cards into a clearer two-row layout with controlled metadata, preview chips, and roomier expanded detail padding. --- webui/static/auto-sync.js | 34 ++++++++++++++------ webui/static/style.css | 67 +++++++++++++++++++++++++++------------ 2 files changed, 72 insertions(+), 29 deletions(-) diff --git a/webui/static/auto-sync.js b/webui/static/auto-sync.js index 1feb491a..06b805af 100644 --- a/webui/static/auto-sync.js +++ b/webui/static/auto-sync.js @@ -245,6 +245,7 @@ function renderAutoSyncScheduleModal() {
${historyPanel}
`; + bindAutoSyncHistoryCardInteractions(overlay); } function setAutoSyncTab(tab) { @@ -460,8 +461,8 @@ function autoSyncHistoryEntryHtml(entry, index = 0) { const playlistName = entry.playlist_name || after.name || before.name || `Playlist #${entry.playlist_id || 'unknown'}`; const summary = entry.summary || autoSyncHistoryFallbackSummary(before, after, status); return ` -
-