insert pushed tasks at top of list

Hunter
Saturday, March 7th, 2026 at 5:19 PM

index.html+5-2

index.html
968  				// Remove the subtask from its current parent
969  				parentTask.subtasks.splice(index, 1);
970  
    -				// Add the subtask to the target task's subtasks
    -				targetTask.subtasks.push(subtask);
971 +				// Add the subtask to the top of the target task's subtasks
972 +				targetTask.subtasks.unshift(subtask);
973 +
974 +				// Mark the pushed task as selected within the target
975 +				targetTask.selectedSubtaskId = subtask.id;
976  
977  				// Adjust moved task's state for its new parent
978  				adjustMovedTaskState(subtask, targetTask);