Skip to content

Commit

Permalink
Rework Parameter UI (#37)
Browse files Browse the repository at this point in the history
* fix: tooltips, translations, styles

* fix: tooltips, translations, styles2

* feat: add view button

* feat: add and change setup files

* feat: add criteria component, rework get products call

* feat: introduce modal detail dialog

* feat: clean up detail styles

* feat: make create dialog work

* feat: migrate results to search component

* feat: create history dialog

* feat: try to fix value field and column

* feat: get correct app ids for selected product in criteria and detail

* feat: search after delete

* fix: update setup

* fix: make results visible in search, delete old components

* fix: detail problems

* fix: some styles and make improvements in filter and dropdowns, set aria labels

* fix: delete issue

* fix: update used products in criteria on changes

* fix: change old translate svc use

---------

Co-authored-by: Christian Badura <[email protected]>
  • Loading branch information
cbadura and Christian Badura authored Aug 21, 2024
1 parent 2c3a7d0 commit 206e544
Show file tree
Hide file tree
Showing 44 changed files with 11,991 additions and 14,459 deletions.
28 changes: 17 additions & 11 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# Copy of .gitignore AND removed "dist" directory

# compiled output
/tmp
/out-tsc
# dist
tmp
out-tsc
reports

# dependencies
/node_modules
node_modules

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json

# IDEs and editors
/.idea
.idea
.project
.classpath
.c9/
Expand All @@ -22,20 +28,20 @@
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# misc
.angular
.eslintcache
.husky/_
.sass-cache
.gitlab*
.scannerwork
connect.lock
reports
typings
*.log

# e2e
/e2e/*.js
/e2e/*.map
*.sh

# System Files
.DS_Store
Thumbs.db
Thumbs.db
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"helm/**",
"node_modules/**",
"src/app/shared/generated/**",
"src/app/api/*",
"src/app/model/*",
"src/assets/api/*",
"src/**/*.ico",
"src/**/*.svg"
],
Expand Down Expand Up @@ -61,7 +60,7 @@
],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": [
"error",
{
Expand Down
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ updates:
interval: daily
labels:
- dependencies
groups:
angular:
applies-to: version-updates
patterns:
- "@angular*"
update-types:
- "minor"
- "patch"
onecx:
applies-to: version-updates
patterns:
- "@onecx*"
update-types:
- "minor"
- "patch"
- package-ecosystem: "docker"
directory: "/"
schedule:
Expand Down
16 changes: 8 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
dist
tmp
out-tsc
reports

# dependencies
/node_modules
node_modules

# profiling files
chrome-profiler-events*.json
Expand All @@ -32,12 +31,13 @@ speed-measure-plugin*.json
.history/*

# misc
.angular/cache
.angular
.eslintcache
.husky/_
.sass-cache
.gitlab*
.scannerwork
connect.lock
reports
typings
*.log
*.sh
Expand Down
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

npx --no-install commitlint --edit $1
10 changes: 10 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# .husky/pre-commit

bash << EOF

echo "[Husky] Running lint check:"
npm run lint
echo "[Husky] Running prettier check:"
npx prettier -c .

EOF
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/onecx/docker-spa-base:1.3.0
FROM ghcr.io/onecx/docker-spa-base:1.6.0

# Copy nginx configuration
COPY nginx/locations.conf $DIR_LOCATION/locations.conf
Expand Down
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,26 @@
"serve": {
"builder": "ngx-build-plus:dev-server",
"options": {
"browserTarget": "onecx-parameter-ui:build",
"buildTarget": "onecx-parameter-ui:build",
"port": 5032,
"publicHost": "http://localhost:5032",
"extraWebpackConfig": "webpack.config.js",
"proxyConfig": "proxy.conf.js"
},
"configurations": {
"development": {
"browserTarget": "onecx-parameter-ui:build:development"
"buildTarget": "onecx-parameter-ui:build:development"
},
"production": {
"browserTarget": "onecx-parameter-ui:build:production",
"buildTarget": "onecx-parameter-ui:build:production",
"extraWebpackConfig": "webpack.prod.config.js"
}
}
},
"extract-i18n": {
"builder": "ngx-build-plus:extract-i18n",
"options": {
"browserTarget": "onecx-parameter-ui:build",
"buildTarget": "onecx-parameter-ui:build",
"extraWebpackConfig": "webpack.config.js"
}
},
Expand Down
Loading

0 comments on commit 206e544

Please sign in to comment.