[no-issue] fix e2e uploader (#3840)

* fix e2e upload
move viewer subbfolder

* fix CS services e2e test

* add log for error in upload delete

* aysnc get node

* new tentative

* attempt 2

* attempt 3

* new demo shell test
travis change for test

* excluded file tslint fix

* remove desktop only class

* renable tests

* decrease time notification

* add process service multiselect demo test
fix e2e

* remove log

* add custom toolbar example
This commit is contained in:
Eugenio Romano
2018-10-02 12:26:13 +01:00
committed by GitHub
parent 77a6f1e902
commit 6a546289b7
58 changed files with 1426 additions and 1343 deletions

View File

@@ -53,6 +53,20 @@
<mat-radio-button value="end">End</mat-radio-button>
</mat-radio-group>
</div>
<br>
<br>
<section>
<mat-slide-toggle id="adf-hide-sidenav" [color]="'primary'" (click)="changeSidenavVisibility()">
Hide Sidebar
</mat-slide-toggle>
</section>
<div>
<mat-radio-group [(ngModel)]="position" (change)="changePosition()">
<mat-radio-button value="start">Start</mat-radio-button>
<mat-radio-button value="end">End</mat-radio-button>
</mat-radio-group>
</div>
</mat-card>
</div>

View File

@@ -25,6 +25,7 @@ import { HeaderDataService } from './header-data.service';
export class HeaderDataComponent {
checkbox = true;
position = 'start';
hideSidenavToggle = false;
constructor(private headerService: HeaderDataService) {
}
@@ -65,4 +66,9 @@ export class HeaderDataComponent {
changePosition() {
this.headerService.changePosition(this.position);
}
changeSidenavVisibility() {
this.hideSidenavToggle = !this.hideSidenavToggle;
this.headerService.changeSidenavVisibility(this.hideSidenavToggle);
}
}

View File

@@ -29,6 +29,7 @@ export class HeaderDataService {
@Output() redirectUrl: EventEmitter<string | any[]> = new EventEmitter();
@Output() tooltip: EventEmitter<string> = new EventEmitter();
@Output() position: EventEmitter<string> = new EventEmitter();
@Output() hideSidenav: EventEmitter<string> = new EventEmitter();
hideMenuButton() {
this.show = !this.show;
@@ -59,4 +60,8 @@ export class HeaderDataService {
changePosition(position) {
this.position.emit(position);
}
changeSidenavVisibility(hideSidenav) {
this.hideSidenav.emit(hideSidenav);
}
}