refs #2613. Captured busy client status
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
980108ce83
commit
d234cdb74c
|
@ -341,6 +341,12 @@ table {
|
|||
font-weight: 500;
|
||||
}
|
||||
|
||||
.chip-busy {
|
||||
background-color: #ff8c00 !important;
|
||||
color: white !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status-progress-flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -366,6 +372,7 @@ table {
|
|||
.status-indicator.in-progress { background-color: #ffc107; }
|
||||
.status-indicator.cancelled { background-color: #6c757d; }
|
||||
.status-indicator.sent { background-color: #b19cd9; }
|
||||
.status-indicator.busy { background-color: #ff8c00; }
|
||||
|
||||
/* Opciones de cliente */
|
||||
.client-option {
|
||||
|
|
|
@ -34,13 +34,14 @@
|
|||
|
||||
<mat-form-field appearance="fill" class="search-boolean">
|
||||
<mat-label i18n="@@searchLabel">Estado</mat-label>
|
||||
<mat-select (selectionChange)="onOptionStatusSelected($event.value)" placeholder="Seleccionar opción"
|
||||
<mat-select (selectionChange)="onOptionStatusSelected($event.value)" placeholder="Seleccionar opción"
|
||||
#commandStatusInput>
|
||||
<mat-option [value]="'failed'">Fallido</mat-option>
|
||||
<mat-option [value]="'pending'">Pendiente de ejecutar</mat-option>
|
||||
<mat-option [value]="'in-progress'">Ejecutando</mat-option>
|
||||
<mat-option [value]="'success'">Completado con éxito</mat-option>
|
||||
<mat-option [value]="'cancelled'">Cancelado</mat-option>
|
||||
<mat-option [value]="'busy'">Ocupado</mat-option>
|
||||
</mat-select>
|
||||
<button *ngIf="commandStatusInput.value" mat-icon-button matSuffix aria-label="Clear input search"
|
||||
(click)="clearStatusFilter($event, commandStatusInput)">
|
||||
|
@ -97,7 +98,8 @@
|
|||
'chip-pending': trace.status === 'pending',
|
||||
'chip-in-progress': trace.status === 'in-progress',
|
||||
'chip-cancelled': trace.status === 'cancelled',
|
||||
'chip-sent': trace.status === 'sent'
|
||||
'chip-sent': trace.status === 'sent',
|
||||
'chip-busy': trace.status === 'busy'
|
||||
}">
|
||||
{{
|
||||
trace.status === 'failed' ? 'Error' :
|
||||
|
@ -106,6 +108,7 @@
|
|||
trace.status === 'pending' ? 'Pendiente' :
|
||||
trace.status === 'cancelled' ? 'Cancelado' :
|
||||
trace.status === 'sent' ? 'Enviado' :
|
||||
trace.status === 'busy' ? 'Ocupado' :
|
||||
trace.status
|
||||
}}
|
||||
</mat-chip>
|
||||
|
|
|
@ -235,7 +235,6 @@ export class ClientTaskLogsComponent implements OnInit {
|
|||
params['executedAt[before]'] = this.datePipe.transform(params['endDate'], 'yyyy-MM-dd');
|
||||
delete params['endDate'];
|
||||
}
|
||||
console.log('🌐 GET', `${this.baseUrl}/traces`, params);
|
||||
|
||||
const url = `${this.baseUrl}/traces`;
|
||||
|
||||
|
|
|
@ -540,6 +540,12 @@ table {
|
|||
font-weight: 500;
|
||||
}
|
||||
|
||||
.chip-busy {
|
||||
background-color: #ff8c00 !important;
|
||||
color: white !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status-progress-flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -564,6 +570,7 @@ table {
|
|||
.status-indicator.in-progress { background-color: #ffc107; }
|
||||
.status-indicator.cancelled { background-color: #6c757d; }
|
||||
.status-indicator.sent { background-color: #b19cd9; }
|
||||
.status-indicator.busy { background-color: #ff8c00; }
|
||||
|
||||
.client-option {
|
||||
display: flex;
|
||||
|
|
|
@ -159,6 +159,12 @@
|
|||
{{ 'sent' | translate }}
|
||||
</div>
|
||||
</mat-option>
|
||||
<mat-option [value]="'busy'">
|
||||
<div class="status-option">
|
||||
<div class="status-indicator busy"></div>
|
||||
{{ 'busy' | translate }}
|
||||
</div>
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<button *ngIf="commandStatusInput.value" mat-icon-button matSuffix aria-label="Clear input search"
|
||||
(click)="clearStatusFilter($event, commandStatusInput)">
|
||||
|
@ -246,7 +252,8 @@
|
|||
'chip-pending': trace.status === 'pending',
|
||||
'chip-in-progress': trace.status === 'in-progress',
|
||||
'chip-cancelled': trace.status === 'cancelled',
|
||||
'chip-sent': trace.status === 'sent'
|
||||
'chip-sent': trace.status === 'sent',
|
||||
'chip-busy': trace.status === 'busy'
|
||||
}">
|
||||
{{
|
||||
trace.status === 'failed' ? ('failed' | translate) :
|
||||
|
@ -255,6 +262,7 @@
|
|||
trace.status === 'pending' ? ('pending' | translate) :
|
||||
trace.status === 'cancelled' ? ('cancelled' | translate) :
|
||||
trace.status === 'sent' ? ('sent' | translate) :
|
||||
trace.status === 'busy' ? ('busy' | translate) :
|
||||
trace.status
|
||||
}}
|
||||
</mat-chip>
|
||||
|
|
Loading…
Reference in New Issue