Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
New scenario execution report view (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
boddissattva authored Nov 27, 2023
1 parent dde0c5c commit fc15292
Show file tree
Hide file tree
Showing 39 changed files with 62,041 additions and 73,725 deletions.
11 changes: 8 additions & 3 deletions ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"assets": [
"src/assets",
"src/manifest.json",
"src/favicon.ico"
"src/favicon.ico",
{ "glob": "**/*", "input": "node_modules/monaco-editor", "output": "/assets/monaco/" }
],
"stylePreprocessorOptions": {
"includePaths": [
Expand Down Expand Up @@ -117,7 +118,8 @@
"assets": [
"src/assets",
"src/manifest.json",
"src/favicon.ico"
"src/favicon.ico",
{ "glob": "**/*", "input": "node_modules/monaco-editor", "output": "/assets/monaco/" }
]
}
},
Expand Down Expand Up @@ -152,5 +154,8 @@
}
}
},
"defaultProject": "chutney"
"defaultProject": "chutney",
"cli": {
"analytics": false
}
}
133,653 changes: 60,840 additions & 72,813 deletions ui/package-lock.json

Large diffs are not rendered by default.

192 changes: 97 additions & 95 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,97 +1,99 @@
{
"name": "chutney-ui",
"version": "2.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test --karma-config=src/karma-ci.conf.js --no-progress",
"lint": "ng lint",
"e2e": "ng e2e",
"init-sb": "npx sb init --type angular",
"start-sb": "ng run chutney:storybook",
"start-sb-darkly": "ng run chutney:storybook-darkly",
"build-sb": "ng run chutney:build-storybook"
},
"private": true,
"dependencies": {
"@angular/animations": "^13.3.2",
"@angular/common": "^13.3.2",
"@angular/compiler": "^13.3.2",
"@angular/core": "^13.3.2",
"@angular/forms": "^13.3.2",
"@angular/localize": "^13.3.2",
"@angular/platform-browser": "^13.3.2",
"@angular/platform-browser-dynamic": "^13.3.2",
"@angular/router": "^13.3.2",
"@fortawesome/fontawesome-free": "^6.1.1",
"@ng-bootstrap/ng-bootstrap": "^12.0.2",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@popperjs/core": "^2.11.5",
"@types/file-saver": "^2.0.0",
"@types/uuid": "^8.3.4",
"ace-builds": "^1.4.14",
"angular2-multiselect-dropdown": "^5.0.4",
"@asciidoctor/core": "^3.0.2",
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.9.1",
"bootswatch": "5.2.0",
"chart.js": "^3.7.1",
"core-js": "^3.31.1",
"file-saver": "^2.0.0",
"font-awesome": "^4.7.0",
"highlight.js": "^11.5.0",
"hjson": "^3.2.2",
"jszip": "^3.2.2",
"moment": "^2.29.2",
"ng-click-outside2": "^10.0.4",
"ng2-charts": "^3.0.8",
"ng2-dragula": "^2.1.1",
"ngx-bootstrap": "^8.0.0",
"ngx-filesaver": "^13.0.0",
"ngx-infinite-scroll": "^6.0.0",
"ngx-moment": "^6.0.2",
"ngx-pagination": "^5.1.1",
"ngx-perfect-scrollbar": "^10.1.1",
"ngx-toastr": "^14.2.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rxjs": "~7.5.0",
"sb": "^6.5.15",
"stream": "0.0.2",
"web-app-manifest-loader": "^0.1.1",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.3.2",
"@angular/cli": "~13.3.2",
"@angular/compiler-cli": "^13.3.2",
"@angular/language-service": "^13.3.2",
"@babel/core": "^7.18.9",
"@compodoc/compodoc": "^1.1.19",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/angular": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@storybook/jest": "^0.0.10",
"@types/jasmine": "~4.0.2",
"@types/node": "^12.11.1",
"babel-loader": "^8.2.5",
"jasmine-core": "~4.0.0",
"karma": "^6.3.17",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"tslib": "^2.4.0",
"typescript": "4.6.3",
"mini-css-extract-plugin": "^2.7.6",
"webpack": "^5.88.2"
}
"name": "chutney-ui",
"version": "2.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test --karma-config=src/karma-ci.conf.js --no-progress",
"lint": "ng lint",
"e2e": "ng e2e",
"init-sb": "npx sb init --type angular",
"start-sb": "ng run chutney:storybook",
"start-sb-darkly": "ng run chutney:storybook-darkly",
"build-sb": "ng run chutney:build-storybook"
},
"private": true,
"dependencies": {
"@angular/animations": "^14.3.0",
"@angular/common": "^14.3.0",
"@angular/compiler": "^14.3.0",
"@angular/core": "^14.3.0",
"@angular/forms": "^14.3.0",
"@angular/localize": "^14.3.0",
"@angular/platform-browser": "^14.3.0",
"@angular/platform-browser-dynamic": "^14.3.0",
"@angular/router": "^14.3.0",
"@asciidoctor/core": "^3.0.2",
"@fortawesome/fontawesome-free": "^6.1.1",
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@popperjs/core": "^2.11.6",
"@rx-angular/template": "^14.0.0",
"@types/file-saver": "^2.0.0",
"@types/uuid": "^8.3.4",
"ace-builds": "^1.4.14",
"angular2-multiselect-dropdown": "^5.0.4",
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.9.1",
"bootswatch": "5.2.0",
"chart.js": "^3.7.1",
"core-js": "^3.31.1",
"file-saver": "^2.0.0",
"font-awesome": "^4.7.0",
"highlight.js": "^11.5.0",
"hjson": "^3.2.2",
"jszip": "^3.2.2",
"moment": "^2.29.2",
"ng-click-outside2": "^10.0.4",
"ng2-charts": "^3.0.8",
"ng2-dragula": "^2.1.1",
"ngx-bootstrap": "^9.0.0",
"ngx-filesaver": "^13.0.0",
"ngx-infinite-scroll": "^6.0.0",
"ngx-moment": "^6.0.2",
"ngx-monaco-editor-v2": "^14.0.4",
"ngx-pagination": "^5.1.1",
"ngx-perfect-scrollbar": "^10.1.1",
"ngx-toastr": "^15.2.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rxjs": "~7.4.0",
"sb": "^6.5.15",
"stream": "0.0.2",
"web-app-manifest-loader": "^0.1.1",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~14.2.13",
"@angular/cli": "^14.2.13",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "^14.3.0",
"@babel/core": "^7.18.9",
"@compodoc/compodoc": "^1.1.19",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/angular": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/jest": "^0.0.10",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@types/jasmine": "~4.0.2",
"@types/node": "^12.11.1",
"babel-loader": "^8.2.5",
"jasmine-core": "~4.0.0",
"karma": "^6.3.17",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"mini-css-extract-plugin": "^2.7.6",
"tslib": "^2.4.0",
"typescript": "4.6.3",
"webpack": "^5.88.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class CampaignExecutionsHistoryComponent implements OnInit, OnDestroy {
if (this.campaignReports.find(c => c.isRunning())) {
if (!this.isRefreshActive()) {
this.refreshSubscription = this.campaign$().pipe(
repeat({delay: 5000})
repeat(5000)
).subscribe();
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
FormGroup,
NG_VALIDATORS,
NG_VALUE_ACCESSOR,
UntypedFormArray,
UntypedFormGroup,
ValidationErrors
} from '@angular/forms';
import { KeyValue } from '@model';
Expand Down Expand Up @@ -203,7 +205,7 @@ export class FormsDataGridComponent implements ControlValueAccessor {
}

private createLine(line: Array<KeyValue>): FormArray {
let lineArray = this.fb.array([]);
let lineArray = this.fb.array([]) as UntypedFormArray;
line.map(kv => this.createKeyValue(kv.key, kv.value))
.forEach(cell => {
lineArray.push(cell);
Expand Down
Loading

0 comments on commit fc15292

Please sign in to comment.