From f4eec45f8416abbcf891d1b2283bdd90165254a1 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 9 Dec 2024 14:16:23 +0100 Subject: [PATCH 1/6] Fix mistakes mentioned in story --- .../check-in-form-metric.component.html | 2 +- .../checkin/check-in-form/check-in-form.component.html | 8 ++++---- .../keyresult-detail/keyresult-detail.component.html | 2 +- .../keyresult-detail/keyresult-detail.component.scss | 4 ++++ .../objective-detail/objective-detail.component.scss | 4 ++++ .../dialog/complete-dialog/complete-dialog.component.html | 4 ++-- frontend/src/style/styles.scss | 4 ++-- 7 files changed, 18 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html index 62f5a98226..7ace176202 100644 --- a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html +++ b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.html @@ -26,7 +26,7 @@
-

Letzter Wert

+
{{ metricCheckIn.value }}{{ generateUnitLabel() }}
diff --git a/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html b/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html index 1ef7d4846f..4c0fbdbb69 100644 --- a/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html +++ b/frontend/src/app/components/checkin/check-in-form/check-in-form.component.html @@ -2,14 +2,14 @@
-

Key Result

+

{{ keyResult.title }}

-

Action Plan:

+
@@ -72,13 +72,13 @@

Key Result

-

+

+
diff --git a/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html b/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html index c1dce95aa5..e0465fa14d 100644 --- a/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html +++ b/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html @@ -91,7 +91,7 @@

Beschrieb

-

Action Plan

+

Action Plan

diff --git a/frontend/src/app/components/keyresult-detail/keyresult-detail.component.scss b/frontend/src/app/components/keyresult-detail/keyresult-detail.component.scss index c54b98ea36..c2ac8be753 100644 --- a/frontend/src/app/components/keyresult-detail/keyresult-detail.component.scss +++ b/frontend/src/app/components/keyresult-detail/keyresult-detail.component.scss @@ -4,6 +4,10 @@ flex: 1; } +h3 { + font-variation-settings: "wght" 600 !important; +} + .keyResult-detail-attribute-show { background-color: $display-element; height: auto; diff --git a/frontend/src/app/components/objective-detail/objective-detail.component.scss b/frontend/src/app/components/objective-detail/objective-detail.component.scss index b9bc65ea45..20b8cc0c23 100644 --- a/frontend/src/app/components/objective-detail/objective-detail.component.scss +++ b/frontend/src/app/components/objective-detail/objective-detail.component.scss @@ -1,3 +1,7 @@ :host { width: 100%; } + +h3 { + font-variation-settings: "wght" 600 !important; +} diff --git a/frontend/src/app/shared/dialog/complete-dialog/complete-dialog.component.html b/frontend/src/app/shared/dialog/complete-dialog/complete-dialog.component.html index b3950a20a5..227079812c 100644 --- a/frontend/src/app/shared/dialog/complete-dialog/complete-dialog.component.html +++ b/frontend/src/app/shared/dialog/complete-dialog/complete-dialog.component.html @@ -1,7 +1,7 @@
-

Objective

+

{{ data.objectiveTitle }}

@@ -9,7 +9,7 @@

Objective

-

Bewertung

+
-
+

Wert:

@@ -34,14 +34,14 @@

Confidence:

{{ checkIn.confidence }} / 10
-
-

Veränderungen:

- {{ checkIn.changeInfo }} +
+

Veränderungen:

+ {{ checkIn.changeInfo }}
-
-

Massnahmen:

- {{ checkIn.initiatives }} +
+

Massnahmen:

+ {{ checkIn.initiatives }}
diff --git a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.scss b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.scss new file mode 100644 index 0000000000..2135671ede --- /dev/null +++ b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.scss @@ -0,0 +1,3 @@ +h4 { + font-style: italic; +} diff --git a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.ts b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.ts index 2ef3c79f34..8c2d5a709c 100644 --- a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.ts +++ b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.ts @@ -15,6 +15,7 @@ import { CheckInOrdinalMin } from '../../shared/types/model/CheckInOrdinalMin'; @Component({ selector: 'app-check-in-history-dialog', templateUrl: './check-in-history-dialog.component.html', + styleUrls: ['./check-in-history-dialog.component.scss'], }) export class CheckInHistoryDialogComponent implements OnInit { keyResult!: KeyResult; From a5b2cd18555b9f3f94aa194065e0ff9c48cf54f8 Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 13 Dec 2024 13:08:04 +0100 Subject: [PATCH 4/6] Fix overlapping in check-in history --- .../check-in-history-dialog.component.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html index 104d132afe..f7cc096fe7 100644 --- a/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html +++ b/frontend/src/app/components/check-in-history-dialog/check-in-history-dialog.component.html @@ -35,13 +35,13 @@

Confidence:

-

Veränderungen:

- {{ checkIn.changeInfo }} +

Veränderungen:

+ {{ checkIn.changeInfo }}
-

Massnahmen:

- {{ checkIn.initiatives }} +

Massnahmen:

+ {{ checkIn.initiatives }}
From 6ed18a07aaab3a0befbb28c729d1754d12ef0810 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 16 Dec 2024 15:48:00 +0100 Subject: [PATCH 5/6] Resovle conversations from peer review --- .../app/components/confidence/confidence.component.html | 4 +--- .../add-user-team/add-user-team.component.html | 2 +- .../team-management/delete-user/delete-user.component.html | 2 +- .../team-management/member-list/member-list.component.html | 2 +- frontend/src/style/styles.scss | 7 ------- 5 files changed, 4 insertions(+), 13 deletions(-) diff --git a/frontend/src/app/components/confidence/confidence.component.html b/frontend/src/app/components/confidence/confidence.component.html index fa587720f9..abf995fb25 100644 --- a/frontend/src/app/components/confidence/confidence.component.html +++ b/frontend/src/app/components/confidence/confidence.component.html @@ -6,9 +6,7 @@ class="bg-inherit d-flex justify-content-center align-items-center w-auto" [ngClass]="[edit ? 'keyResult-attribute-edit' : 'keyResult-attribute-show', isDetail ? 'height' : '']" > -

- {{ checkIn.confidence }}/{{ max }} -

+

{{ checkIn.confidence }}/{{ max }}

- + - + Delete user button {{ getFullNameFromUser(this.user) }} löschen diff --git a/frontend/src/app/team-management/member-list/member-list.component.html b/frontend/src/app/team-management/member-list/member-list.component.html index 2589b18abc..32ab502808 100644 --- a/frontend/src/app/team-management/member-list/member-list.component.html +++ b/frontend/src/app/team-management/member-list/member-list.component.html @@ -26,7 +26,7 @@

Alle Teams

color="primary" mat-button > - + Add key-result button Member hinzufügen diff --git a/frontend/src/style/styles.scss b/frontend/src/style/styles.scss index 1d166049a7..86ed92c713 100644 --- a/frontend/src/style/styles.scss +++ b/frontend/src/style/styles.scss @@ -261,12 +261,6 @@ mat-form-field.quarter-filter .mat-mdc-text-field-wrapper { margin-bottom: 1rem; } -.sub-title-keyresult { - font-family: Roboto, "sans-serif"; - font-variation-settings: "wght" 400; - font-size: 0.9rem !important; -} - * { line-height: 115% !important; } @@ -278,7 +272,6 @@ img.add-cross-button { .add-text { font-family: Roboto, "sans-serif"; - font-variation-settings: "wght" 500; margin-top: 1px; height: 2rem; } From 2fabd5ef9ce3c62e48424d31f89b67ff4e7f05dc Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 18 Dec 2024 14:06:01 +0100 Subject: [PATCH 6/6] Remove unwanted weight style --- frontend/src/style/styles.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/style/styles.scss b/frontend/src/style/styles.scss index 86ed92c713..be2c2eab37 100644 --- a/frontend/src/style/styles.scss +++ b/frontend/src/style/styles.scss @@ -75,7 +75,6 @@ body.okr { color: $pz-dark-blue; text-decoration: none; font-size: 0.875rem; - font-weight: 700; } .font-size-14 {