diff --git a/.eslintrc.json b/.eslintrc.json index 67bcebc6d..5b73e4014 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -79,7 +79,6 @@ "accessibility": "no-public" } ], - "@typescript-eslint/member-ordering": "warn", "@typescript-eslint/naming-convention": [ "error", { @@ -133,6 +132,115 @@ "@typescript-eslint/no-floating-promises": "off", "@typescript-eslint/unbound-method": "off", "@typescript-eslint/restrict-template-expressions": "off", + "@typescript-eslint/member-ordering": [ + "warn", + { + "default": [ + // Index signature + "signature", + "call-signature", + // Fields + "#private-static-field", + "private-static-field", + "protected-static-field", + "public-static-field", + "#private-instance-field", + "private-instance-field", + "protected-instance-field", + "public-instance-field", + "private-decorated-field", + "protected-decorated-field", + "public-decorated-field", + "protected-abstract-field", + "public-abstract-field", + "#private-field", + "private-field", + "protected-field", + "public-field", + "static-field", + "instance-field", + "abstract-field", + "decorated-field", + "field", + // Static initialization + "static-initialization", + // Constructors + "public-constructor", + "protected-constructor", + "private-constructor", + "constructor", + // Getters + "public-static-get", + "protected-static-get", + "private-static-get", + "#private-static-get", + "public-decorated-get", + "protected-decorated-get", + "private-decorated-get", + "public-instance-get", + "protected-instance-get", + "private-instance-get", + "#private-instance-get", + "public-abstract-get", + "protected-abstract-get", + "public-get", + "protected-get", + "private-get", + "#private-get", + "static-get", + "instance-get", + "abstract-get", + "decorated-get", + "get", + // Setters + "public-static-set", + "protected-static-set", + "private-static-set", + "#private-static-set", + "public-decorated-set", + "protected-decorated-set", + "private-decorated-set", + "public-instance-set", + "protected-instance-set", + "private-instance-set", + "#private-instance-set", + "public-abstract-set", + "protected-abstract-set", + "public-set", + "protected-set", + "private-set", + "#private-set", + "static-set", + "instance-set", + "abstract-set", + "decorated-set", + "set", + // Methods + "public-static-method", + "protected-static-method", + "private-static-method", + "#private-static-method", + "public-decorated-method", + "protected-decorated-method", + "private-decorated-method", + "public-instance-method", + "protected-instance-method", + "private-instance-method", + "#private-instance-method", + "public-abstract-method", + "protected-abstract-method", + "public-method", + "protected-method", + "private-method", + "#private-method", + "static-method", + "instance-method", + "abstract-method", + "decorated-method", + "method" + ] + } + ], "arrow-body-style": "error", "arrow-parens": ["error", "as-needed"], "constructor-super": "error", diff --git a/apps/red-ui/src/app/modules/account/screens/preferences/preferences.component.ts b/apps/red-ui/src/app/modules/account/screens/preferences/preferences.component.ts index 025b79e6d..374513f11 100644 --- a/apps/red-ui/src/app/modules/account/screens/preferences/preferences.component.ts +++ b/apps/red-ui/src/app/modules/account/screens/preferences/preferences.component.ts @@ -10,7 +10,7 @@ interface PreferencesForm { // preferences autoExpandFiltersOnActions: boolean; displaySuggestionsInPreview: boolean; - openStructuredComponentManagementDialogByDefault: boolean; + openScmDialogByDefault: boolean; tableExtractionType: string; // warnings preferences unapprovedSuggestionsWarning: boolean; @@ -52,9 +52,7 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit { // preferences autoExpandFiltersOnActions: [this.userPreferenceService.getAutoExpandFiltersOnActions()], displaySuggestionsInPreview: [this.userPreferenceService.getDisplaySuggestionsInPreview()], - openStructuredComponentManagementDialogByDefault: [ - this.userPreferenceService.getOpenStructuredComponentManagementDialogByDefault(), - ], + openScmDialogByDefault: [this.userPreferenceService.getOpenScmDialogByDefault()], tableExtractionType: [this.userPreferenceService.getTableExtractionType()], // warnings preferences unapprovedSuggestionsWarning: [this.userPreferenceService.getUnapprovedSuggestionsWarning()], @@ -84,11 +82,8 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit { if (this.form.controls.displaySuggestionsInPreview.value !== this.userPreferenceService.getDisplaySuggestionsInPreview()) { await this.userPreferenceService.toggleDisplaySuggestionsInPreview(); } - if ( - this.form.controls.openStructuredComponentManagementDialogByDefault.value !== - this.userPreferenceService.getOpenStructuredComponentManagementDialogByDefault() - ) { - await this.userPreferenceService.toggleOpenStructuredComponentManagementDialogByDefault(); + if (this.form.controls.openScmDialogByDefault.value !== this.userPreferenceService.getOpenScmDialogByDefault()) { + await this.userPreferenceService.toggleOpenScmDialogByDefault(); } if (this.form.controls.unapprovedSuggestionsWarning.value !== this.userPreferenceService.getUnapprovedSuggestionsWarning()) { await this.userPreferenceService.toggleUnapprovedSuggestionsWarning(); @@ -119,8 +114,7 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit { this.form.patchValue({ autoExpandFiltersOnActions: this.userPreferenceService.getAutoExpandFiltersOnActions(), displaySuggestionsInPreview: this.userPreferenceService.getDisplaySuggestionsInPreview(), - openStructuredComponentManagementDialogByDefault: - this.userPreferenceService.getOpenStructuredComponentManagementDialogByDefault(), + openScmDialogByDefault: this.userPreferenceService.getOpenScmDialogByDefault(), tableExtractionType: this.userPreferenceService.getTableExtractionType(), unapprovedSuggestionsWarning: this.userPreferenceService.getUnapprovedSuggestionsWarning(), loadAllAnnotationsWarning: this.userPreferenceService.getBool(PreferencesKeys.loadAllAnnotationsWarning), diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.html b/apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.html similarity index 89% rename from apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.html rename to apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.html index f5ab00655..334fd13d2 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.html +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.html @@ -3,32 +3,32 @@
-
+
{{ 'rss-dialog.table-header.component' | translate }}
{{ 'rss-dialog.table-header.value' | translate }}
{{ 'rss-dialog.table-header.transformation-rule' | translate }}
{{ 'rss-dialog.table-header.annotation-references' | translate }}
- +
{{ entry.key }}
- Display by default when opening documents + {{ 'rss-dialog.actions.display-by-default' | translate }} +
diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.scss b/apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.scss similarity index 100% rename from apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.scss rename to apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.scss diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.ts similarity index 60% rename from apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.ts rename to apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.ts index 43c4ac4f4..ffbcbf946 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/rss-dialog/rss-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/structured-component-management-dialog/structured-component-management-dialog.component.ts @@ -1,34 +1,55 @@ +import { KeyValuePipe, NgForOf, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, Component, Inject, OnInit, signal } from '@angular/core'; -import { BaseDialogComponent, CircleButtonTypes } from '@iqser/common-ui'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { RssService } from '@services/files/rss.service'; -import { IFile, RssEntry, RssResult, WorkflowFileStatuses } from '@red/domain'; -import { firstValueFrom } from 'rxjs'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog'; +import { ReplaceNbspPipe } from '@common-ui/pipes/replace-nbsp.pipe'; +import { + BaseDialogComponent, + CircleButtonComponent, + CircleButtonTypes, + EditableInputComponent, + IconButtonComponent, +} from '@iqser/common-ui'; +import { TranslateModule } from '@ngx-translate/core'; +import { IFile, RssEntry, WorkflowFileStatuses } from '@red/domain'; import { FilesMapService } from '@services/files/files-map.service'; +import { RssService } from '@services/files/rss.service'; import { UserPreferenceService } from '@users/user-preference.service'; +import { firstValueFrom } from 'rxjs'; -interface RssData { +interface ScmData { file: IFile; } @Component({ - templateUrl: './rss-dialog.component.html', - styleUrls: ['./rss-dialog.component.scss'], + templateUrl: './structured-component-management-dialog.component.html', + styleUrls: ['./structured-component-management-dialog.component.scss'], + standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, + imports: [ + NgIf, + EditableInputComponent, + NgForOf, + KeyValuePipe, + TranslateModule, + CircleButtonComponent, + IconButtonComponent, + MatCheckboxModule, + MatDialogModule, + ReplaceNbspPipe, + ], }) -export class RssDialogComponent extends BaseDialogComponent implements OnInit { +export class StructuredComponentManagementDialogComponent extends BaseDialogComponent implements OnInit { readonly circleButtonTypes = CircleButtonTypes; - readonly rssData = signal(undefined); - readonly openStructuredComponentManagementDialogByDefault = signal( - this.userPreferences.getOpenStructuredComponentManagementDialogByDefault(), - ); + readonly scmData = signal(undefined); + readonly openScmDialogByDefault = signal(this.userPreferences.getOpenScmDialogByDefault()); constructor( - protected readonly _dialogRef: MatDialogRef, + protected readonly _dialogRef: MatDialogRef, private readonly _rssService: RssService, readonly userPreferences: UserPreferenceService, private readonly _filesMapService: FilesMapService, - @Inject(MAT_DIALOG_DATA) readonly data: RssData, + @Inject(MAT_DIALOG_DATA) readonly data: ScmData, ) { super(_dialogRef); } @@ -67,12 +88,10 @@ export class RssDialogComponent extends BaseDialogComponent implements OnInit { return this.exportJSON(); } - async toggleOpenStructuredComponentManagementDialogByDefault() { - await this.userPreferences.toggleOpenStructuredComponentManagementDialogByDefault(); + async toggleOpenScmDialogByDefault() { + await this.userPreferences.toggleOpenScmDialogByDefault(); await this.userPreferences.reload(); - this.openStructuredComponentManagementDialogByDefault.set( - this.userPreferences.getOpenStructuredComponentManagementDialogByDefault(), - ); + this.openScmDialogByDefault.set(this.userPreferences.getOpenScmDialogByDefault()); } async undo(originalKey: string) { @@ -90,7 +109,7 @@ export class RssDialogComponent extends BaseDialogComponent implements OnInit { async #loadData(): Promise { this._loadingService.start(); const rssData = await firstValueFrom(this._rssService.getRSSData(this.data.file.dossierId, this.data.file.fileId)); - this.rssData.set(rssData); + this.scmData.set(rssData); this._loadingService.stop(); } } diff --git a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts index b6d0ab6bc..845ddce7b 100644 --- a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.ts @@ -88,14 +88,8 @@ const textActions = [TextPopups.REDACT_TEXT, TextPopups.ADD_HINT, TextPopups.ADD }) export class FilePreviewScreenComponent extends AutoUnsubscribe - implements AfterViewInit, OnInit, OnDestroy, OnAttach, OnDetach, ComponentCanDeactivate { - @ViewChild('annotationFilterTemplate', { - read: TemplateRef, - static: false, - }) - private readonly _filterTemplate: TemplateRef; - @ViewChild('actionsWrapper', {static: false}) private readonly _actionsWrapper: ElementRef; - readonly #isDocumine = getConfig().IS_DOCUMINE; + implements AfterViewInit, OnInit, OnDestroy, OnAttach, OnDetach, ComponentCanDeactivate +{ readonly circleButtonTypes = CircleButtonTypes; readonly roles = Roles; fullScreen = false; @@ -103,6 +97,13 @@ export class FilePreviewScreenComponent readonly dossierId = this.state.dossierId; readonly lastAssignee = computed(() => this.getLastAssignee()); width: number; + @ViewChild('annotationFilterTemplate', { + read: TemplateRef, + static: false, + }) + private readonly _filterTemplate: TemplateRef; + @ViewChild('actionsWrapper', { static: false }) private readonly _actionsWrapper: ElementRef; + readonly #isDocumine = getConfig().IS_DOCUMINE; constructor( readonly pdf: PdfViewer, @@ -161,7 +162,7 @@ export class FilePreviewScreenComponent this.viewerReady().then(); } }, - {allowSignalWrites: true}, + { allowSignalWrites: true }, ); effect(() => { @@ -208,7 +209,7 @@ export class FilePreviewScreenComponent } getLastAssignee() { - const {isApproved, lastReviewer, lastApprover} = this.state.file(); + const { isApproved, lastReviewer, lastApprover } = this.state.file(); const isRss = this._iqserPermissionsService.has(this.roles.getRss); return isApproved ? (isRss ? lastReviewer : lastApprover) : lastReviewer; } @@ -329,7 +330,7 @@ export class FilePreviewScreenComponent this.#subscribeToFileUpdates(); if (file?.analysisRequired && !file.excludedFromAutomaticAnalysis) { - await this._reanalysisService.reanalyzeFilesForDossier([file], this.dossierId, {force: true}); + await this._reanalysisService.reanalyzeFilesForDossier([file], this.dossierId, { force: true }); } this.pdfProxyService.configureElements(); @@ -351,7 +352,7 @@ export class FilePreviewScreenComponent this._dialogService.openDialog( 'manualAnnotation', - {manualRedactionEntryWrapper, dossierId: this.dossierId, file}, + { manualRedactionEntryWrapper, dossierId: this.dossierId, file }, (result: { annotations: ManualRedactionEntryWrapper[]; dictionary?: Dictionary }) => { const selectedAnnotations = this._annotationManager.selected; if (selectedAnnotations.length > 0) { @@ -362,7 +363,7 @@ export class FilePreviewScreenComponent result.annotations.map(w => w.manualRedactionEntry).filter(e => e.positions[0].page <= file.numberOfPages), this.dossierId, this.fileId, - {dictionaryLabel: result.dictionary?.label}, + { dictionaryLabel: result.dictionary?.label }, ); const addAndReload$ = add$.pipe(switchMap(() => this._filesService.reload(this.dossierId, file))); @@ -445,13 +446,13 @@ export class FilePreviewScreenComponent } } - async downloadOriginalFile({cacheIdentifier, dossierId, fileId, filename}: File) { + async downloadOriginalFile({ cacheIdentifier, dossierId, fileId, filename }: File) { const originalFile = this._fileManagementService.downloadOriginal(dossierId, fileId, 'response', cacheIdentifier); download(await firstValueFrom(originalFile), filename); } openRSSView() { - this._dialogService.openDialog('rss', {file: this.state.file()}); + this._dialogService.openDialog('rss', { file: this.state.file() }); } loadAnnotations() { @@ -517,7 +518,7 @@ export class FilePreviewScreenComponent zip.file(filename + '_page' + currentPage + '_table' + (index + 1) + '.csv', blob); }); - saveAs(await zip.generateAsync({type: 'blob'}), filename + '_tables.zip'); + saveAs(await zip.generateAsync({ type: 'blob' }), filename + '_tables.zip'); this._loadingService.stop(); } @@ -597,7 +598,7 @@ export class FilePreviewScreenComponent async #updateQueryParamsPage(page: number): Promise { const extras: NavigationExtras = { - queryParams: {page}, + queryParams: { page }, queryParamsHandling: 'merge', replaceUrl: true, }; @@ -864,22 +865,19 @@ export class FilePreviewScreenComponent } #openRssDialogIfDefault() { - if ( - this.permissionsService.canViewRssDialog() && - this.userPreferenceService.getOpenStructuredComponentManagementDialogByDefault() - ) { + if (this.permissionsService.canViewRssDialog() && this.userPreferenceService.getOpenScmDialogByDefault()) { this.openRSSView(); } } #getRedactTextDialog(hint: boolean, data: RedactTextData) { if (this.#isDocumine) { - return this._iqserDialog.openDefault(AddAnnotationDialogComponent, {data}); + return this._iqserDialog.openDefault(AddAnnotationDialogComponent, { data }); } if (hint) { - return this._iqserDialog.openDefault(AddHintDialogComponent, {data}); + return this._iqserDialog.openDefault(AddHintDialogComponent, { data }); } - return this._iqserDialog.openDefault(RedactTextDialogComponent, {data}); + return this._iqserDialog.openDefault(RedactTextDialogComponent, { data }); } #getRedactTextDialogData(manualRedactionEntryWrapper: ManualRedactionEntryWrapper, file: File): RedactTextData { diff --git a/apps/red-ui/src/app/modules/file-preview/file-preview.module.ts b/apps/red-ui/src/app/modules/file-preview/file-preview.module.ts index 5d988dc88..6a4a66491 100644 --- a/apps/red-ui/src/app/modules/file-preview/file-preview.module.ts +++ b/apps/red-ui/src/app/modules/file-preview/file-preview.module.ts @@ -54,7 +54,6 @@ import { AnnotationReferenceComponent } from './components/annotation-reference/ import { ImportRedactionsDialogComponent } from './dialogs/import-redactions-dialog/import-redactions-dialog'; import { DocumentUnloadedGuard } from './services/document-unloaded.guard'; import { FilePreviewRightContainerComponent } from './components/right-container/file-preview-right-container.component'; -import { RssDialogComponent } from './dialogs/rss-dialog/rss-dialog.component'; import { ReadonlyBannerComponent } from './components/readonly-banner/readonly-banner.component'; import { SuggestionsService } from './services/suggestions.service'; import { PagesComponent } from './components/pages/pages.component'; @@ -94,7 +93,6 @@ const dialogs = [ AcceptRecommendationDialogComponent, DocumentInfoDialogComponent, ImportRedactionsDialogComponent, - RssDialogComponent, RedactTextDialogComponent, EditRedactionDialogComponent, EditAnnotationDialogComponent, diff --git a/apps/red-ui/src/app/modules/file-preview/services/file-preview-dialog.service.ts b/apps/red-ui/src/app/modules/file-preview/services/file-preview-dialog.service.ts index cc65e1cee..9f02fa3a8 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/file-preview-dialog.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/file-preview-dialog.service.ts @@ -7,7 +7,7 @@ import { ChangeLegalBasisDialogComponent } from '../dialogs/change-legal-basis-d import { RecategorizeImageDialogComponent } from '../dialogs/recategorize-image-dialog/recategorize-image-dialog.component'; import { ConfirmationDialogComponent, DialogConfig, DialogService } from '@iqser/common-ui'; import { HighlightActionDialogComponent } from '../dialogs/highlight-action-dialog/highlight-action-dialog.component'; -import { RssDialogComponent } from '../dialogs/rss-dialog/rss-dialog.component'; +import { StructuredComponentManagementDialogComponent } from '../dialogs/structured-component-management-dialog/structured-component-management-dialog.component'; type DialogType = | 'confirm' @@ -47,7 +47,7 @@ export class FilePreviewDialogService extends DialogService { component: HighlightActionDialogComponent, }, rss: { - component: RssDialogComponent, + component: StructuredComponentManagementDialogComponent, dialogConfig: { width: '90vw' }, }, }; diff --git a/apps/red-ui/src/app/users/user-preference.service.ts b/apps/red-ui/src/app/users/user-preference.service.ts index fedf90503..0a78f8e9a 100644 --- a/apps/red-ui/src/app/users/user-preference.service.ts +++ b/apps/red-ui/src/app/users/user-preference.service.ts @@ -10,7 +10,7 @@ export const PreferencesKeys = { displaySuggestionsInPreview: 'Display-Suggestions-In-Preview', unapprovedSuggestionsWarning: 'Unapproved-Suggestions-Warning', loadAllAnnotationsWarning: 'Load-All-Annotations-Warning', - openStructuredComponentManagementDialogByDefault: 'Open-Structured-Component-Management-By-Default', + openScmDialogByDefault: 'Open-Structured-Component-Management-By-Default', tableExtractionType: 'Table-Extraction-Type', } as const; @@ -55,13 +55,13 @@ export class UserPreferenceService extends IqserUserPreferenceService { await this.save(PreferencesKeys.autoExpandFiltersOnActions, nextValue); } - getOpenStructuredComponentManagementDialogByDefault(): boolean { - return this._getAttribute(PreferencesKeys.openStructuredComponentManagementDialogByDefault, 'false') === 'true'; + getOpenScmDialogByDefault(): boolean { + return this._getAttribute(PreferencesKeys.openScmDialogByDefault, 'false') === 'true'; } - async toggleOpenStructuredComponentManagementDialogByDefault(): Promise { - const nextValue = (!this.getOpenStructuredComponentManagementDialogByDefault()).toString(); - await this.save(PreferencesKeys.openStructuredComponentManagementDialogByDefault, nextValue); + async toggleOpenScmDialogByDefault(): Promise { + const nextValue = (!this.getOpenScmDialogByDefault()).toString(); + await this.save(PreferencesKeys.openScmDialogByDefault, nextValue); } getDisplaySuggestionsInPreview(): boolean { diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 0c862f349..d521c75fc 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -2199,6 +2199,7 @@ "actions": { "cancel-edit": "", "close": "", + "display-by-default": "", "edit": "", "export-json": "", "export-xml": "", diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index aabf77d85..98ef32760 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -2199,6 +2199,7 @@ "actions": { "cancel-edit": "Cancel", "close": "Close", + "display-by-default": "", "edit": "Edit", "export-json": "Export JSON", "export-xml": "Export XML", diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index eb48d50fa..d252a0fa5 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -2199,6 +2199,7 @@ "actions": { "cancel-edit": "", "close": "", + "display-by-default": "", "edit": "", "export-json": "", "export-xml": "", diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index 9ae67907d..2ced4855b 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -2199,6 +2199,7 @@ "actions": { "cancel-edit": "Cancel", "close": "Close", + "display-by-default": "Display by default when opening documents", "edit": "Edit", "export-json": "Export JSON", "export-xml": "Export XML", diff --git a/libs/common-ui b/libs/common-ui index 5a4ed98aa..c851ab139 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 5a4ed98aafcc92c437022664787677fcccaf04eb +Subproject commit c851ab1394fae4863d60424792ea1f8f8f83b1a8