From a0e39ad59712ddd1f56cd7c43a5a72910e8b2b78 Mon Sep 17 00:00:00 2001 From: "Petter H. Juliussen" Date: Thu, 5 Oct 2023 12:15:07 +0200 Subject: [PATCH 1/3] Prevent wrapping in objective card header --- src/components/ObjectiveLinkCard.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/ObjectiveLinkCard.vue b/src/components/ObjectiveLinkCard.vue index 8a893280e..730df70b4 100644 --- a/src/components/ObjectiveLinkCard.vue +++ b/src/components/ObjectiveLinkCard.vue @@ -178,10 +178,11 @@ export default { padding: 1rem; } - &__header { + &__heading { display: flex; gap: 0.5rem; align-items: center; + justify-content: space-between; white-space: nowrap; } @@ -199,12 +200,6 @@ export default { } } -.objective-link-card__heading { - display: flex; - gap: 0.5rem; - justify-content: space-between; -} - .objective-link-card__tags { display: flex; flex: 1 0 auto; From 77bda1e2c9f8d56d85e035f8e96179f536b6d586 Mon Sep 17 00:00:00 2001 From: "Petter H. Juliussen" Date: Thu, 5 Oct 2023 12:15:44 +0200 Subject: [PATCH 2/3] Place objective period above progress bar --- src/components/panes/ObjectivePane.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/panes/ObjectivePane.vue b/src/components/panes/ObjectivePane.vue index 1a72149f4..66046a5aa 100644 --- a/src/components/panes/ObjectivePane.vue +++ b/src/components/panes/ObjectivePane.vue @@ -61,16 +61,16 @@ +
+
{{ $t('objective.period') }}
+
{{ periodDates(period) }}
+
+ - -
-
{{ $t('objective.period') }}
-
{{ periodDates(period) }}
-
From 1e0efd15206d11671f6fcc0ba9097d82f2c3dba3 Mon Sep 17 00:00:00 2001 From: "Petter H. Juliussen" Date: Fri, 6 Oct 2023 14:33:14 +0200 Subject: [PATCH 3/3] Redesign the key result history listing --- src/components/KeyResultValuesList.vue | 213 ++++++++++++++++++++++++ src/components/modals/ProgressModal.vue | 8 +- src/components/panes/KeyResultPane.vue | 35 ++-- src/components/panes/ObjectivePane.vue | 8 +- src/styles/main.scss | 1 + src/util/format.js | 1 + src/util/index.js | 1 + 7 files changed, 249 insertions(+), 18 deletions(-) create mode 100644 src/components/KeyResultValuesList.vue diff --git a/src/components/KeyResultValuesList.vue b/src/components/KeyResultValuesList.vue new file mode 100644 index 000000000..6f85d1538 --- /dev/null +++ b/src/components/KeyResultValuesList.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/components/modals/ProgressModal.vue b/src/components/modals/ProgressModal.vue index a5f4d0b23..c1a3cabc9 100644 --- a/src/components/modals/ProgressModal.vue +++ b/src/components/modals/ProgressModal.vue @@ -45,6 +45,7 @@
@@ -52,7 +53,7 @@