From 0a088c3ed66c1e91153d400fcc9e268e5b821faf Mon Sep 17 00:00:00 2001 From: CheerC Date: Wed, 24 Jun 2026 20:44:34 +0800 Subject: [PATCH] fix: re-render schedule table after copy-to-course (#154) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add app.ui.renderScheduleTable() call after closeHandler(true) in the copy-inline handler (Interaction.js.html L531). Without this, copied courses appear in scheduleData but the table UI only re-renders the original cell — target cells remain stale until undo/redo or manual refresh triggers a full re-render. All 1164 tests pass. Fixes #154 Co-authored-by: Claude Opus 4.6 Agend-Agent: cb-team-impl Agend-Task: t-20260624124258900803-40473-42 Agend-Branch: fix/154-copy-course-render Agend-Issued-At: 2026-06-24T12:43:32.937355+00:00 --- Interaction.js.html | 1 + 1 file changed, 1 insertion(+) diff --git a/Interaction.js.html b/Interaction.js.html index 6d990cf..2b81c31 100644 --- a/Interaction.js.html +++ b/Interaction.js.html @@ -528,6 +528,7 @@ app.ui.showNotification(`成功複製 ${successCount} 堂課程`); // This will save the original course (applying edits) and close the form closeHandler(true); + app.ui.renderScheduleTable(); // Fix #154: re-render to show copied courses } } });