mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Code cleanup and optimisations (#3383)
* cleanup unused css
* remove unused store/reducer blocks
* fix typo in toolbar ("tool-bar")
* toolbar action: break dependency on adf-core
* unified toolbar component
* break dependency on adf toolbar module
* update e2e
* update e2e
* update e2e
* update e2e
* update e2e
* fix search results toolbar spacing
* cleanup unused app state
* cleanup unused code
* fix toolbar divider color
* fix missing buttons in the info drawer
* fix css nesting
* fix search results css
This commit is contained in:
@@ -30,9 +30,7 @@
|
||||
</adf-viewer-open-with>
|
||||
|
||||
<adf-viewer-toolbar-actions>
|
||||
<ng-container *ngFor="let action of toolbarActions; trackBy: trackByActionId">
|
||||
<aca-toolbar-action [actionRef]="action"></aca-toolbar-action>
|
||||
</ng-container>
|
||||
<aca-toolbar [items]="toolbarActions"></aca-toolbar>
|
||||
</adf-viewer-toolbar-actions>
|
||||
</adf-alfresco-viewer>
|
||||
</ng-container>
|
||||
|
||||
@@ -27,7 +27,7 @@ import {
|
||||
AppHookService,
|
||||
ContentApiService,
|
||||
InfoDrawerComponent,
|
||||
ToolbarActionComponent,
|
||||
ToolbarComponent,
|
||||
ToolbarMenuItemComponent
|
||||
} from '@alfresco/aca-shared';
|
||||
import {
|
||||
@@ -56,7 +56,7 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [CommonModule, ViewerModule, AlfrescoViewerModule, InfoDrawerComponent, AppConfigModule, ToolbarMenuItemComponent, ToolbarActionComponent],
|
||||
imports: [CommonModule, ViewerModule, AlfrescoViewerModule, InfoDrawerComponent, AppConfigModule, ToolbarMenuItemComponent, ToolbarComponent],
|
||||
selector: 'aca-viewer',
|
||||
templateUrl: './viewer.component.html',
|
||||
styleUrls: ['./viewer.component.scss'],
|
||||
|
||||
Reference in New Issue
Block a user