diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
index a0cf36f71..d3c0285a4 100644
--- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
+++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
@@ -20,7 +20,7 @@
diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.scss b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.scss
index 064f81453..bdfae4da8 100644
--- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.scss
+++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.scss
@@ -15,3 +15,42 @@
color: $white;
}
}
+
+
+.right-fixed-container {
+ display: flex;
+ width: 470px;
+ padding-top: 50px;
+
+ > div {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .project-stats-container {
+ width: fit-content;
+
+ .project-stats-item {
+ display: flex;
+ width: fit-content;
+ gap: 5px;
+ margin-top: 25px;
+
+ &:first-of-type {
+ margin-top: 50px;
+ }
+
+ mat-icon {
+ height: 16px;
+ width: 16px;
+ margin-top: 3px;
+ }
+ }
+ }
+}
+
+.left-container {
+ width: calc(100vw - #{$right-container-width} - 130px);
+}
diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts
index f593f255e..901b6acf3 100644
--- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts
+++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.ts
@@ -8,7 +8,7 @@ import { NotificationService } from '../../notification/notification.service';
import { AppStateService, ProjectWrapper } from '../../state/app-state.service';
import { UserService } from '../../user/user.service';
import { ProjectDetailsDialogComponent } from '../project-overview-screen/project-details-dialog/project-details-dialog.component';
-import { DataSeries } from '../../simple-doughnut-chart/simple-doughnut-chart.component';
+import { DoughnutChartConfig } from '../../simple-doughnut-chart/simple-doughnut-chart.component';
@Component({
selector: 'redaction-project-listing-screen',
@@ -16,7 +16,8 @@ import { DataSeries } from '../../simple-doughnut-chart/simple-doughnut-chart.co
styleUrls: ['./project-listing-screen.component.scss']
})
export class ProjectListingScreenComponent implements OnInit {
- projectsChartData: DataSeries [] = [];
+ projectsChartData: DoughnutChartConfig [] = [];
+ documentsChartData: DoughnutChartConfig [] = [];
constructor(
public readonly appStateService: AppStateService,
@@ -34,10 +35,14 @@ export class ProjectListingScreenComponent implements OnInit {
ngOnInit(): void {
this.appStateService.reset();
this.projectsChartData = [
- // {value: this.activeProjects, color: '#DD4D50', label: 'active-projects'},
- // {value: this.inactiveProjects, color: '#f8eded', label: 'Archived'}];
- { value: 3, color: 'active', label: 'active-projects' },
- { value: 7, color: 'archived', label: 'Archived' }];
+ { value: this.activeProjects, color: 'active', label: 'active-projects' },
+ { value: this.inactiveProjects, color: 'archived', label: 'Archived' }
+ ];
+ this.documentsChartData = [
+ { value: 20, color: 'unassigned', label: 'unassigned' },
+ { value: 40, color: 'under-review', label: 'under review' },
+ { value: 16, color: 'under-approval', label: 'under approval' },
+ ]
}
openAddProjectDialog(project?: Project): void {
diff --git a/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.html b/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.html
index 3039d2652..887c2bdb2 100644
--- a/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.html
+++ b/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.html
@@ -1,6 +1,6 @@