diff --git a/README.md b/README.md index a5afe8c..aedf851 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,14 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github. Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). +One way to check for coverage: + +Install lcov (in ubuntu: sudo apt-get install lcov) + +run `ng test --no-watch --code-coverage` to generate a coverage directory, with an lcov file in it + +run `genhtml coverage/lcov.info -o coverage/html` to generate an html doc that looks at coverage (index.html) + ## Further help To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/src/app/_dialogs/delete-workflow-spec-category-dialog/delete-workflow-spec-category-dialog.component.html b/src/app/_dialogs/delete-workflow-spec-category-dialog/delete-workflow-spec-category-dialog.component.html index 51b5861..8cf0c98 100644 --- a/src/app/_dialogs/delete-workflow-spec-category-dialog/delete-workflow-spec-category-dialog.component.html +++ b/src/app/_dialogs/delete-workflow-spec-category-dialog/delete-workflow-spec-category-dialog.component.html @@ -1,5 +1,5 @@
- Delete category {{data.category.id}}? + Delete category {{data.category.display_name}}?
diff --git a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.html b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.html index bbca394..ed9e68e 100644 --- a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.html +++ b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.html @@ -1,7 +1,11 @@ -
+

Workflow Specification

+
+

Library Specification

+
+
diff --git a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.scss b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.scss index 6c284f0..eeae0ee 100644 --- a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.scss +++ b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.scss @@ -1,3 +1,3 @@ ::ng-deep formly-field mat-form-field { - margin-bottom: 40px; + } diff --git a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.ts b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.ts index 1369002..4f1f7ae 100644 --- a/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.ts +++ b/src/app/_dialogs/workflow-spec-dialog/workflow-spec-dialog.component.ts @@ -68,6 +68,7 @@ export class WorkflowSpecDialogComponent { required: true, options: this.categories }, + hideExpression: this.data.library, }, { key: 'display_name', @@ -92,25 +93,15 @@ export class WorkflowSpecDialogComponent { required: true, }, }, - { + { key: 'standalone', - type: 'checkbox', defaultValue: this.data.standalone ? this.data.standalone : false, - templateOptions: { - label: 'Standalone', - description: 'Is this a standalone workflow?', - indeterminate: false, - }, + hideExpression: true, }, { key: 'library', - type: 'checkbox', defaultValue: this.data.library ? this.data.library : false, - templateOptions: { - label: 'Library', - description: 'Is this a library workflow?', - indeterminate: false, - }, + hideExpression: true, }, ]; }); diff --git a/src/app/workflow-spec-card/workflow-spec-card.component.html b/src/app/workflow-spec-card/workflow-spec-card.component.html index 3d5ba01..290d0c1 100644 --- a/src/app/workflow-spec-card/workflow-spec-card.component.html +++ b/src/app/workflow-spec-card/workflow-spec-card.component.html @@ -18,9 +18,6 @@
Name
{{workflowSpec.id}}
Description
{{workflowSpec.description}}
-
Standalone
-
True
-
False

Workflow Spec Files

diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.html b/src/app/workflow-spec-list/workflow-spec-list.component.html index fa5cb05..8caeffc 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.html +++ b/src/app/workflow-spec-list/workflow-spec-list.component.html @@ -1,22 +1,16 @@
-

Workflow Specifications

-
- - +
+
+

Workflow Specifications

+
- +
-
+

Master Specification

@@ -27,13 +21,20 @@ + -
- +
+

Library Specs

+ +
+ + -

Libraries

+

All Libraries

@@ -45,16 +46,21 @@
- -
- -
-

Categories

+
+

Study Specs

+ +
@@ -162,7 +168,7 @@ (click)="validateWorkflowSpec(wfs)"> verified_user -