+
{{reportData?.meta.name}} ({{reportData?.meta.date | germanTimeFormat }})
+
+
There are no Workbaskets with type TOPIC.
+
+
+
+
+
+
+
{{row.desc[0]}}
+
+
+
+
+
+
+
+
+
+
+
+ Priority |
+
+ {{element.priority}} |
+
+
+
+
+ Number of Tasks |
+
+ {{element.number}} |
+
+
+
+
+
+
+
+
+
+
diff --git a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.scss b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.scss
new file mode 100644
index 000000000..f88bf241c
--- /dev/null
+++ b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.scss
@@ -0,0 +1,40 @@
+table {
+ width: 100%;
+}
+
+.task-priority-report {
+ padding: 8px;
+ overflow-y: scroll;
+ height: calc(100vh - 104px);
+
+ &__workbaskets {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ }
+
+ &__workbasket {
+ display: flex;
+ flex-direction: column;
+ width: 360px;
+ margin: 24px 24px 36px 24px;
+ }
+
+ &__headline {
+ text-align: center;
+ margin-bottom: 8px;
+ }
+
+ &__row--low {
+ color: limegreen;
+ }
+
+ &__row--medium {
+ color: gold;
+ }
+
+ &__row--high {
+ color: red;
+ }
+
+}
diff --git a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts
new file mode 100644
index 000000000..33716425a
--- /dev/null
+++ b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts
@@ -0,0 +1,133 @@
+import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
+import { Component, DebugElement, Input, Pipe, PipeTransform } from '@angular/core';
+import { NgxsModule } from '@ngxs/store';
+import { WorkbasketService } from '../../../shared/services/workbasket/workbasket.service';
+import { NotificationService } from '../../../shared/services/notifications/notification.service';
+import { TaskPriorityReportComponent } from './task-priority-report.component';
+import { MonitorService } from '../../services/monitor.service';
+import { of } from 'rxjs';
+import { MatTableModule } from '@angular/material/table';
+import { priorityTypes } from '../../models/priority';
+import { workbasketReportMock, workbasketReportUnexpectedHeaderMock } from './monitor-mock-data';
+
+@Pipe({ name: 'germanTimeFormat' })
+class GermanTimeFormatPipe implements PipeTransform {
+ transform(value: number): number {
+ return value;
+ }
+}
+
+@Component({ selector: 'taskana-monitor-canvas', template: '' })
+class CanvasStub {
+ @Input() row;
+ @Input() id;
+ @Input() isReversed;
+}
+
+const monitorServiceSpy: Partial