diff --git a/frontend/cypress/e2e/checkIn.cy.ts b/frontend/cypress/e2e/checkIn.cy.ts index f6281c9f06..6024396ae2 100644 --- a/frontend/cypress/e2e/checkIn.cy.ts +++ b/frontend/cypress/e2e/checkIn.cy.ts @@ -131,7 +131,8 @@ describe('OKR Check-in e2e tests', () => { cy.contains('Letztes Check-in (' + getCurrentDate() + ')'); }); - it('Should generate checkin list', () => { + // TODO: Re-enable tests in ticket #1014 https://github.com/puzzle/okr/issues/1014 + xit('Should generate checkin list', () => { cy.getByTestId('objective').first().getByTestId('add-keyResult').first().click(); cy.getByTestId('submit').should('be.disabled'); @@ -368,7 +369,7 @@ describe('OKR Check-in e2e tests', () => { cy.intercept('**/keyresults/*').as('getKeyResultsAfterSave'); cy.getByTestId('add-check-in').first().click(); - cy.get('#old-value').should('not.exist'); + cy.getByTestId('old-checkin-value').should('not.exist'); cy.fillOutCheckInMetric(10, 0, 'changeinfo', 'initiatives'); cy.wait('@getKeyResultsAfterSave'); diff --git a/frontend/cypress/e2e/overview.cy.ts b/frontend/cypress/e2e/overview.cy.ts index 9f472d899b..a8515217f4 100644 --- a/frontend/cypress/e2e/overview.cy.ts +++ b/frontend/cypress/e2e/overview.cy.ts @@ -19,6 +19,6 @@ describe('OKR Overview', () => { it('Check font ', () => { cy.get('.team-title').first().invoke('css', 'font-family').should('eq', 'Roboto, sans-serif'); - cy.get('.team-title').first().invoke('css', 'font-weight').should('eq', '700'); + cy.get('.team-title').first().invoke('css', 'font-weight').should('eq', '600'); }); }); diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 8b3716657a..a6df9fb465 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,2 +1,6 @@ - - +
+ +
+
+ +
diff --git a/frontend/src/app/components/action-plan/action-plan.component.html b/frontend/src/app/components/action-plan/action-plan.component.html index 4d7b642f9e..68388cea32 100644 --- a/frontend/src/app/components/action-plan/action-plan.component.html +++ b/frontend/src/app/components/action-plan/action-plan.component.html @@ -42,7 +42,7 @@ -
+
-
+ diff --git a/frontend/src/app/components/application-banner/application-banner.component.scss b/frontend/src/app/components/application-banner/application-banner.component.scss index 0c0c6289e3..6bc8b1f220 100644 --- a/frontend/src/app/components/application-banner/application-banner.component.scss +++ b/frontend/src/app/components/application-banner/application-banner.component.scss @@ -4,6 +4,10 @@ padding-left: 1.5rem; } +p.mb-2 { + font-size: 16px; +} + .filters { flex: 1; } diff --git a/frontend/src/app/components/application-top-bar/application-top-bar.component.scss b/frontend/src/app/components/application-top-bar/application-top-bar.component.scss index 6dedd3b171..b1f8aa6596 100644 --- a/frontend/src/app/components/application-top-bar/application-top-bar.component.scss +++ b/frontend/src/app/components/application-top-bar/application-top-bar.component.scss @@ -4,6 +4,10 @@ height: $top-bar-height; } +span.d-none.d-md-flex { + font-size: 16px; +} + #okrTopbar { display: flex; position: fixed; diff --git a/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html b/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html index 8a5af56f89..1477819976 100644 --- a/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html +++ b/frontend/src/app/components/checkin/check-in-form-ordinal/check-in-form-ordinal.component.html @@ -4,22 +4,25 @@
- Fail:   Commit / Target / Stretch noch nicht erreicht + Fail:  Commit / Target / Stretch noch nicht erreicht
+
-

Commit:  {{ keyResult.commitZone }}

+ Commit: {{ keyResult.commitZone }}
+
-

Target:  {{ keyResult.targetZone }}

+ Target: {{ keyResult.targetZone }}
+
-

Stretch:  {{ keyResult.stretchZone }}

+ Stretch: {{ keyResult.stretchZone }}
diff --git a/frontend/src/app/components/confidence/confidence.component.html b/frontend/src/app/components/confidence/confidence.component.html index 286d8e3cf4..fa587720f9 100644 --- a/frontend/src/app/components/confidence/confidence.component.html +++ b/frontend/src/app/components/confidence/confidence.component.html @@ -1,4 +1,4 @@ -
@@ -22,4 +22,4 @@ > -
+ 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 48515f68a6..67d9551242 100644 --- a/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html +++ b/frontend/src/app/components/keyresult-detail/keyresult-detail.component.html @@ -2,36 +2,36 @@
-

{{ keyResult.title }}

+

{{ keyResult.title }}

-
-
+
+

{{ "KEY_RESULT_TYPE." + keyResult.keyResultType | translate }} -

-
+ + person icon -

{{ owner.firstname }} {{ owner.lastname }}

-
- {{ quarter.label }} -
+

{{ owner.firstname }} {{ owner.lastname }}

+ +

{{ quarter.label }}

+ -
+
- Confidence +

Confidence

-
+ -
+

@@ -62,31 +62,29 @@

{{ keyResult.title }}

-

Commit

-
+

Commit

+

{{ keyResultOrdinal.commitZone }} -

+

-

Target

+

Target

{{ keyResultOrdinal.targetZone }}

-

Stretch

+

Stretch

{{ keyResultOrdinal.stretchZone }}

-
+
-
-

- Letztes Check-in ({{ checkIn.createdOn | date: DATE_FORMAT }}) -

+
+

Letztes Check-in ({{ checkIn.createdOn | date: DATE_FORMAT }})

{{ checkIn.changeInfo }}

-
+ -
-

Beschrieb

-

-

-

{{ keyResult.description }}

-
+
+
+

Beschrieb

+

{{ keyResult.description || "-" }}

+
-
-

Action Plan

-
-
-
- checkbox - {{ action.action }} +
+

Action Plan

+
+
+
+ checkbox +

{{ action.action }}

+
+
+
+
- {{ action.action }}
-
-
-
- {{ action.action }}
-
+
-
+ -
-

Beschrieb

+
+

Beschrieb

-

-
+

{{ objective.description }}

@@ -47,7 +47,7 @@

{{ objective.title }}

Objective bearbeiten
-
+
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 df5ca6aea7..b9bc65ea45 100644 --- a/frontend/src/app/components/objective-detail/objective-detail.component.scss +++ b/frontend/src/app/components/objective-detail/objective-detail.component.scss @@ -1,7 +1,3 @@ :host { width: 100%; } - -.sub-title-objective { - font-size: 1rem; -} diff --git a/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts b/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts index 2568cc3c0d..8a397f7582 100644 --- a/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts +++ b/frontend/src/app/components/objective-detail/objective-detail.component.spec.ts @@ -56,8 +56,8 @@ describe('ObjectiveDetailComponent', () => { it('get data from backend', () => { fixture.detectChanges(); component.objectiveId = 2; - const title = fixture.debugElement.query(By.css('.title')).nativeElement.innerHTML; - const description = fixture.debugElement.query(By.css('[data-test-id="description"]')).nativeElement.innerHTML; + const title = fixture.debugElement.query(By.css('[data-testId="objective-title"]'))?.nativeElement.innerHTML; + const description = fixture.debugElement.query(By.css('[data-testId="description"]'))?.nativeElement.innerHTML; expect(title).toContain(objective.title); expect(description).toContain(objective.description); }); diff --git a/frontend/src/app/components/objective-filter/objective-filter.component.html b/frontend/src/app/components/objective-filter/objective-filter.component.html index 8b9f1f6b68..b1392ebd18 100644 --- a/frontend/src/app/components/objective-filter/objective-filter.component.html +++ b/frontend/src/app/components/objective-filter/objective-filter.component.html @@ -1,4 +1,4 @@ -
+ @@ -20,6 +20,7 @@ diff --git a/frontend/src/app/components/objective-filter/objective-filter.component.scss b/frontend/src/app/components/objective-filter/objective-filter.component.scss index 6575e0f171..6dd5e1064d 100644 --- a/frontend/src/app/components/objective-filter/objective-filter.component.scss +++ b/frontend/src/app/components/objective-filter/objective-filter.component.scss @@ -1,3 +1,7 @@ #objective-form-field { width: 300px; } + +.search-scale { + transform: scale(1.2); +} diff --git a/frontend/src/app/components/objective/objective.component.html b/frontend/src/app/components/objective/objective.component.html index 71cd720191..fcf84893a2 100644 --- a/frontend/src/app/components/objective/objective.component.html +++ b/frontend/src/app/components/objective/objective.component.html @@ -8,7 +8,7 @@ >
-
+

{{ objective.title }}

-
+
-
+
{{ objective.title }} [keyResult]="keyResult" [attr.data-testId]="'keyresult'" > -
+