diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts index 706020c4b..dd1db7c9c 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts @@ -83,7 +83,15 @@ export class AnnotationActionsComponent implements OnChanges { } get helpModeKey() { - return this.annotations[0]?.typeLabel?.split('.')[1]; + const type = this.annotations[0]?.typeLabel?.split('.')[1]; + const typeValue = this.annotations[0]?.typeValue; + if (type === 'hint' && (typeValue === 'formula' || typeValue === 'image')) { + return 'image'; + } + if (type === 'redaction' || type === 'manual-redaction') { + return 'redaction'; + } + return type; } ngOnChanges(): void { diff --git a/apps/red-ui/src/assets/help-mode/links.json b/apps/red-ui/src/assets/help-mode/links.json index beba01977..6cd868047 100644 --- a/apps/red-ui/src/assets/help-mode/links.json +++ b/apps/red-ui/src/assets/help-mode/links.json @@ -150,7 +150,7 @@ "fr": "" }, "hint_remove_from_dictionary": { - "en": "/en/index-en.html?contextId=hints_remove_from_dictionary", + "en": "/en/index-en.html?contextId=hint_remove_from_dictionary", "de": "", "it": "", "fr": "" @@ -252,7 +252,7 @@ "fr": "" }, "redaction_resize": { - "en": "/en/index-en.html?contextId=redaction_resize_redaction", + "en": "/en/index-en.html?contextId=redaction_resize", "de": "", "it": "", "fr": "" @@ -263,6 +263,12 @@ "it": "", "fr": "" }, + "hint_resize": { + "en": "/en/index-en.html?contextId=hint_resize", + "de": "", + "it": "", + "fr": "" + }, "skipped_force_redaction": { "en": "/en/index-en.html?contextId=skipped_force_redaction", "de": "", @@ -358,5 +364,53 @@ "de": "", "it": "", "fr": "" + }, + "image_resize": { + "en": "/en/index-en.html?contextId=image_resize", + "de": "", + "it": "", + "fr": "" + }, + "image_recategorize": { + "en": "/en/index-en.html?contextId=image_recategorize", + "de": "", + "it": "", + "fr": "" + }, + "image_hide": { + "en": "/en/index-en.html?contextId=image_hide", + "de": "", + "it": "", + "fr": "" + }, + "image_remove_only_here": { + "en": "/en/index-en.html?contextId=image_remove_only_here", + "de": "", + "it": "", + "fr": "" + }, + "redaction_remove_from_dictionary": { + "en": "/en/index-en.html?contextId=redaction_remove_from_dictionary", + "de": "", + "it": "", + "fr": "" + }, + "skipped_resize": { + "en": "/en/index-en.html?contextId=skipped_resize_redaction", + "de": "", + "it": "", + "fr": "" + }, + "skipped_recategorize": { + "en": "/en/index-en.html?contextId=skipped_recategorize_redaction", + "de": "", + "it": "", + "fr": "" + }, + "skipped_hide": { + "en": "/en/index-en.html?contextId=skipped_hide", + "de": "", + "it": "", + "fr": "" } } diff --git a/libs/common-ui b/libs/common-ui index d8c2a342b..fd9d62241 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit d8c2a342baa6acb330132c44000562bdd823f620 +Subproject commit fd9d622413547de842439e8d91ee4316f2facff1