- {{
- 'project-overview.file-listing.file-entry.number-of-pages'
- | translate: fileStatus
- }}
+ {{ 'project-overview.file-listing.file-entry.number-of-pages' | translate: fileStatus }}
- {{
- 'project-overview.file-listing.file-entry.number-of-analyses'
- | translate: fileStatus
- }}
+ {{ 'project-overview.file-listing.file-entry.number-of-analyses' | translate: fileStatus }}
- {{
- 'project-overview.file-listing.file-entry.added'
- | translate: { added: fileStatus.added | date: 'short' }
- }}
+ {{ 'project-overview.file-listing.file-entry.added' | translate: { added: fileStatus.added | date: 'short' } }}
- {{
- 'project-overview.file-listing.file-entry.last-updated'
- | translate: { lastUpdated: fileStatus.lastUpdated | date: 'short' }
- }}
+ {{ 'project-overview.file-listing.file-entry.last-updated' | translate: { lastUpdated: fileStatus.lastUpdated | date: 'short' } }}
diff --git a/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.scss b/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.scss
index 07db76080..888100604 100644
--- a/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.scss
+++ b/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.scss
@@ -3,24 +3,15 @@
.header-wrapper {
display: flex;
flex-direction: row;
-}
+ position: relative;
-.members-container {
- flex-wrap: wrap;
- margin-top: 4px;
-
- .member {
- margin-top: 4px;
- margin-right: 2px;
+ redaction-circle-button {
+ position: absolute;
+ top: -5px;
+ left: 277px;
}
}
-.see-less {
- opacity: 1;
- color: $primary;
- margin-top: 16px;
-}
-
.legend {
display: flex;
flex-direction: column;
diff --git a/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.ts b/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.ts
index 1e6a24043..b8c6f55ec 100644
--- a/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.ts
+++ b/apps/red-ui/src/app/screens/project-overview-screen/project-details/project-details.component.ts
@@ -16,7 +16,6 @@ import { StatusSorter } from '../../../common/sorters/status-sorter';
})
export class ProjectDetailsComponent implements OnInit {
public documentsChartData: DoughnutChartConfig[] = [];
- public expandedTeam = false;
@Input() public filters: { needsWorkFilters: FilterModel[]; statusFilters: FilterModel[] };
@Output() public filtersChanged = new EventEmitter();
@Output() public openAssignProjectMembersDialog = new EventEmitter();
@@ -38,22 +37,10 @@ export class ProjectDetailsComponent implements OnInit {
});
}
- private get _memberIds(): string[] {
+ public get memberIds(): string[] {
return this.appStateService.activeProject.project.memberIds;
}
- public get displayedMembers(): string[] {
- return this.expandedTeam || !this.overflowCount ? this._memberIds : this._memberIds.slice(0, 7);
- }
-
- public toggleExpandedTeam() {
- this.expandedTeam = !this.expandedTeam;
- }
-
- public get overflowCount() {
- return this._memberIds.length > 8 ? this._memberIds.length - 7 : 0;
- }
-
public calculateChartConfig(): void {
if (this.appStateService.activeProject) {
const groups = groupBy(this.appStateService.activeProject?.files, 'status');
diff --git a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.html b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.html
index 04a9c8f86..cd6766055 100644
--- a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.html
+++ b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.html
@@ -24,7 +24,7 @@
>
diff --git a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.scss b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.scss
index e7517fdb7..ece80b89c 100644
--- a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.scss
+++ b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.scss
@@ -68,14 +68,18 @@ redaction-table-col-name::ng-deep {
}
.left-container {
- width: calc(100vw - 350px);
+ width: calc(100vw - 358px);
}
.right-container {
display: flex;
- width: 350px;
- min-width: 350px;
+ width: 358px;
+ min-width: 358px;
padding: 16px 16px 16px 24px;
+
+ redaction-project-details {
+ width: 100%;
+ }
}
.reanalyse-link {
diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json
index dde800d5f..aef28b041 100644
--- a/apps/red-ui/src/assets/i18n/en.json
+++ b/apps/red-ui/src/assets/i18n/en.json
@@ -344,15 +344,19 @@
"dialog": {
"single-user": "Reviewer",
"title": "Manage File Reviewer",
- "save": "Save"
+ "save": "Save",
+ "cancel": "Cancel"
}
},
"assign-project-owner": {
"dialog": {
"single-user": "Owner",
"multi-user": "Review Team",
- "title": "Manage Project Owner and Review Team",
- "save": "Save"
+ "title": "Manage Project Team",
+ "members": "Members",
+ "save": "Save Changes",
+ "cancel": "Cancel",
+ "search": "Search..."
}
},
"project-member-guard": {
diff --git a/apps/red-ui/src/assets/styles/red-button.scss b/apps/red-ui/src/assets/styles/red-button.scss
index 9aa2bc910..80b746231 100644
--- a/apps/red-ui/src/assets/styles/red-button.scss
+++ b/apps/red-ui/src/assets/styles/red-button.scss
@@ -12,10 +12,24 @@
.mat-button-wrapper {
display: flex;
align-items: center;
+ line-height: 34px;
gap: 6px;
}
}
+.cdk-program-focused .mat-button-focus-overlay {
+ opacity: 0 !important;
+}
+
+.mat-flat-button.mat-primary.red-button {
+ padding: 0 14px;
+ transition: background-color 0.2s;
+
+ &:not(.mat-button-disabled):hover {
+ background-color: $red-2;
+ }
+}
+
redaction-icon-button,
redaction-chevron-button,
redaction-circle-button {
diff --git a/apps/red-ui/src/assets/styles/red-components.scss b/apps/red-ui/src/assets/styles/red-components.scss
index 5a48d3531..2678f7eff 100644
--- a/apps/red-ui/src/assets/styles/red-components.scss
+++ b/apps/red-ui/src/assets/styles/red-components.scss
@@ -14,6 +14,7 @@
text-align: center;
text-transform: uppercase;
border: none;
+ box-sizing: border-box;
&.large {
height: 32px;
diff --git a/apps/red-ui/src/assets/styles/red-dialog.scss b/apps/red-ui/src/assets/styles/red-dialog.scss
index c91678a7a..cddf6e42d 100644
--- a/apps/red-ui/src/assets/styles/red-dialog.scss
+++ b/apps/red-ui/src/assets/styles/red-dialog.scss
@@ -1,5 +1,9 @@
+@import './red-variables';
+
.mat-dialog-container {
- border-radius: 8px;
+ color: $grey-1;
+ padding: 0 !important;
+ border-radius: 8px !important;
}
.dialog {
@@ -8,31 +12,28 @@
.dialog-close {
position: absolute;
- top: 0;
- right: -10px;
-
- mat-icon {
- width: 14px;
- height: 14px;
- }
+ top: 16px;
+ right: 16px;
}
.dialog-header {
- padding-top: 12px;
- padding-bottom: 12px;
+ padding: 32px 32px 16px 32px;
}
.dialog-content {
- padding-top: 12px;
- padding-bottom: 12px;
+ padding: 0 32px;
}
.dialog-actions {
- padding-top: 12px;
+ height: 81px;
+ box-sizing: border-box;
+ border-top: 1px solid $separator;
+ padding: 0 32px;
+ align-items: center;
+
display: flex;
> * {
margin-right: 16px;
}
- padding-bottom: 40px;
}
}
diff --git a/apps/red-ui/src/assets/styles/red-page-layout.scss b/apps/red-ui/src/assets/styles/red-page-layout.scss
index 37104d388..88a71654a 100644
--- a/apps/red-ui/src/assets/styles/red-page-layout.scss
+++ b/apps/red-ui/src/assets/styles/red-page-layout.scss
@@ -36,10 +36,6 @@ body {
.red-input-group {
width: 250px;
-
- input {
- margin-top: 0;
- }
}
}
}
@@ -145,6 +141,10 @@ body {
flex: 2;
}
+.mt-0 {
+ margin-top: 0 !important;
+}
+
.mt-5 {
margin-top: 5px;
}
diff --git a/apps/red-ui/src/assets/styles/red-text-styles.scss b/apps/red-ui/src/assets/styles/red-text-styles.scss
index d9f318bec..61963927a 100644
--- a/apps/red-ui/src/assets/styles/red-text-styles.scss
+++ b/apps/red-ui/src/assets/styles/red-text-styles.scss
@@ -18,9 +18,9 @@ a {
}
.heading-l {
- font-size: 18px;
+ font-size: 20px;
font-weight: 600;
- line-height: 22px;
+ line-height: 24px;
}
.heading {