Improve build stages (#3744)

* travis precache

* rb change

* remove ut

* add cache warm up

* Prepare cache fix

* add test

* use env variabble to tag

* use env to label stages

* move lint step at start

* use dist for e2e

* upload dist in alfresco

* modify permissions

* travis script node

* remove polyfills

* revert some changes

* fix demo shell run test

* solve download

* revert debatable gallery change
This commit is contained in:
Eugenio Romano
2018-09-05 12:40:03 +01:00
committed by GitHub
parent c0acc53eb9
commit c6f56a2c2a
37 changed files with 10383 additions and 1450 deletions

View File

@@ -49,7 +49,6 @@
<ng-container *ngIf="!loading && !noPermission">
<div *ngFor="let row of data.getRows(); let idx = index"
class="adf-datatable-row"
[class.adf-datatable-row-thumbnail]="data.thumbnails"
role="button"
[class.is-selected]="row.isSelected"
[adf-upload]="allowDropFiles && rowAllowsDrop(row)" [adf-upload-data]="row"
@@ -81,9 +80,8 @@
(change)="onCheckboxChange(row, $event)">
</mat-checkbox>
</div>
<div *ngFor="let col of data.getColumns(), let first = first;"
<div *ngFor="let col of data.getColumns()"
class="adf-data-table-cell adf-datatable-table-cell adf-data-table-cell--{{col.type || 'text'}} {{col.cssClass}}"
[class.cell-thumbnail]="data.thumbnails && first"
[attr.title]="col.title | translate"
[attr.filename]="getFilename(row)"
tabindex="0"
@@ -93,9 +91,7 @@
[context-menu-enabled]="contextMenu">
<div *ngIf="!col.template" class="cell-container">
<ng-container [ngSwitch]="col.type">
<div *ngSwitchCase="'image'"
class="cell-value"
[class.adf-image-gallery-cell]="data.thumbnails">
<div *ngSwitchCase="'image'" class="cell-value">
<mat-icon *ngIf="isIconValue(row, col); else no_iconvalue">{{ asIconValue(row, col) }}
</mat-icon>
<ng-template #no_iconvalue>
@@ -104,7 +100,6 @@
</mat-icon>
<ng-template #no_selected_row>
<img
[class.adf-image-gallery]="data.thumbnails"
alt="{{ iconAltTextKey(data.getValue(row, col)) | translate }}"
src="{{ data.getValue(row, col) }}"
(error)="onImageLoadingError($event, row)">
@@ -183,6 +178,7 @@
</button>
</mat-menu>
</div>
</div>
<div *ngIf="isEmpty()"
[class.adf-datatable-row]="display === 'list'"

View File

@@ -55,10 +55,6 @@
@include mat-overridable-elevation(2);
}
.adf-datatable-row-thumbnail {
height: 300px !important;
}
.adf-datatable-row-empty-card {
height: 0 !important;
padding-top: 0;
@@ -121,7 +117,6 @@
}
}
.alfresco-datatable__actions-cell {
position: absolute;
height: 42px !important;
@@ -130,17 +125,6 @@
text-align: right;
}
.adf-image-gallery {
height: 100px;
}
.adf-image-gallery-cell {
display: flex;
width: 265px;
flex: 0 0 auto;
justify-content: center;
}
.image-table-cell {
margin: 8px;
padding: 4px;
@@ -165,13 +149,6 @@
}
}
.cell-thumbnail {
flex: 0 0 auto;
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}
.adf-datatable-table-checkbox {
margin: 8px;
}