From 2705c1571e72396154e57b4676a623de54f2ad76 Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 28 Oct 2019 21:45:37 +0000 Subject: [PATCH] Handle task relations the right way (#36) --- src/components/tasks/edit-task.vue | 575 +++++++++++++++++------------ src/models/list.js | 23 +- src/models/relationKinds.json | 13 + src/models/task.js | 9 +- src/models/taskRelation.js | 21 ++ src/services/taskRelation.js | 15 + src/styles/tasks.scss | 4 + 7 files changed, 398 insertions(+), 262 deletions(-) create mode 100644 src/models/relationKinds.json create mode 100644 src/models/taskRelation.js create mode 100644 src/services/taskRelation.js diff --git a/src/components/tasks/edit-task.vue b/src/components/tasks/edit-task.vue index 915c1ce3..9b9326cd 100644 --- a/src/components/tasks/edit-task.vue +++ b/src/components/tasks/edit-task.vue @@ -3,18 +3,23 @@
- +
- +
Reminder Dates -
+
- + + +
@@ -147,7 +154,9 @@
@@ -166,7 +175,8 @@ label="username" track-by="id"> Oops! No user found. Consider changing the search query. @@ -204,45 +214,75 @@ tag-placeholder="Add this as new label" >
-
- -
-
-