From d04ee3cd6f68f9c19d38fe595550e108cd059ffa Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 28 May 2026 00:31:34 +0545 Subject: [PATCH] feat(templates/pages/kanban): add drag-and-drop sortable column functionality and improve card movement handling - New Features: Introduced sortable column UI with drag-and-drop reordering, visual ghost and drag styling, and automatic card movement via API. - Enhancements: Added CSS classes for ghost and drag effects, integrated htmx `afterSwap` event to reinitialize sortable after dynamic swaps, and improved delay and filter settings. - Bug Fixes: Fixed column identification logic, ensured proper cleanup of existing sortable instances, and enhanced error handling to reload page on failed moves. --- templates/pages/kanban/board_detail.html | 57 +++++++++++++++++------- 1 file changed, 42 insertions(+), 15 deletions(-) diff --git a/templates/pages/kanban/board_detail.html b/templates/pages/kanban/board_detail.html index 9125e77..21cb260 100644 --- a/templates/pages/kanban/board_detail.html +++ b/templates/pages/kanban/board_detail.html @@ -81,6 +81,13 @@ {% endblock %} + {% block extra_scripts %} {% endblock %}