From 148cc1dcca864032304a42d59088c48ce70dbc8c Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 22 Nov 2020 16:32:35 +0000 Subject: [PATCH] Better save messages for tasks (#307) Add success messages when managing assignees Add success messages when managing labels Add better loading animations for related tasks Add better loading animations for comments Don't block everything while loading Move task heading to separate component which handles all saving related things Make sure to only show the loading spinner and saved message when saving the description Show a maximum of 2 notifications Move task description to separate component Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/307 Co-Authored-By: konrad Co-Committed-By: konrad --- src/components/misc/notification.vue | 2 +- src/components/tasks/partials/comments.vue | 37 ++- src/components/tasks/partials/description.vue | 97 ++++++ .../tasks/partials/editAssignees.vue | 2 + src/components/tasks/partials/editLabels.vue | 11 +- src/components/tasks/partials/heading.vue | 101 ++++++ .../tasks/partials/relatedTasks.vue | 22 +- src/store/modules/tasks.js | 6 + src/styles/theme/content.scss | 4 + src/views/list/views/Kanban.vue | 304 +++++++++--------- src/views/tasks/TaskDetailView.vue | 93 ++---- 11 files changed, 456 insertions(+), 223 deletions(-) create mode 100644 src/components/tasks/partials/description.vue create mode 100644 src/components/tasks/partials/heading.vue diff --git a/src/components/misc/notification.vue b/src/components/misc/notification.vue index dc1752a4..1b000cc9 100644 --- a/src/components/misc/notification.vue +++ b/src/components/misc/notification.vue @@ -1,5 +1,5 @@