From 613834b5b74902abebecdaffce2ef5e231c2b5ec Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Tue, 13 Dec 2022 15:04:57 +0200 Subject: [PATCH] RED-5763: Fixed help mode links overlay overlapping with the user menu. --- .../default-colors-screen.component.html | 1 + .../dossier-attributes-listing-screen.component.html | 3 ++- .../entities-listing-screen.component.html | 3 ++- .../file-attributes-listing-screen.component.html | 4 +++- .../license/license-screen/license-screen.component.ts | 10 +++++++++- .../permissions-screen.component.html | 1 + .../reports-screen/reports-screen.component.html | 1 + .../user-listing/user-listing-screen.component.ts | 2 ++ .../watermarks-listing-screen.component.html | 3 ++- .../dossier-template-actions.component.html | 2 +- 10 files changed, 24 insertions(+), 6 deletions(-) diff --git a/apps/red-ui/src/app/modules/admin/screens/default-colors/default-colors-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/default-colors/default-colors-screen.component.html index 12a96582e..ed94a0c5c 100644 --- a/apps/red-ui/src/app/modules/admin/screens/default-colors/default-colors-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/default-colors/default-colors-screen.component.html @@ -41,6 +41,7 @@ (action)="openEditColorDialog($event, entity)" *allow="roles.colors.write; if: currentUser.isAdmin" [iqserHelpMode]="'default_colors'" + [overlappingElement]="'USER_MENU'" [tooltip]="'default-colors-screen.action.edit' | translate" [type]="circleButtonTypes.dark" icon="iqser:edit" diff --git a/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html index dd3da97cf..a57b2bc0a 100644 --- a/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html @@ -59,6 +59,7 @@ (action)="openAddEditAttributeDialog($event)" *ngIf="canEditDossierAttributes" [iqserHelpMode]="'create_new_dossier_attribute'" + [overlappingElement]="'USER_MENU'" [label]="'dossier-attributes-listing.add-new' | translate" [type]="iconButtonTypes.primary" icon="iqser:plus" @@ -88,7 +89,7 @@
-
+
-
+
-
+
diff --git a/apps/red-ui/src/app/modules/admin/screens/reports/reports-screen/reports-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/reports/reports-screen/reports-screen.component.html index 3ca03ab33..3000b9078 100644 --- a/apps/red-ui/src/app/modules/admin/screens/reports/reports-screen/reports-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/reports/reports-screen/reports-screen.component.html @@ -25,6 +25,7 @@ (action)="fileInput.click()" *allow="roles.reportTemplates.upload; if: currentUser.isAdmin" [iqserHelpMode]="'reports'" + [overlappingElement]="'USER_MENU'" [tooltip]="'reports-screen.upload-document' | translate" icon="iqser:upload" > diff --git a/apps/red-ui/src/app/modules/admin/screens/user-listing/user-listing-screen.component.ts b/apps/red-ui/src/app/modules/admin/screens/user-listing/user-listing-screen.component.ts index 3de51afa8..afcc8d5ce 100644 --- a/apps/red-ui/src/app/modules/admin/screens/user-listing/user-listing-screen.component.ts +++ b/apps/red-ui/src/app/modules/admin/screens/user-listing/user-listing-screen.component.ts @@ -12,6 +12,7 @@ import { listingProvidersFactory, LoadingService, NestedFilter, + OverlappingElements, SearchPositions, TableColumnConfig, } from '@iqser/common-ui'; @@ -62,6 +63,7 @@ export class UserListingScreenComponent extends ListingComponent implement icon: 'iqser:plus', disabled$: this._userService.currentUser$.pipe(map(user => !user.isAdmin)), helpModeKey: 'create_user', + overlappingElement: OverlappingElements.USER_MENU, }, ]; collapsedDetails = false; diff --git a/apps/red-ui/src/app/modules/admin/screens/watermark/watermarks-listing/watermarks-listing-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/watermark/watermarks-listing/watermarks-listing-screen.component.html index cdaadddd8..81f615ff2 100644 --- a/apps/red-ui/src/app/modules/admin/screens/watermark/watermarks-listing/watermarks-listing-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/watermark/watermarks-listing/watermarks-listing-screen.component.html @@ -14,6 +14,7 @@
-
+
-
+