Skip to content

Commit

Permalink
#81 Cleanup (#155)
Browse files Browse the repository at this point in the history
#77 Cleanup
* delete unused angular material imports
*  removed design-test component
* tslint config updated:
 - ignore generated backend client
 - ignore import statements
 - allow leading underscore for variables
* fixed all ts lint errors
* Remove create random button & add functionality to cancel button
* unify animation syntax:
 - add correct animation to testsuite editor
 - fix error with private attributes in testsuite
 - remove commented code from ErrorHandlerService

#161  Restructure Docker deployment
* Remove individual docker-compose files
* Update language-server dependency for frontend
  • Loading branch information
Jaykju authored Apr 16, 2020
1 parent ca22025 commit 0f37432
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 396 deletions.
37 changes: 0 additions & 37 deletions backend/docker-compose.yml

This file was deleted.

2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
context: ./frontend
ports:
- "80:80"
depends_on:
- openvalidation-languageserver

openvalidation-ide-backend:
image: openvalidation-ide-backend:latest
Expand Down
3 changes: 2 additions & 1 deletion frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
"**/node_modules/**",
"src/app/backend/**"
]
}
},
Expand Down
9 changes: 0 additions & 9 deletions frontend/docker-compose.yml

This file was deleted.

163 changes: 0 additions & 163 deletions frontend/src/app/design-test/design-test.component.html

This file was deleted.

38 changes: 0 additions & 38 deletions frontend/src/app/design-test/design-test.component.scss

This file was deleted.

25 changes: 0 additions & 25 deletions frontend/src/app/design-test/design-test.component.spec.ts

This file was deleted.

32 changes: 0 additions & 32 deletions frontend/src/app/design-test/design-test.component.ts
Original file line number Diff line number Diff line change
@@ -1,32 +0,0 @@
import { Component, OnInit } from '@angular/core';
import * as faker from 'faker';

@Component({
selector: 'ovide-design-test',
templateUrl: './design-test.component.html',
styleUrls: ['./design-test.component.scss']
})
export class DesignTestComponent implements OnInit {

constructor() { }

tableDisplayedColumns: string [];
tableDataSource: object[];

ngOnInit(): void {
this.tableDisplayedColumns = ['name', 'age', 'street', 'city', 'expected', 'passed'];

const fakeData = () => {
return {
name: faker.name.findName(),
age: faker.random.number({min: 10, max: 80}),
street: faker.address.streetName(),
city: faker.address.city(),
expected: faker.random.boolean(),
passed: faker.random.boolean(),
};
};
this.tableDataSource = Array.from({length: 8}, fakeData);
}

}
Loading

0 comments on commit 0f37432

Please sign in to comment.