init dashboard

This commit is contained in:
Marcel Arndt
2025-04-10 17:31:52 +02:00
parent 98aeb82ff6
commit 52c1a14609
178 changed files with 12306 additions and 401 deletions
@@ -0,0 +1,37 @@
<!-- Key Figures -->
<dks-ticket-lane-header
class="shadow"
[state]="ticketState"
(filterChange)="filterChanged($event)"
></dks-ticket-lane-header>
<ng-container *ngIf="tickets$ | async as tickets">
<cdk-virtual-scroll-viewport
itemSize="104"
(scrolledIndexChange)="fetchNextPage()"
>
<dks-ticket-item
*cdkVirtualFor="let ticket of tickets; trackBy: trackByFn"
class="mat-elevation-z4 animate-fadeIn"
(click)="openTicketView(ticket)"
[ticket]="ticket"
>
</dks-ticket-item>
</cdk-virtual-scroll-viewport>
<ng-container *ngIf="ticketStateMeta$ | async as ticketStateMeta">
<dks-ticket-lane-footer
*dksRole="['manager', 'admin']"
[ticketStateMeta]="ticketStateMeta"
[withTicketCount]="true"
[withApprovalRequiredCount]="
ticketState === TicketState.UserInteractionRequired
"
[withApprovalUnknownCount]="
ticketState === TicketState.UserInteractionRequired
"
></dks-ticket-lane-footer>
<dks-ticket-lane-footer
*dksRole="['controlcenter']"
[ticketStateMeta]="ticketStateMeta"
></dks-ticket-lane-footer
></ng-container>
</ng-container>