From 1bcd1869f0bd298af10a768fa9b245f8fe93cfaf Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Wed, 14 Aug 2024 12:46:50 +0300 Subject: [PATCH 1/5] RED-9260 - Component Management UI --- .../component-definitions.component.html | 8 +++++--- .../component-definitions.component.scss | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.html b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.html index dbd2a0752..8ce3205f3 100644 --- a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.html @@ -50,9 +50,11 @@ icon="iqser:trash" > } - @if (selectedComponent?.id === component.id) { - - } + diff --git a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss index 54a237251..8581fbc36 100644 --- a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss +++ b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss @@ -38,6 +38,10 @@ .arrow-right { transform: scale(0.7); + + &.not-visible { + visibility: hidden; + } } } } From f85626a8e46baa5926b70ae2c0e616dd403f6d7d Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Thu, 15 Aug 2024 01:03:23 +0000 Subject: [PATCH 2/5] push back localazy update --- apps/red-ui/src/assets/i18n/redact/de.json | 1 + apps/red-ui/src/assets/i18n/scm/de.json | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 3bd76e860..f7f86b58b 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -2046,6 +2046,7 @@ "auto-expand-filters-on-action": "Filter ausgehend von meinen Aktionen automatisch anpassen", "help-mode-dialog": "Dialog zur Aktivierung des Hilfemodus", "load-all-annotations-warning": "Warnung bei gleichzeitigem Laden aller Annotationen in der Miniaturansicht", + "overwrite-file-option": "Preferred action when re-uploading of an already existing file", "table-extraction-type": "Art der Tabellenextraktion" }, "label": "Präferenzen", diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index b144759a5..89706a21c 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -2046,6 +2046,7 @@ "auto-expand-filters-on-action": "Auto expand filters on my actions", "help-mode-dialog": "Help Mode Dialog", "load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview", + "overwrite-file-option": "Preferred action when re-uploading of an already existing file", "table-extraction-type": "Table extraction type" }, "label": "Preferences", From c7e03043e00c49bba4dc24f38527100bdd5c4952 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Thu, 15 Aug 2024 09:15:03 +0300 Subject: [PATCH 3/5] RED-9890 - New created component-definition is not displayed in the list of component-definitions --- .../component-definitions.component.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss index 8581fbc36..85a10cd48 100644 --- a/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss +++ b/apps/red-ui/src/app/modules/admin/screens/component-definitions/component-definitions.component.scss @@ -49,6 +49,8 @@ .content-container { background-color: var(--iqser-grey-6); height: 100vh; + display: flex; + flex-direction: column; .content-header { display: flex; @@ -65,6 +67,7 @@ } .content { + flex: 1; display: flex; gap: 20px; overflow: hidden; @@ -72,7 +75,8 @@ .components-list { flex: 1; background-color: var(--iqser-white); - width: 100%; + display: flex; + flex-direction: column; .header { height: 30px; From 4e49d2d7a671120c1643c2e1e6b32823a788b72f Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Thu, 15 Aug 2024 09:48:00 +0300 Subject: [PATCH 4/5] WIP on master RED-9862 - Broken resize dialog for imported redaction from preview file with disabled auto-analysis on upload --- .../resize-redaction-dialog.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html index 2013a2410..5f33edd9e 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html @@ -27,7 +27,7 @@ {{ displayedDictionaryLabel }} - + {{ redaction.typeLabel }} From ea076869463cdbe7b6a32f85c5506ad6150b40d9 Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Fri, 16 Aug 2024 01:03:28 +0000 Subject: [PATCH 5/5] push back localazy update --- apps/red-ui/src/assets/i18n/redact/en.json | 2 +- apps/red-ui/src/assets/i18n/scm/de.json | 4 ++-- apps/red-ui/src/assets/i18n/scm/en.json | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index d983b134d..80fa632c2 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -1556,7 +1556,7 @@ "select-none": "None", "show-skipped": "Show skipped in document", "the-filters": "the filters", - "wrong-filters": "The selected filter combination is not possible. Please adjust or" + "wrong-filters": "No annotations for the selected filter combination. Please adjust or" }, "document-info": { "close": "Close document info", diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index 89706a21c..1fc741491 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -1548,7 +1548,7 @@ "jump-to-next": "Springe zu Nächster", "jump-to-previous": "Springe zu Vorheriger", "label": "Arbeitsvorrat", - "no-annotations": "There are no annotations on the selected page or for the selected component.", + "no-annotations": "There are no annotations for the selected component. \n", "page-is": "Diese Seite ist", "reset": "reset", "select": "Auswählen", @@ -1556,7 +1556,7 @@ "select-none": "Keine", "show-skipped": "Show skipped in document", "the-filters": "the filters", - "wrong-filters": "The selected filter combination is not possible. Please adjust or" + "wrong-filters": "No annotations for the selected filter combination. Please adjust or" }, "document-info": { "close": "Dokumenteninformation schließen", diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index 041e6eb67..bec6bbe33 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -1531,7 +1531,7 @@ }, "last-assignee": "Last assignee", "no-data": { - "title": "There are no annotations on this page." + "title": "This page does not contain annotations for the selected component or filter." }, "quick-nav": { "jump-first": "Jump to first page", @@ -1548,7 +1548,7 @@ "jump-to-next": "Jump to next", "jump-to-previous": "Jump to previous", "label": "Workload", - "no-annotations": "There are no annotations on the selected page or for the selected component.", + "no-annotations": "There are no annotations for the selected component. \n", "page-is": "This page is", "reset": "reset", "select": "Select", @@ -1556,7 +1556,7 @@ "select-none": "None", "show-skipped": "Show skipped in document", "the-filters": "the filters", - "wrong-filters": "The selected filter combination is not possible. Please adjust or" + "wrong-filters": "No annotations for the selected filter combination. Please adjust or" }, "document-info": { "close": "Close document info",