fix: single-item cross-track drag

Each track filters the item independently. Only target track
receives the inserted item. Removes duplicate state update.
This commit is contained in:
2026-07-29 11:02:03 +07:00
parent 8e8fc58082
commit 6c6a326b7d
3 changed files with 17 additions and 15 deletions
+6
View File
@@ -754,3 +754,9 @@
- **Các file ảnh hưởng:** `app/static/js/app.jsx`
- **Ghi chú/Test (nếu có):** `npm run build` — build passes.
---
### [2026-07-29 11:04] Task: Fix single-item cross-track drag
- **Tóm tắt thay đổi:** Sửa single-item drag path: mỗi track filter `drag.itemId` riêng, chỉ insert vào `targetTrackId`. Xóa duplicate `setDraggedSectionItem`.
- **Các file ảnh hưởng:** `app/static/js/app.jsx`
- **Ghi chú/Test (nếu có):** `npm run build` — build passes.
---