From cc378b83fee2b326610cdda1997cc5236f947fbf Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 28 Sep 2022 19:46:12 +0200 Subject: [PATCH 1/6] feat: automatically create subtask relations based on indention --- src/components/tasks/add-task.vue | 51 ++++++-- src/helpers/parseSubtasksViaIndention.test.ts | 109 ++++++++++++++++++ src/helpers/parseSubtasksViaIndention.ts | 42 +++++++ 3 files changed, 191 insertions(+), 11 deletions(-) create mode 100644 src/helpers/parseSubtasksViaIndention.test.ts create mode 100644 src/helpers/parseSubtasksViaIndention.ts diff --git a/src/components/tasks/add-task.vue b/src/components/tasks/add-task.vue index 2a295386..88d1f0cf 100644 --- a/src/components/tasks/add-task.vue +++ b/src/components/tasks/add-task.vue @@ -41,18 +41,19 @@