parent
6d6a17bac5
commit
6507809bcc
@ -1,11 +1,14 @@
|
|||||||
<mat-drawer-container autosize>
|
<mat-drawer-container autosize>
|
||||||
<mat-drawer disableClose="true" mode="side" opened>
|
<mat-drawer disableClose="true" mode="side" opened>
|
||||||
<app-import-tab-sidebar [selectedFiles]="selectedFiles" (fileImported)="this.addFileFromImport($event)"
|
<app-import-tab-sidebar (fileImported)="this.addFileFromImport($event)"
|
||||||
(importFinished)="this.refreshFileView()"></app-import-tab-sidebar>
|
(importFinished)="this.refreshFileView()"
|
||||||
|
[selectedFiles]="selectedFiles"></app-import-tab-sidebar>
|
||||||
</mat-drawer>
|
</mat-drawer>
|
||||||
<mat-drawer-content>
|
<mat-drawer-content>
|
||||||
<app-file-multiview [mode]="this.state.mode.value" (modeChangeEvent)="this.state.mode.next($event)"
|
<app-file-multiview (fileSelectEvent)="this.onFileSelect($event)"
|
||||||
[preselectedFile]="this.getSelectedFileFromState()"
|
(modeChangeEvent)="this.state.mode.next($event)"
|
||||||
(fileSelectEvent)="this.onFileSelect($event)" [files]="this.files"></app-file-multiview>
|
[files]="this.files"
|
||||||
|
[mode]="this.state.mode.value"
|
||||||
|
[preselectedFile]="this.getSelectedFileFromState()"></app-file-multiview>
|
||||||
</mat-drawer-content>
|
</mat-drawer-content>
|
||||||
</mat-drawer-container>
|
</mat-drawer-container>
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
<div class="repo-page-content" *ngIf="!selectedRepository">
|
<div *ngIf="!selectedRepository" class="repo-page-content">
|
||||||
<div class="add-repo-tools">
|
<div class="add-repo-tools">
|
||||||
<button (click)="openAddRepositoryDialog()" color="primary" mat-flat-button>Add Repository</button>
|
<button (click)="openAddRepositoryDialog()" color="primary" mat-flat-button>Add Repository</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="repository-list">
|
<div class="repository-list">
|
||||||
<div *ngFor="let repository of repositories" class="repository-container">
|
<div *ngFor="let repository of repositories" class="repository-container">
|
||||||
<app-repository-card [repository]="repository" (openEvent)="this.onOpenRepository($event)"></app-repository-card>
|
<app-repository-card (openEvent)="this.onOpenRepository($event)"
|
||||||
|
[repository]="repository"></app-repository-card>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="repo-details" *ngIf="selectedRepository">
|
<div *ngIf="selectedRepository" class="repo-details">
|
||||||
<app-repository-details-view [repository]="selectedRepository"></app-repository-details-view>
|
<app-repository-details-view [repository]="selectedRepository"></app-repository-details-view>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import {ComponentFixture, TestBed} from "@angular/core/testing";
|
||||||
|
|
||||||
import { SortButtonComponent } from './sort-button.component';
|
import {SortButtonComponent} from "./sort-button.component";
|
||||||
|
|
||||||
describe('SortButtonComponent', () => {
|
describe("SortButtonComponent", () => {
|
||||||
let component: SortButtonComponent;
|
let component: SortButtonComponent;
|
||||||
let fixture: ComponentFixture<SortButtonComponent>;
|
let fixture: ComponentFixture<SortButtonComponent>;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ SortButtonComponent ]
|
declarations: [SortButtonComponent]
|
||||||
})
|
})
|
||||||
.compileComponents();
|
.compileComponents();
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(SortButtonComponent);
|
fixture = TestBed.createComponent(SortButtonComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create', () => {
|
it("should create", () => {
|
||||||
expect(component).toBeTruthy();
|
expect(component).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import {ComponentFixture, TestBed} from "@angular/core/testing";
|
||||||
|
|
||||||
import { SortPresetItemComponent } from './sort-preset-item.component';
|
import {SortPresetItemComponent} from "./sort-preset-item.component";
|
||||||
|
|
||||||
describe('SortPresetItemComponent', () => {
|
describe("SortPresetItemComponent", () => {
|
||||||
let component: SortPresetItemComponent;
|
let component: SortPresetItemComponent;
|
||||||
let fixture: ComponentFixture<SortPresetItemComponent>;
|
let fixture: ComponentFixture<SortPresetItemComponent>;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ SortPresetItemComponent ]
|
declarations: [SortPresetItemComponent]
|
||||||
})
|
})
|
||||||
.compileComponents();
|
.compileComponents();
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(SortPresetItemComponent);
|
fixture = TestBed.createComponent(SortPresetItemComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create', () => {
|
it("should create", () => {
|
||||||
expect(component).toBeTruthy();
|
expect(component).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
import { TestBed } from '@angular/core/testing';
|
import {TestBed} from "@angular/core/testing";
|
||||||
|
|
||||||
import { PresetService } from './preset.service';
|
import {PresetService} from "./preset.service";
|
||||||
|
|
||||||
describe('PresetService', () => {
|
describe("PresetService", () => {
|
||||||
let service: PresetService;
|
let service: PresetService;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TestBed.configureTestingModule({});
|
TestBed.configureTestingModule({});
|
||||||
service = TestBed.inject(PresetService);
|
service = TestBed.inject(PresetService);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should be created', () => {
|
it("should be created", () => {
|
||||||
expect(service).toBeTruthy();
|
expect(service).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in New Issue