From 8aaf1676c0667a23af541df594e288fc83d3131c Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 10 Jul 2026 08:06:06 -0400 Subject: [PATCH] fix: refresh board after drag & drop move --- app/templates/board.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/templates/board.html b/app/templates/board.html index 172621f..cc7fc93 100644 --- a/app/templates/board.html +++ b/app/templates/board.html @@ -277,7 +277,12 @@ onEnd: function(evt) { const cardId = evt.item.dataset.cardId; const toStatus = evt.to.dataset.status; - fetch(`/api/move?owner=${owner}&repo=${repo}&issue_id=${cardId}&column=${toStatus}`, { method: 'POST' }); + fetch(`/api/move?owner=${owner}&repo=${repo}&issue_id=${cardId}&column=${toStatus}`, { method: 'POST' }) + .then(() => { + // ponytail: refresh current view after move + const activeTab = document.querySelector('.view-tab.active'); + if (activeTab) activeTab.click(); + }); } }); });