GH Auto: Upstream dependencies ADF:8.4.0-20960843160 JS-API:9.4.0-20960843160 using Tag:8.4.0-20960843160 (#4986)

This commit is contained in:
Alfresco Build
2026-01-14 09:13:07 +00:00
committed by GitHub
parent d85f3bfbeb
commit 7c8e9cbcdb
7 changed files with 52 additions and 43 deletions
@@ -8,7 +8,7 @@
| translate : { name: displayText$ | async }
"
class="adf-datatable-cell-value"
title="{{ node | adfNodeNameTooltip }}"
[title]="tooltip()"
(click)="onLinkClick($event)"
(keyup.enter)="onLinkClick($event)"
>
@@ -65,13 +65,15 @@ describe('CustomNameColumnComponent', () => {
node: {
entry: {
isFile: true,
id: 'nodeId'
id: 'nodeId',
name: 'test-file.txt'
}
},
getValue: (key: string) => key
}
};
component.ngOnInit();
fixture.detectChanges();
expect(fixture.debugElement.nativeElement.querySelector('aca-locked-by')).toBe(null);
@@ -83,13 +85,15 @@ describe('CustomNameColumnComponent', () => {
node: {
entry: {
isFile: false,
id: 'nodeId'
id: 'nodeId',
name: 'test-folder'
}
},
getValue: (key: string) => key
}
};
component.ngOnInit();
fixture.detectChanges();
expect(fixture.debugElement.nativeElement.querySelector('aca-locked-by')).toBe(null);
@@ -102,6 +106,7 @@ describe('CustomNameColumnComponent', () => {
entry: {
isFile: true,
id: 'nodeId',
name: 'locked-file.txt',
properties: { 'cm:lockType': 'WRITE_LOCK' }
}
},
@@ -109,6 +114,7 @@ describe('CustomNameColumnComponent', () => {
}
};
component.ngOnInit();
fixture.detectChanges();
expect(fixture.debugElement.nativeElement.querySelector('aca-locked-by')).not.toBe(null);
@@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/
import { NameColumnComponent, NodeNameTooltipPipe, NodesApiService } from '@alfresco/adf-content-services';
import { NameColumnComponent, NodesApiService } from '@alfresco/adf-content-services';
import { ChangeDetectorRef, Component, DestroyRef, ElementRef, inject, OnInit, ViewEncapsulation } from '@angular/core';
import { Actions, ofType } from '@ngrx/effects';
import { filter } from 'rxjs/operators';
@@ -34,7 +34,7 @@ import { DatatableCellBadgesComponent } from '../datatable-cell-badges/datatable
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@Component({
imports: [CommonModule, TranslatePipe, LockedByComponent, NodeNameTooltipPipe, DatatableCellBadgesComponent],
imports: [CommonModule, TranslatePipe, LockedByComponent, DatatableCellBadgesComponent],
selector: 'aca-custom-name-column',
templateUrl: './name-column.component.html',
styleUrls: ['./name-column.component.scss'],