Revert "[ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908)" (#3918)

* Revert "[ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908)"

This reverts commit 457ddb2e39.

* [ci:force]
This commit is contained in:
Pablo Martinez
2024-07-04 09:17:19 +02:00
committed by GitHub
parent 457ddb2e39
commit 4f5aa2a0e5
18 changed files with 12 additions and 191 deletions

View File

@@ -1,8 +1,6 @@
<aca-page-layout>
<div class="aca-page-layout-header">
<h1 class="aca-page-title">
{{ (selectedRowItemsCount < 1 ? 'APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE' : 'APP.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}
</h1>
<h1 class="aca-page-title">{{ 'APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE' | translate }}</h1>
<aca-toolbar [items]="actions"></aca-toolbar>
</div>
@@ -20,7 +18,6 @@
[sortingMode]="'client'"
[imageResolver]="imageResolver"
[isResizingEnabled]="true"
(selectedItemsCountChanged)="onSelectedItemsCountChanged($event)"
[blurOnResize]="false"
(node-dblclick)="handleNodeClick($event)"
(name-click)="handleNodeClick($event)"

View File

@@ -30,7 +30,6 @@ import { AppTestingModule } from '../../testing/app-testing.module';
import { EffectsModule } from '@ngrx/effects';
import { LibraryEffects } from '../../store/effects';
import { ContentApiService } from '@alfresco/aca-shared';
import { getTitleElementText } from '../../testing/test-utils';
describe('LibrariesComponent', () => {
let fixture: ComponentFixture<LibrariesComponent>;
@@ -68,17 +67,6 @@ describe('LibrariesComponent', () => {
spyOn(sitesApi, 'listSiteMembershipsForPerson').and.returnValue(Promise.resolve({}));
});
describe('Initialization', () => {
it('should set title to MY_LIBRARIES.TITLE based on selectedRowItemsCount', () => {
fixture.detectChanges();
expect(getTitleElementText(fixture)).toBe('APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE');
component.selectedRowItemsCount = 2;
fixture.detectChanges();
expect(getTitleElementText(fixture)).toBe('APP.HEADER.SELECTED');
});
});
describe('Node navigation', () => {
it('does not navigate when id is not passed', () => {
spyOn(router, 'navigate').and.stub();