UI adjustments

This commit is contained in:
Timo 2020-11-26 09:50:17 +02:00
parent d374bb4483
commit cde3734844
3 changed files with 12 additions and 3 deletions

View File

@ -7,13 +7,13 @@
.breadcrumb {
text-decoration: none;
color: $grey-7;
color: $grey-1;
font-weight: 600;
width: fit-content;
white-space: nowrap;
&:last-child {
color: $accent;
color: $primary;
@include line-clamp(1);
}

View File

@ -195,6 +195,9 @@ export class AnnotationWrapper {
private static createContent(entry: any) {
let content = '';
if (entry.matchedRule) {
content += 'Rule ' + entry.matchedRule + ' matched \n\n';
}
if (entry.reason) {
content += entry.reason + '\n\n';
}

View File

@ -17,10 +17,11 @@ export interface RedactionLogEntry {
id?: string;
legalBasis?: string;
manual?: boolean;
manualRedactionType?: RedactionLogEntry.ManualRedactionTypeEnum;
matchedRule?: number;
positions?: Array<Rectangle>;
reason?: string;
redacted?: boolean;
manualRedactionType?: string;
section?: string;
sectionNumber?: number;
status?: RedactionLogEntry.StatusEnum;
@ -28,6 +29,11 @@ export interface RedactionLogEntry {
value?: string;
}
export namespace RedactionLogEntry {
export type ManualRedactionTypeEnum = 'ADD' | 'REMOVE';
export const ManualRedactionTypeEnum = {
ADD: 'ADD' as ManualRedactionTypeEnum,
REMOVE: 'REMOVE' as ManualRedactionTypeEnum
};
export type StatusEnum = 'REQUESTED' | 'APPROVED' | 'DECLINED';
export const StatusEnum = {
REQUESTED: 'REQUESTED' as StatusEnum,