mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
Two issues prevented dragging a subtask out to the top-level list to convert it into a main task: - CDK only caches a sibling drop-list's geometry when its enterPredicate passes at drag start (_startReceiving). The pointer is always over the source subtask list then, so the top-level list was never cached and conversion silently failed until an unrelated parent drag warmed it. Open a one-microtask accept window at subtask drag start so CDK caches the top-level lists' geometry; the pointer guard resumes afterwards. - An expanded neighbour's subtask list "caught" the drag in the dead-band just above the next parent (sibling order resolves subtask lists before the top-level list), silently re-parenting the subtask instead of converting it, and growing/sticking once entered. Treat only an actual subtask row as "inside" a foreign subtask list; its trailing padding now falls through to the top-level list for conversion. The source list still blocks anywhere, so in-list sorting is unaffected. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||