mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 01:14:22 +00:00
Bundled because all three changes share editor.ts and the pre-existing working-tree state could not be split per-hunk: - feat: a chip drag / block-menu move now writes the new order back via PluginAPI.reorderTasks (top-level order for PROJECT contexts, subtask order for any context), guarded permutation-only so a missing chip can never drop a task from project.taskIds / task.subTaskIds. - refactor: split editor.ts (2238 -> 1846 lines) into icons.ts, the pure doc-nav.ts navigation helpers, and a createTaskRefNode factory that replaces the ~95% duplicated TaskRefNode / SubTaskRefNode. - fix: onAnyTaskUpdate fast-paths in-place single-task updates from the hook payload, skipping a full getTasks() round-trip. - test: doc-nav.spec.ts covers the drag/move helpers. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||