commit f226dd324e5134365c79f0c3dd8962798d6ab4ec
parent ec559543d96bad8eea3f724f0acf91c42eed35fe
Author: Hunter
Date:   Sat,  7 Mar 2026 17:19:17 -0500

insert pushed tasks at top of list

Diffstat:
Mindex.html | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html @@ -968,8 +968,11 @@ // Remove the subtask from its current parent parentTask.subtasks.splice(index, 1); - // Add the subtask to the target task's subtasks - targetTask.subtasks.push(subtask); + // Add the subtask to the top of the target task's subtasks + targetTask.subtasks.unshift(subtask); + + // Mark the pushed task as selected within the target + targetTask.selectedSubtaskId = subtask.id; // Adjust moved task's state for its new parent adjustMovedTaskState(subtask, targetTask);