[ACA-1956] Library - metadata info (#760)

* library metadata panel

* add infoDrawer component to Library

* set infoDrawer state to false onDestroy

* infoDrawer action

* update actions index

* infoDrawer set state reducer

* register Library metadata component to extensions

* filter infoDrawer tabs

* update library api

* library actions and effects

* refresh library view on update event

* infoDrawer tests

* refactor

* check permission on update

* check permission on update

* lint

* reference selection library

* add parameter type

* full width
This commit is contained in:
Cilibiu Bogdan
2018-10-29 14:09:05 +02:00
committed by GitHub
parent 8ada58f3a5
commit 1807456a3e
20 changed files with 826 additions and 30 deletions

View File

@@ -75,5 +75,9 @@
<adf-pagination acaPagination [target]="documentList">
</adf-pagination>
</div>
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.library"></aca-info-drawer>
</div>
</app-page-layout-content>
</app-page-layout>

View File

@@ -63,6 +63,10 @@ export class LibrariesComponent extends PageComponent implements OnInit {
})
);
this.subscriptions = this.subscriptions.concat([
this.content.libraryUpdated.subscribe(() => this.documentList.reload())
]);
this.columns = this.extensions.documentListPresets.libraries || [];
}