-
Notifications
You must be signed in to change notification settings - Fork 78
frontend: data-pipelines (#4) ui bundle root #1631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7354481
frontend: data-pipelines ui bundle root
ivakoleva 4f7e042
frontend: data-pipelines ui bundle root
ivakoleva 3fbd8b3
frontend: data-pipelines ui bundle root
ivakoleva a25b8ac
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1e16f97
frontend: data-pipelines ui bundle root
ivakoleva 263007f
frontend: data-pipelines ui bundle root
ivakoleva 86f2ee4
Merge branch 'main' into person/ikoleva/frontend-data-pipelines-4
ivakoleva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
projects/frontend/data-pipelines/gui/projects/ui/.browserslistrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
| # For additional information regarding the format and rule options, please see: | ||
| # https://github.com/browserslist/browserslist#queries | ||
|
|
||
| # For the full list of supported browsers by the Angular framework, please see: | ||
| # https://angular.io/guide/browser-support | ||
|
|
||
| # You can see what browsers were selected by your queries by running: | ||
| # npx browserslist | ||
|
|
||
| last 1 Chrome version | ||
| last 1 Firefox version | ||
| last 2 Edge major versions | ||
| last 2 Safari major versions | ||
| last 2 iOS major versions | ||
| Firefox ESR | ||
| not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. | ||
88 changes: 88 additions & 0 deletions
88
projects/frontend/data-pipelines/gui/projects/ui/.eslintrc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { | ||
| "extends": "../../.eslintrc.json", | ||
| "ignorePatterns": [ | ||
| "!**/*" | ||
| ], | ||
| "overrides": [ | ||
| { | ||
| "files": [ | ||
| "*.ts" | ||
| ], | ||
| "parserOptions": { | ||
| "project": [ | ||
| "projects/ui/tsconfig.app.json" | ||
| ], | ||
| "createDefaultProgram": true | ||
| }, | ||
| "rules": { | ||
| "@angular-eslint/component-selector": [ | ||
| "error", | ||
| { | ||
| "type": "element", | ||
| "prefix": "app", | ||
| "style": "kebab-case" | ||
| } | ||
| ], | ||
| "@angular-eslint/directive-selector": [ | ||
| "error", | ||
| { | ||
| "type": "attribute", | ||
| "prefix": "app", | ||
| "style": "camelCase" | ||
| } | ||
| ], | ||
| "@typescript-eslint/naming-convention": [ | ||
| "warn", | ||
| { | ||
| "selector": "property", | ||
| "format": [ | ||
| "camelCase" | ||
| ], | ||
| "leadingUnderscore": "allow", | ||
| "filter": { | ||
| // you can expand this regex to add more allowed names | ||
| "regex": "^((\\$\\..+))$", | ||
| "match": false | ||
| } | ||
| }, | ||
| { | ||
| "selector": "classProperty", | ||
| "modifiers": [ | ||
| "static" | ||
| ], | ||
| "format": [ | ||
| "camelCase", | ||
| "UPPER_CASE" | ||
| ], | ||
| "leadingUnderscore": "allow" | ||
| } | ||
| ], | ||
| "@typescript-eslint/no-shadow": "error", | ||
| "no-shadow": "off", | ||
| "prefer-arrow/prefer-arrow-functions": "error" | ||
| } | ||
| }, | ||
| { | ||
| "files": [ | ||
| "*.spec.ts" | ||
| ], | ||
| "parserOptions": { | ||
| "project": [ | ||
| "projects/ui/tsconfig.spec.json" | ||
| ] | ||
| }, | ||
| "rules": { | ||
| "@typescript-eslint/ban-ts-comment": "off", | ||
| "@typescript-eslint/no-explicit-any": "off", | ||
| "@typescript-eslint/no-floating-promises": "off", | ||
| "@typescript-eslint/unbound-method": "off" | ||
| } | ||
| }, | ||
| { | ||
| "files": [ | ||
| "*.html" | ||
| ], | ||
| "rules": {} | ||
| } | ||
| ] | ||
| } |
67 changes: 67 additions & 0 deletions
67
projects/frontend/data-pipelines/gui/projects/ui/karma.conf.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| /* | ||
| * Copyright 2021-2023 VMware, Inc. | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| // Karma configuration file, see link for more information | ||
| // https://karma-runner.github.io/1.0/config/configuration-file.html | ||
|
|
||
| module.exports = function(config) { | ||
| config.set({ | ||
| basePath: '', | ||
| frameworks: ['jasmine', '@angular-devkit/build-angular'], | ||
| plugins: [ | ||
| require('karma-jasmine'), | ||
| require('karma-chrome-launcher'), | ||
| require('karma-jasmine-html-reporter'), | ||
| require('karma-junit-reporter'), | ||
| require('karma-coverage'), | ||
| require('@angular-devkit/build-angular/plugins/karma') | ||
| ], | ||
| client: { | ||
| jasmine: { | ||
| // you can add configuration options for Jasmine here | ||
| // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html | ||
| // for example, you can disable the random execution with `random: false` | ||
| // or set a specific seed with `seed: 4321` | ||
| }, | ||
| clearContext: false // leave Jasmine Spec Runner output visible in browser | ||
| }, | ||
| coverageReporter: { | ||
| dir: require('path').join(__dirname, '../../reports/coverage/data-pipelines-ui'), | ||
| reporters: [ | ||
| //Code coverage - output only in HTML file | ||
| { type: 'html' }, | ||
| { type: 'text-summary' }, | ||
| { type: 'lcovonly' } | ||
| ], | ||
| check: { | ||
| global: { | ||
| lines: 20 | ||
| } | ||
| } | ||
| }, | ||
| jasmineHtmlReporter: { | ||
| suppressAll: true // removes the duplicated traces | ||
| }, | ||
| junitReporter: { | ||
| outputDir: require('path').join(__dirname, '../../reports/test-results/data-pipelines-ui'), | ||
| outputFile: 'unit-tests.xml', | ||
| useBrowserName: false | ||
| }, | ||
| reporters: ['progress', 'junit', 'coverage'], | ||
| port: 9876, | ||
| colors: true, | ||
| logLevel: config.LOG_INFO, | ||
| autoWatch: true, | ||
| browsers: ['ChromeHeadless'], | ||
| customLaunchers: { | ||
| ChromeHeadless_No_Sandbox: { | ||
| base: 'ChromeHeadless', | ||
| flags: ['--no-sandbox'] | ||
| } | ||
| }, | ||
| singleRun: false, | ||
| restartOnFileChange: true | ||
| }); | ||
| }; |
Empty file.
23 changes: 23 additions & 0 deletions
23
projects/frontend/data-pipelines/gui/projects/ui/src/assets/css/clr-ui.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
projects/frontend/data-pipelines/gui/projects/ui/tsconfig.app.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* To learn more about this file see: https://angular.io/config/tsconfig. */ | ||
| { | ||
| "extends": "../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "../../out-tsc/app", | ||
| "types": [] | ||
| }, | ||
| "files": [ | ||
| "src/main.ts", | ||
| "src/polyfills.ts" | ||
| ], | ||
| "include": [ | ||
| "src/**/*.d.ts" | ||
| ] | ||
| } |
18 changes: 18 additions & 0 deletions
18
projects/frontend/data-pipelines/gui/projects/ui/tsconfig.spec.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| /* To learn more about this file see: https://angular.io/config/tsconfig. */ | ||
| { | ||
| "extends": "../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "../../out-tsc/spec", | ||
| "types": [ | ||
| "jasmine" | ||
| ] | ||
| }, | ||
| "files": [ | ||
| "src/test.ts", | ||
| "src/polyfills.ts" | ||
| ], | ||
| "include": [ | ||
| "src/**/*.spec.ts", | ||
| "src/**/*.d.ts" | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.