* jwa(front): Rename form-default component Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(front): Create missing module files Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(front): Remove form-rok and form components Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(front): Update JWA's @angular/common package Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(front): Modify rok-url component Signed-off-by: Elena Zioga <elena@arrikto.com> * web-apps(front): Add Rok URL message Signed-off-by: Elena Zioga <elena@arrikto.com> * vwa(front): Update VWA's @angular/common package Signed-off-by: Elena Zioga <elena@arrikto.com> * vwa(front): Remove the headers request Remove the headers request since the common code implements it. Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(front): Fix JWA's unit tests Fix JWA's unit tests. Signed-off-by: Elena Zioga <elena@arrikto.com> * gh-actions: Add GH action to run JWA unit tests Signed-off-by: Elena Zioga <elena@arrikto.com> * jwa(build): Update Dockerfile Update Dockerfile to not build Rok. Signed-off-by: Elena Zioga <elena@arrikto.com> Signed-off-by: Elena Zioga <elena@arrikto.com> |
||
|---|---|---|
| .. | ||
| projects/kubeflow | ||
| .editorconfig | ||
| .eslintrc.json | ||
| .gitignore | ||
| README.md | ||
| angular.json | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
README.md
Kubeflow Common Frontend Library
This code provides a common library of reusable Angular Components that can be used from our different Kubeflow web apps. This library aims to:
- Enforce a common UX throughout the different apps
- Reduce the development effort required to propagate changes to all the web apps
- Minimize the code duplication between our Kubeflow web apps
This project was generated with Angular CLI version 8.3.20, which is required to build and run the unit tests.
Local development
In order to use this library while developing locally your Angular app you will need to:
- Build the
kubeflownode module from this source code - Link the produced module to your global npm modules
- Link the
kubeflowmodule in the npm modules of you app
Building the library locally
# build the npm module
npm run build
# might need sudo, depending on where you global folder lives
# https://nodejs.dev/learn/where-does-npm-install-the-packages
npm link dist/kubeflow
Linking it to the app
cd ${APP_DIR}
npm install
npm link kubeflow
Running unit tests
Run ng test to execute the unit tests via Karma.
Contributor Guidelines
Unit tests
- Any new component added to this library should also include some basic unit tests
- The unit tests should be passing at any point of time
Git commits
Git commits that modify this code should be prefixed with web-apps(front).