From 7e82aa83e6b58954f1c41d9b31b75c513b17d47d Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 4 Nov 2021 16:28:20 +0000 Subject: [PATCH 1/3] fix: label spacing (#946) Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/946 Reviewed-by: dpschen Co-authored-by: konrad Co-committed-by: konrad --- src/components/tasks/partials/editLabels.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/tasks/partials/editLabels.vue b/src/components/tasks/partials/editLabels.vue index 25ee20b63..3ba78de75 100644 --- a/src/components/tasks/partials/editLabels.vue +++ b/src/components/tasks/partials/editLabels.vue @@ -148,3 +148,9 @@ export default { }, } + + From 58986c4a7a36154640e3128e4c8e0c1c3935c801 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 4 Nov 2021 16:30:30 +0000 Subject: [PATCH 2/3] fix: adding or creating a label with quick add magic (#944) Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/944 Reviewed-by: dpschen Co-authored-by: konrad Co-committed-by: konrad --- src/store/modules/tasks.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/store/modules/tasks.js b/src/store/modules/tasks.js index 8adf09bbb..70e5370ca 100644 --- a/src/store/modules/tasks.js +++ b/src/store/modules/tasks.js @@ -223,13 +223,12 @@ export default { const labelAddsToWaitFor = parsedLabels.map(async labelTitle => { let label = validateLabel(labels, labelTitle) - if (typeof label !== 'undefined') { - return label + if (typeof label === 'undefined') { + // label not found, create it + const labelModel = new LabelModel({title: labelTitle}) + label = await dispatch('labels/createLabel', labelModel, {root: true}) } - // label not found, create it - const labelModel = new LabelModel({title: labelTitle}) - await dispatch('labels/createLabel', labelModel, {root: true}) return addLabelToTask(task, label) }) From b7207c6eaf2a5ca069e40f70e20fecce6a14f5fb Mon Sep 17 00:00:00 2001 From: dpschen Date: Thu, 4 Nov 2021 16:32:00 +0000 Subject: [PATCH 3/3] chore: remove some unused notification styles (#953) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/953 Co-authored-by: dpschen Co-committed-by: dpschen --- src/styles/theme/notification.scss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/styles/theme/notification.scss b/src/styles/theme/notification.scss index aaf83968c..9950b9606 100644 --- a/src/styles/theme/notification.scss +++ b/src/styles/theme/notification.scss @@ -5,14 +5,6 @@ .notifications { left: 0.5rem !important; bottom: 1rem !important; - - .notification-wrapper .notification { - border-radius: 0; - border-top-width: 0; - border-right-width: 0; - border-bottom-width: 0; - border-left-width: 0.4rem; - } } .message .message-body {