diff --git a/e2e/playwright/actions/src/tests/create-library.spec.ts b/e2e/playwright/actions/src/tests/create-library.spec.ts index a54047e4e..3b9b00a67 100644 --- a/e2e/playwright/actions/src/tests/create-library.spec.ts +++ b/e2e/playwright/actions/src/tests/create-library.spec.ts @@ -89,14 +89,12 @@ test.describe('Create Libraries ', () => { test('[C280025] Create a public library', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; await myLibrariesPage.selectCreateLibrary(); await libraryDialog.getLabelText(libraryNameLabel).fill(randomLibraryName); await expect(libraryDialog.getLabelText(libraryNameLabel)).toHaveValue(randomLibraryName); await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); await libraryDialog.createButton.click(); - await expect(libraryBreadcrumb.getBreadcrumbItem(randomLibraryName)).toBeVisible(); await myLibrariesPage.navigate(); await libraryTable.goThroughPagesLookingForRowWithName(randomLibraryName); @@ -108,11 +106,9 @@ test.describe('Create Libraries ', () => { test('[C289880] Create a moderated library', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; await myLibrariesPage.selectCreateLibrary(); await libraryDialog.createLibraryWithNameAndId(randomLibraryName, randomLibraryId, null, moderatedVisibility); - await expect(libraryBreadcrumb.getBreadcrumbItem(randomLibraryName)).toBeVisible(); await myLibrariesPage.navigate(); await libraryTable.goThroughPagesLookingForRowWithName(randomLibraryName); @@ -124,11 +120,9 @@ test.describe('Create Libraries ', () => { test('[C289881] Create a private library', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; await myLibrariesPage.selectCreateLibrary(); await libraryDialog.createLibraryWithNameAndId(randomLibraryName, randomLibraryId, null, privateVisibility); - await expect(libraryBreadcrumb.getBreadcrumbItem(randomLibraryName)).toBeVisible(); await myLibrariesPage.navigate(); await libraryTable.goThroughPagesLookingForRowWithName(randomLibraryName); @@ -140,13 +134,11 @@ test.describe('Create Libraries ', () => { test('[C289882] Create a library with a given ID and description', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; const libraryViewDetails = myLibrariesPage.acaHeader.viewDetails; const libraryDetails = myLibrariesPage.libraryDetails; await myLibrariesPage.selectCreateLibrary(); await libraryDialog.createLibraryWithNameAndId(randomLibraryName, randomLibraryId, randomLibraryDescription); - await expect(libraryBreadcrumb.getBreadcrumbItem(randomLibraryName)).toBeVisible(); await myLibrariesPage.navigate(); await libraryTable.goThroughPagesLookingForRowWithName(randomLibraryName); @@ -193,7 +185,6 @@ test.describe('Create Libraries ', () => { test('[C280029] Cancel button', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; await myLibrariesPage.selectCreateLibrary(); await expect(libraryDialog.getDialogTitle(libraryDialogTitle)).toBeVisible(); @@ -201,7 +192,6 @@ test.describe('Create Libraries ', () => { await libraryDialog.cancelButton.click(); await expect(libraryDialog.getDialogTitle(libraryDialogTitle)).toBeHidden(); - await expect(libraryBreadcrumb.getBreadcrumbItem(randomLibraryName)).toHaveCount(0); await expect(libraryTable.getRowByName(randomLibraryName)).toHaveCount(0); }); @@ -243,15 +233,12 @@ test.describe('Create Libraries ', () => { test('[C280030] Create 2 libraries with same name but different IDs', async ({ myLibrariesPage }) => { const libraryDialog = myLibrariesPage.libraryDialog; const libraryTable = myLibrariesPage.dataTable; - const libraryBreadcrumb = myLibrariesPage.breadcrumb; const libraryName = commonLibraryName + ' (' + commonLibraryId + ')'; const libraryName2 = commonLibraryName + ' (' + randomLibraryId + ')'; await myLibrariesPage.selectCreateLibrary(); await libraryDialog.createLibraryWithNameAndId(commonLibraryName, randomLibraryId); - await expect(libraryBreadcrumb.getBreadcrumbItem(commonLibraryName)).toBeVisible(); - await myLibrariesPage.navigate(); await libraryTable.goThroughPagesLookingForRowWithName(libraryName); await expect(libraryTable.getRowByName(libraryName)).toBeVisible(); diff --git a/e2e/protractor/suites/navigation/breadcrumb.test.ts b/e2e/protractor/suites/navigation/breadcrumb.test.ts index e0607408f..5e06a1231 100755 --- a/e2e/protractor/suites/navigation/breadcrumb.test.ts +++ b/e2e/protractor/suites/navigation/breadcrumb.test.ts @@ -96,36 +96,6 @@ describe('Breadcrumb', () => { await verifyBreadcrumb(1, 'Personal Files'); }); - it('[C260966] My Libraries breadcrumb main node', async () => { - await page.goToMyLibrariesAndWait(); - await verifyBreadcrumb(1, 'My Libraries'); - }); - - it('[C289891] Favorite Libraries breadcrumb main node', async () => { - await page.goToFavoriteLibrariesAndWait(); - await verifyBreadcrumb(1, 'Favorite Libraries'); - }); - - it('[C260971] Recent Files breadcrumb main node', async () => { - await page.clickRecentFiles(); - await verifyBreadcrumb(1, 'Recent Files'); - }); - - it('[C260972] Shared Files breadcrumb main node', async () => { - await page.clickSharedFiles(); - await verifyBreadcrumb(1, 'Shared Files'); - }); - - it('[C260973] Favorites breadcrumb main node', async () => { - await page.clickFavorites(); - await verifyBreadcrumb(1, 'Favorites'); - }); - - it('[C260974] Trash breadcrumb main node', async () => { - await page.clickTrash(); - await verifyBreadcrumb(1, 'Trash'); - }); - it('[C260965] Personal Files breadcrumb for a folder hierarchy', async () => { await page.clickPersonalFilesAndWait(); await page.dataTable.doubleClickOnRowByName(parent); diff --git a/projects/aca-content/assets/i18n/ar.json b/projects/aca-content/assets/i18n/ar.json index 5464b385b..0237bbf44 100644 --- a/projects/aca-content/assets/i18n/ar.json +++ b/projects/aca-content/assets/i18n/ar.json @@ -408,8 +408,7 @@ "VERSIONS": "الإصدارات", "COMMENTS": "تعليقات", "PERMISSIONS": "أذونات", - "EXPAND": "يوسع", - "CLOSE_LIBRARY": "أغلق المكتبة" + "EXPAND": "يوسع" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/cs.json b/projects/aca-content/assets/i18n/cs.json index 6132213ff..7615a0612 100644 --- a/projects/aca-content/assets/i18n/cs.json +++ b/projects/aca-content/assets/i18n/cs.json @@ -408,8 +408,7 @@ "VERSIONS": "Verze", "COMMENTS": "Poznámky", "PERMISSIONS": "Oprávnění", - "EXPAND": "Rozbalit", - "CLOSE_LIBRARY": "Close Library" + "EXPAND": "Rozbalit" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/da.json b/projects/aca-content/assets/i18n/da.json index 99d2f9a0d..ca0ac1ac2 100644 --- a/projects/aca-content/assets/i18n/da.json +++ b/projects/aca-content/assets/i18n/da.json @@ -408,8 +408,7 @@ "VERSIONS": "Versioner", "COMMENTS": "Kommentarer", "PERMISSIONS": "Tilladelser", - "EXPAND": "Udvid", - "CLOSE_LIBRARY": "Luk bibliotek" + "EXPAND": "Udvid" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/de.json b/projects/aca-content/assets/i18n/de.json index e3fc043a5..e83526796 100644 --- a/projects/aca-content/assets/i18n/de.json +++ b/projects/aca-content/assets/i18n/de.json @@ -408,8 +408,7 @@ "VERSIONS": "Versionen", "COMMENTS": "Kommentare", "PERMISSIONS": "Berechtigungen", - "EXPAND": "Erweitern", - "CLOSE_LIBRARY": "Bibliothek schließen" + "EXPAND": "Erweitern" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/en.json b/projects/aca-content/assets/i18n/en.json index 271f149b1..9ca3770f9 100644 --- a/projects/aca-content/assets/i18n/en.json +++ b/projects/aca-content/assets/i18n/en.json @@ -401,6 +401,7 @@ }, "INFO_DRAWER": { "TITLE": "Details", + "CLOSE": "Close", "DATA_LOADING": "Data is loading", "TABS": { "PROPERTIES": "Properties", @@ -408,8 +409,7 @@ "VERSIONS": "Versions", "COMMENTS": "Comments", "PERMISSIONS": "Permissions", - "EXPAND": "Expand", - "CLOSE_LIBRARY": "Close Library" + "EXPAND": "Expand" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/es.json b/projects/aca-content/assets/i18n/es.json index a8f71a2be..910f8b93d 100644 --- a/projects/aca-content/assets/i18n/es.json +++ b/projects/aca-content/assets/i18n/es.json @@ -408,8 +408,7 @@ "VERSIONS": "Versiones", "COMMENTS": "Comentarios", "PERMISSIONS": "Permisos", - "EXPAND": "Ampliar", - "CLOSE_LIBRARY": "Cerrar biblioteca" + "EXPAND": "Ampliar" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/fi.json b/projects/aca-content/assets/i18n/fi.json index 2be115e85..003c5faab 100644 --- a/projects/aca-content/assets/i18n/fi.json +++ b/projects/aca-content/assets/i18n/fi.json @@ -408,8 +408,7 @@ "VERSIONS": "Versiot", "COMMENTS": "Kommentit", "PERMISSIONS": "Oikeudet", - "EXPAND": "Laajenna", - "CLOSE_LIBRARY": "Sulje kirjasto" + "EXPAND": "Laajenna" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/fr.json b/projects/aca-content/assets/i18n/fr.json index 8dc4ad224..506c9661d 100644 --- a/projects/aca-content/assets/i18n/fr.json +++ b/projects/aca-content/assets/i18n/fr.json @@ -408,8 +408,7 @@ "VERSIONS": "Versions", "COMMENTS": "Commentaires", "PERMISSIONS": "Permissions", - "EXPAND": "Développer", - "CLOSE_LIBRARY": "Fermer la bibliothèque" + "EXPAND": "Développer" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/it.json b/projects/aca-content/assets/i18n/it.json index 5fb1d6aa7..9798f277b 100644 --- a/projects/aca-content/assets/i18n/it.json +++ b/projects/aca-content/assets/i18n/it.json @@ -408,8 +408,7 @@ "VERSIONS": "Versioni", "COMMENTS": "Commenti", "PERMISSIONS": "Autorizzazioni", - "EXPAND": "Espandi", - "CLOSE_LIBRARY": "Chiudi libreria" + "EXPAND": "Espandi" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/ja.json b/projects/aca-content/assets/i18n/ja.json index 20c65d5a2..83643447e 100644 --- a/projects/aca-content/assets/i18n/ja.json +++ b/projects/aca-content/assets/i18n/ja.json @@ -408,8 +408,7 @@ "VERSIONS": "バージョン", "COMMENTS": "コメント", "PERMISSIONS": "権限", - "EXPAND": "展開", - "CLOSE_LIBRARY": "ライブラリを閉じる" + "EXPAND": "展開" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/nb.json b/projects/aca-content/assets/i18n/nb.json index 635fdcca0..2ebf970e3 100644 --- a/projects/aca-content/assets/i18n/nb.json +++ b/projects/aca-content/assets/i18n/nb.json @@ -408,8 +408,7 @@ "VERSIONS": "Versjoner", "COMMENTS": "Kommentarer", "PERMISSIONS": "Tillatelser", - "EXPAND": "Utvid", - "CLOSE_LIBRARY": "Lukk bibliotek" + "EXPAND": "Utvid" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/nl.json b/projects/aca-content/assets/i18n/nl.json index 153e915fa..563f527db 100644 --- a/projects/aca-content/assets/i18n/nl.json +++ b/projects/aca-content/assets/i18n/nl.json @@ -408,8 +408,7 @@ "VERSIONS": "Versies", "COMMENTS": "Opmerkingen", "PERMISSIONS": "Rechten", - "EXPAND": "Uitvouwen", - "CLOSE_LIBRARY": "Bibliotheek sluiten" + "EXPAND": "Uitvouwen" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/pl.json b/projects/aca-content/assets/i18n/pl.json index 448407b09..2a17ce47c 100644 --- a/projects/aca-content/assets/i18n/pl.json +++ b/projects/aca-content/assets/i18n/pl.json @@ -408,8 +408,7 @@ "VERSIONS": "Wersje", "COMMENTS": "Komentarze", "PERMISSIONS": "Uprawnienia", - "EXPAND": "Rozwiń", - "CLOSE_LIBRARY": "Zamknij bibliotekę" + "EXPAND": "Rozwiń" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/pt-BR.json b/projects/aca-content/assets/i18n/pt-BR.json index a2768ce94..9fca98b4d 100644 --- a/projects/aca-content/assets/i18n/pt-BR.json +++ b/projects/aca-content/assets/i18n/pt-BR.json @@ -408,8 +408,7 @@ "VERSIONS": "Versões", "COMMENTS": "Comentários", "PERMISSIONS": "Permissões", - "EXPAND": "Expandir", - "CLOSE_LIBRARY": "Fechar biblioteca" + "EXPAND": "Expandir" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/ru.json b/projects/aca-content/assets/i18n/ru.json index 0f9da8f4f..d8cc5c93e 100644 --- a/projects/aca-content/assets/i18n/ru.json +++ b/projects/aca-content/assets/i18n/ru.json @@ -408,8 +408,7 @@ "VERSIONS": "Версии", "COMMENTS": "Комментарии", "PERMISSIONS": "Разрешения", - "EXPAND": "Развернуть", - "CLOSE_LIBRARY": "Закрыть библиотеку" + "EXPAND": "Развернуть" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/sv.json b/projects/aca-content/assets/i18n/sv.json index 02c28539f..4060c4e69 100644 --- a/projects/aca-content/assets/i18n/sv.json +++ b/projects/aca-content/assets/i18n/sv.json @@ -408,8 +408,7 @@ "VERSIONS": "Versioner", "COMMENTS": "Kommentarer", "PERMISSIONS": "Behörigheter", - "EXPAND": "Expandera", - "CLOSE_LIBRARY": "Stäng bibliotek" + "EXPAND": "Expandera" } }, "TOOLTIPS": { diff --git a/projects/aca-content/assets/i18n/zh-CN.json b/projects/aca-content/assets/i18n/zh-CN.json index b658f8c04..6f5ddb131 100644 --- a/projects/aca-content/assets/i18n/zh-CN.json +++ b/projects/aca-content/assets/i18n/zh-CN.json @@ -408,8 +408,7 @@ "VERSIONS": "版本", "COMMENTS": "注释", "PERMISSIONS": "权限", - "EXPAND": "展开", - "CLOSE_LIBRARY": "关闭库" + "EXPAND": "展开" } }, "TOOLTIPS": { diff --git a/projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.html b/projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.html index bfddaad16..6e81bfb21 100644 --- a/projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.html +++ b/projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.html @@ -6,7 +6,7 @@ arrow_back - +

{{ 'ACA_FOLDER_RULES.ACTIONS.MANAGE_RULES' | translate }}

@@ -22,8 +22,7 @@ folder - +

{{ (folderInfo$ | async).name }}:{{'ACA_FOLDER_RULES.MANAGE_RULES.TOOLBAR.BREADCRUMB.RULES' | translate}}

{{ 'APP.INFO_DRAWER.TITLE' | translate }}
-
- -
+ - + - + + + - + + + - + + + @@ -40,5 +49,5 @@ - + diff --git a/projects/aca-content/src/lib/components/details/details.component.scss b/projects/aca-content/src/lib/components/details/details.component.scss index c67c6ae44..873bfb1bc 100644 --- a/projects/aca-content/src/lib/components/details/details.component.scss +++ b/projects/aca-content/src/lib/components/details/details.component.scss @@ -1,9 +1,23 @@ +app-details-manager { + .aca-close-details-button { + margin-right: 15px; + margin-top: 2px; + outline: none; + border-radius: 4px; + + &:focus-visible { + outline: 2px solid var(--theme-blue-button-color); + border-radius: 4px; + } + } +} + .acs-details-container { background-color: var(--theme-card-background-color); width: 100%; } -.adw-details-tabs { +.aca-details-tabs { margin-top: 40px; height: calc(100% - 80px); @@ -21,10 +35,6 @@ display: flex; align-items: center; justify-content: space-between; - - .acs-close-members-container { - margin-right: 15px; - } } .acs-details-breadcrumb { diff --git a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html index 5fa36ff10..061a42253 100644 --- a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html +++ b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.ts b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.ts index 176a2e418..d2d247960 100644 --- a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.ts +++ b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.ts @@ -37,14 +37,14 @@ import { NavigateLibraryAction } from '@alfresco/aca-shared/store'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule, UserPreferencesService } from '@alfresco/adf-core'; import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DocumentListDirective } from '../../directives/document-list.directive'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ standalone: true, imports: [ CommonModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, DocumentListDirective, @@ -55,7 +55,8 @@ import { DocumentListDirective } from '../../directives/document-list.directive' PaginationModule, InfoDrawerComponent, ToolbarActionComponent, - PageLayoutComponent + PageLayoutComponent, + TranslateModule ], templateUrl: './favorite-libraries.component.html', encapsulation: ViewEncapsulation.None diff --git a/projects/aca-content/src/lib/components/favorites/favorites.component.html b/projects/aca-content/src/lib/components/favorites/favorites.component.html index 9b031cb50..29afce483 100644 --- a/projects/aca-content/src/lib/components/favorites/favorites.component.html +++ b/projects/aca-content/src/lib/components/favorites/favorites.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.FAVORITES.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/favorites/favorites.component.ts b/projects/aca-content/src/lib/components/favorites/favorites.component.ts index 0a788ea4e..eb2dc3106 100644 --- a/projects/aca-content/src/lib/components/favorites/favorites.component.ts +++ b/projects/aca-content/src/lib/components/favorites/favorites.component.ts @@ -36,15 +36,15 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { debounceTime, map } from 'rxjs/operators'; import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule } from '@alfresco/adf-core'; import { DocumentListDirective } from '../../directives/document-list.directive'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ standalone: true, imports: [ CommonModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, DocumentListDirective, @@ -56,7 +56,8 @@ import { DocumentListDirective } from '../../directives/document-list.directive' PaginationDirective, InfoDrawerComponent, ToolbarActionComponent, - PageLayoutComponent + PageLayoutComponent, + TranslateModule ], templateUrl: './favorites.component.html', encapsulation: ViewEncapsulation.None diff --git a/projects/aca-content/src/lib/components/libraries/libraries.component.html b/projects/aca-content/src/lib/components/libraries/libraries.component.html index 188a481b0..77890dad1 100644 --- a/projects/aca-content/src/lib/components/libraries/libraries.component.html +++ b/projects/aca-content/src/lib/components/libraries/libraries.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/libraries/libraries.component.ts b/projects/aca-content/src/lib/components/libraries/libraries.component.ts index 8b13268aa..4a8b7063f 100644 --- a/projects/aca-content/src/lib/components/libraries/libraries.component.ts +++ b/projects/aca-content/src/lib/components/libraries/libraries.component.ts @@ -36,15 +36,15 @@ import { } from '@alfresco/aca-shared'; import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule } from '@alfresco/adf-core'; import { DocumentListDirective } from '../../directives/document-list.directive'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ standalone: true, imports: [ CommonModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, DocumentListDirective, @@ -56,7 +56,8 @@ import { DocumentListDirective } from '../../directives/document-list.directive' PaginationDirective, InfoDrawerComponent, ToolbarActionComponent, - PageLayoutComponent + PageLayoutComponent, + TranslateModule ], templateUrl: './libraries.component.html', encapsulation: ViewEncapsulation.None diff --git a/projects/aca-content/src/lib/components/recent-files/recent-files.component.html b/projects/aca-content/src/lib/components/recent-files/recent-files.component.html index 603a3aee6..4c939b197 100644 --- a/projects/aca-content/src/lib/components/recent-files/recent-files.component.html +++ b/projects/aca-content/src/lib/components/recent-files/recent-files.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.RECENT.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/recent-files/recent-files.component.ts b/projects/aca-content/src/lib/components/recent-files/recent-files.component.ts index 95abdafae..883a9ec4e 100644 --- a/projects/aca-content/src/lib/components/recent-files/recent-files.component.ts +++ b/projects/aca-content/src/lib/components/recent-files/recent-files.component.ts @@ -35,15 +35,15 @@ import { } from '@alfresco/aca-shared'; import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule } from '@alfresco/adf-core'; import { DocumentListDirective } from '../../directives/document-list.directive'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ standalone: true, imports: [ CommonModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, DocumentListDirective, @@ -55,7 +55,8 @@ import { DocumentListDirective } from '../../directives/document-list.directive' PaginationDirective, InfoDrawerComponent, ToolbarActionComponent, - PageLayoutComponent + PageLayoutComponent, + TranslateModule ], templateUrl: './recent-files.component.html', encapsulation: ViewEncapsulation.None diff --git a/projects/aca-content/src/lib/components/shared-files/shared-files.component.html b/projects/aca-content/src/lib/components/shared-files/shared-files.component.html index 083381569..51ede34d6 100644 --- a/projects/aca-content/src/lib/components/shared-files/shared-files.component.html +++ b/projects/aca-content/src/lib/components/shared-files/shared-files.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.SHARED.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/shared-files/shared-files.component.ts b/projects/aca-content/src/lib/components/shared-files/shared-files.component.ts index 03d1ed148..3cf859423 100644 --- a/projects/aca-content/src/lib/components/shared-files/shared-files.component.ts +++ b/projects/aca-content/src/lib/components/shared-files/shared-files.component.ts @@ -36,15 +36,15 @@ import { } from '@alfresco/aca-shared'; import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule } from '@alfresco/adf-core'; import { DocumentListDirective } from '../../directives/document-list.directive'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ standalone: true, imports: [ CommonModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, DocumentListDirective, @@ -56,7 +56,8 @@ import { DocumentListDirective } from '../../directives/document-list.directive' InfoDrawerComponent, PaginationDirective, ToolbarActionComponent, - PageLayoutComponent + PageLayoutComponent, + TranslateModule ], templateUrl: './shared-files.component.html', encapsulation: ViewEncapsulation.None diff --git a/projects/aca-content/src/lib/components/trashcan/trashcan.component.html b/projects/aca-content/src/lib/components/trashcan/trashcan.component.html index c71e6e0ad..0853ba0e0 100644 --- a/projects/aca-content/src/lib/components/trashcan/trashcan.component.html +++ b/projects/aca-content/src/lib/components/trashcan/trashcan.component.html @@ -1,6 +1,6 @@
- +

{{ 'APP.BROWSE.TRASHCAN.TITLE' | translate }}

diff --git a/projects/aca-content/src/lib/components/trashcan/trashcan.component.ts b/projects/aca-content/src/lib/components/trashcan/trashcan.component.ts index 824afe1af..3ebf96044 100644 --- a/projects/aca-content/src/lib/components/trashcan/trashcan.component.ts +++ b/projects/aca-content/src/lib/components/trashcan/trashcan.component.ts @@ -28,7 +28,7 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { ContextActionsDirective, PageComponent, PageLayoutComponent, PaginationDirective, ToolbarActionComponent } from '@alfresco/aca-shared'; import { CommonModule } from '@angular/common'; import { TranslateModule } from '@ngx-translate/core'; -import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services'; +import { DocumentListModule } from '@alfresco/adf-content-services'; import { DataTableModule, PaginationModule, TemplateModule, ToolbarModule } from '@alfresco/adf-core'; import { DocumentListDirective } from '../../directives/document-list.directive'; @@ -37,7 +37,6 @@ import { DocumentListDirective } from '../../directives/document-list.directive' imports: [ CommonModule, TranslateModule, - BreadcrumbModule, ToolbarModule, DocumentListModule, TemplateModule, diff --git a/projects/aca-content/src/lib/ui/application.scss b/projects/aca-content/src/lib/ui/application.scss index afb72da4c..200e405f7 100644 --- a/projects/aca-content/src/lib/ui/application.scss +++ b/projects/aca-content/src/lib/ui/application.scss @@ -59,3 +59,14 @@ ng-component { max-width: 350px; width: 350px; } + +.aca-page-title { + cursor: default; + font-size: 20px; + font-weight: 400; + letter-spacing: 0.15px; + line-height: 33px; + margin: 0; + color: var(--adf-theme-foreground-text-color-087); + width: 100%; +} diff --git a/projects/aca-content/src/lib/ui/overrides/ay11.scss b/projects/aca-content/src/lib/ui/overrides/ay11.scss index dac2b8593..e5f5f91ec 100644 --- a/projects/aca-content/src/lib/ui/overrides/ay11.scss +++ b/projects/aca-content/src/lib/ui/overrides/ay11.scss @@ -45,19 +45,6 @@ } } - .acs-close-members-container { - .mat-icon-button { - outline: none; - line-height: 36px !important; - - @include rounded-border(transparent); - - &:focus-visible { - @include rounded-border; - } - } - } - .adf-search-user-button, .app-search-button { line-height: 36px !important; diff --git a/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/breadcrumb.component.ts b/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/breadcrumb.component.ts deleted file mode 100644 index d18462c82..000000000 --- a/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/breadcrumb.component.ts +++ /dev/null @@ -1,36 +0,0 @@ -/*! - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Alfresco Example Content Application - * - * This file is part of the Alfresco Example Content Application. - * If the software was purchased under a paid Alfresco license, the terms of - * the paid license agreement will prevail. Otherwise, the software is - * provided under the following open source license terms: - * - * The Alfresco Example Content Application is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * The Alfresco Example Content Application is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * from Hyland Software. If not, see . - */ - -import { BaseComponent } from '../base.component'; -import { Page } from '@playwright/test'; - -export class AdfBreadcrumbComponent extends BaseComponent { - private static rootElement = 'adf-breadcrumb'; - - constructor(page: Page) { - super(page, AdfBreadcrumbComponent.rootElement); - } - - public getBreadcrumbItem = (text: string) => this.getChild('.adf-breadcrumb-item-current', { hasText: text }); -} diff --git a/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/index.ts b/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/index.ts deleted file mode 100644 index 0d88c7dea..000000000 --- a/projects/aca-playwright-shared/src/page-objects/components/breadcrumb/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -/*! - * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Alfresco Example Content Application - * - * This file is part of the Alfresco Example Content Application. - * If the software was purchased under a paid Alfresco license, the terms of - * the paid license agreement will prevail. Otherwise, the software is - * provided under the following open source license terms: - * - * The Alfresco Example Content Application is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * The Alfresco Example Content Application is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * from Hyland Software. If not, see . - */ - -export * from './breadcrumb.component'; diff --git a/projects/aca-playwright-shared/src/page-objects/components/index.ts b/projects/aca-playwright-shared/src/page-objects/components/index.ts index df6a0f3ca..8f3db9bde 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/index.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/index.ts @@ -31,9 +31,7 @@ export * from './spinner.component'; export * from './actions-dropdown.component'; export * from './conditions.component'; export * from './pagination.component'; -export * from './breadcrumb'; export * from './adf-info-drawer.component'; export * from './viewer.component'; export * from './search/search-input.component'; export * from './search/search-overlay.components'; - diff --git a/projects/aca-playwright-shared/src/page-objects/pages/my-libraries.page.ts b/projects/aca-playwright-shared/src/page-objects/pages/my-libraries.page.ts index 46ba9d572..0ff6bbf64 100644 --- a/projects/aca-playwright-shared/src/page-objects/pages/my-libraries.page.ts +++ b/projects/aca-playwright-shared/src/page-objects/pages/my-libraries.page.ts @@ -22,11 +22,10 @@ * from Hyland Software. If not, see . */ - import { Page } from '@playwright/test'; import { BasePage } from './base.page'; import { AcaHeader } from '../components/aca-header.component'; -import { AdfBreadcrumbComponent, AdfInfoDrawerComponent, AdfLibraryDialogComponent, DataTableComponent, MatMenuComponent } from '../components'; +import { AdfInfoDrawerComponent, AdfLibraryDialogComponent, DataTableComponent, MatMenuComponent } from '../components'; export class MyLibrariesPage extends BasePage { private static pageUrl = 'libraries'; @@ -38,12 +37,10 @@ export class MyLibrariesPage extends BasePage { public matMenu = new MatMenuComponent(this.page); public libraryDialog = new AdfLibraryDialogComponent(this.page); public dataTable = new DataTableComponent(this.page); - public breadcrumb = new AdfBreadcrumbComponent(this.page); - public libraryDetails = new AdfInfoDrawerComponent (this.page); + public libraryDetails = new AdfInfoDrawerComponent(this.page); async selectCreateLibrary(): Promise { await this.acaHeader.createButton.click(); await this.matMenu.createLibrary.click(); } - }