From ce49097d8b19285bdcc7910a0a9866e7e5be7562 Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Thu, 20 Aug 2026 15:18:34 -0400 Subject: [PATCH] Fix: allow a drop between two folders in the admin list Split a folder row into three drop zones. The top and bottom quarter reorder and show the insert line; the middle half still drops into the folder. Both the pointer and the touch drag paths pass targetIsFolder only for the middle zone. --- CHANGELOG.md | 3 +++ ui/admin/index.html | 2 +- ui/js/admin-drag-logic.js | 15 +++++++++++++++ ui/js/admin.js | 23 +++++++++++++++-------- ui/test/admin-drag-logic.test.mjs | 29 ++++++++++++++++++++++++++++- 5 files changed, 62 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04a103fc..2bcc4669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- An app can now be dropped between two folders, on the top or bottom edge of a + folder row. + - Color fields now accept a hex code typed without its leading `#`, and say so when a value is not a color. diff --git a/ui/admin/index.html b/ui/admin/index.html index 7decc1cf..f2150179 100644 --- a/ui/admin/index.html +++ b/ui/admin/index.html @@ -303,6 +303,6 @@