RED-8638 - removed “Redaction/Hint added” tooltip text
This commit is contained in:
parent
ae27842ceb
commit
42fe183170
@ -63,7 +63,6 @@ export class AnnotationWrapper implements IListable {
|
||||
hasBeenForcedHint: boolean;
|
||||
hasBeenForcedRedaction: boolean;
|
||||
hasBeenRemovedByManualOverride: boolean;
|
||||
hasBeenAdded: boolean;
|
||||
isRemoved = false;
|
||||
isRemovedLocally = false;
|
||||
hiddenInWorkload = false;
|
||||
@ -270,7 +269,6 @@ export class AnnotationWrapper implements IListable {
|
||||
annotationWrapper.hasBeenRemovedByManualOverride = !!logEntry.manualChanges?.find(
|
||||
c => c.manualRedactionType === ManualRedactionTypes.REMOVE,
|
||||
);
|
||||
annotationWrapper.hasBeenAdded = !!logEntry.manualChanges?.find(c => c.manualRedactionType === ManualRedactionTypes.ADD);
|
||||
|
||||
const content = this.#createContent(annotationWrapper, logEntry, isDocumine);
|
||||
annotationWrapper.shortContent = this.#getShortContent(annotationWrapper, legalBasisList) || content;
|
||||
|
||||
@ -14,7 +14,7 @@ interface Engine {
|
||||
readonly translateParams?: Record<string, any>;
|
||||
}
|
||||
|
||||
export const Engines = {
|
||||
const Engines = {
|
||||
DICTIONARY: 'DICTIONARY',
|
||||
NER: 'NER',
|
||||
RULE: 'RULE',
|
||||
@ -29,7 +29,6 @@ function isBasedOn(annotation: AnnotationWrapper, engineName: EngineName) {
|
||||
}
|
||||
|
||||
const changesProperties: KeysOf<AnnotationWrapper>[] = [
|
||||
'hasBeenAdded',
|
||||
'hasBeenResized',
|
||||
'hasBeenRecategorized',
|
||||
'hasLegalBasisChanged',
|
||||
|
||||
@ -3,7 +3,6 @@ import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
import { KeysOf } from '@iqser/common-ui/lib/utils';
|
||||
|
||||
export const annotationChangesTranslations: { [key in KeysOf<AnnotationWrapper>]?: string } = {
|
||||
hasBeenAdded: _('annotation-changes.added'),
|
||||
hasBeenResized: _('annotation-changes.resized'),
|
||||
hasBeenRecategorized: _('annotation-changes.recategorized'),
|
||||
hasLegalBasisChanged: _('annotation-changes.legal-basis'),
|
||||
|
||||
@ -340,7 +340,6 @@
|
||||
"undo": "Rückgängig"
|
||||
},
|
||||
"annotation-changes": {
|
||||
"added": "",
|
||||
"forced-hint": "Hint forced",
|
||||
"forced-redaction": "Redaction forced",
|
||||
"header": "Manuelle Änderungen:",
|
||||
@ -1262,6 +1261,15 @@
|
||||
"heading": "Edit entity"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"info": {
|
||||
"actions": {
|
||||
"revert": "Revert",
|
||||
"save": "Save changes"
|
||||
},
|
||||
"heading": "Edit entity"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"deleted-entity": {
|
||||
"dossier": {
|
||||
|
||||
@ -340,7 +340,6 @@
|
||||
"undo": "Undo"
|
||||
},
|
||||
"annotation-changes": {
|
||||
"added": "Redaction/Hint added",
|
||||
"forced-hint": "Hint forced",
|
||||
"forced-redaction": "Redaction forced",
|
||||
"header": "Manual changes:",
|
||||
|
||||
@ -340,7 +340,6 @@
|
||||
"undo": "Rückgängig"
|
||||
},
|
||||
"annotation-changes": {
|
||||
"added": "",
|
||||
"forced-hint": "Hint forced",
|
||||
"forced-redaction": "Annotation forced",
|
||||
"header": "Manuelle Änderungen:",
|
||||
@ -1262,6 +1261,15 @@
|
||||
"heading": "Edit entity"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"info": {
|
||||
"actions": {
|
||||
"revert": "Revert",
|
||||
"save": "Save changes"
|
||||
},
|
||||
"heading": "Edit entity"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"deleted-entity": {
|
||||
"dossier": {
|
||||
|
||||
@ -340,7 +340,6 @@
|
||||
"undo": "Undo"
|
||||
},
|
||||
"annotation-changes": {
|
||||
"added": "Redaction/Hint added",
|
||||
"forced-hint": "Hint forced",
|
||||
"forced-redaction": "Annotation forced",
|
||||
"header": "Manual changes:",
|
||||
|
||||
@ -11,7 +11,6 @@ export const LogEntryEngines = {
|
||||
export type LogEntryEngine = ValuesOf<typeof LogEntryEngines>;
|
||||
|
||||
export const ManualRedactionTypes = {
|
||||
ADD: 'ADD',
|
||||
ADD_LOCALLY: 'ADD_LOCALLY',
|
||||
ADD_TO_DICTIONARY: 'ADD_TO_DICTIONARY',
|
||||
REMOVE: 'REMOVE',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user