desktop/PLAN.md
Goal: Allow users to reorder tasks within categories by dragging
Implementation:
@State for tracking drag state in TaskRow.draggable() and .dropDestination() modifiers (macOS 13+)categoryOrder: [TaskCategory: [String]] to TasksViewModelFiles to modify:
TasksPage.swift - Add drag/drop to TaskRow and TaskCategorySectionTasksViewModel - Add order persistence and reorder methodsReason: Swipe gestures are designed for touchscreens. On macOS, hover-to-reveal delete button already exists and works better with mouse/trackpad.
Goal: Visual hierarchy with 0-3 indent levels
Implementation:
@State var indentLevels: [String: Int] to TasksViewModel (task ID -> indent level)Files to modify:
TasksPage.swift - Add indent visual and gesture handlingTasksViewModel - Add indent state management