notebooks/components/crud-web-apps/tensorboards/frontend
Elena Zioga 95bbbf07da [wa-theme-typography]: Define theme and typography (kubeflow/kubeflow#7062)
* web-apps(front): Define theme and typography

In this commit:
* Create a styles folder that contains all sccs files.
* Define the generic theme and typography.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Use the style of the specified body-1 level

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Use the styles of the specified title and headline levels

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Use primary color in snackbar component

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Change back button

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Fix imports after restructuring

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Add mat-typography class in index.html

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Use the style of the specified title level

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Use primary color

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Fix imports after restructuring

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Add mat-typography class in index.html

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Use the style of the specified title level

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Fix typo

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Add mat-typography class in index.html

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Fix imports after restructuring

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Use primary color

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Fix formatting

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Fix ui test

Signed-off-by: Elena Zioga <elena@arrikto.com>

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-07-31 16:47:29 +00:00
..
cypress [wa-theme-typography]: Define theme and typography (kubeflow/kubeflow#7062) 2023-07-31 16:47:29 +00:00
e2e twa(front): Add UI tests with Cypress (kubeflow/kubeflow#6896) 2023-01-26 09:37:10 +00:00
i18n web-apps(front): Fix typos (kubeflow/kubeflow#7017) 2023-03-06 17:58:36 +00:00
scripts twa(front): Install prettier and add gh action (kubeflow/kubeflow#6850) 2023-01-03 13:38:24 +00:00
src [wa-theme-typography]: Define theme and typography (kubeflow/kubeflow#7062) 2023-07-31 16:47:29 +00:00
.browserslistrc Update CRUD web apps from Angular 8 to Angular 12 (kubeflow/kubeflow#6004) 2021-07-21 02:35:50 -07:00
.editorconfig Add TWA frontend (kubeflow/kubeflow#5267) 2020-08-31 09:32:21 -07:00
.eslintrc.json crud-web-apps: Apply ng lint (kubeflow/kubeflow#6580) 2022-07-20 12:12:21 +00:00
.gitignore feat(jupyter): add fonts as assets to service (kubeflow/kubeflow#5691) 2021-06-02 10:44:35 -07:00
.prettierrc Add TWA frontend (kubeflow/kubeflow#5267) 2020-08-31 09:32:21 -07:00
OWNERS Add approvers to the frontends (kubeflow/kubeflow#6929) 2023-02-13 17:23:24 +00:00
README.md twa(front): Add UI tests with Cypress (kubeflow/kubeflow#6896) 2023-01-26 09:37:10 +00:00
angular.json twa(front): Add UI tests with Cypress (kubeflow/kubeflow#6896) 2023-01-26 09:37:10 +00:00
cypress.config.ts twa(front): Add UI tests with Cypress (kubeflow/kubeflow#6896) 2023-01-26 09:37:10 +00:00
karma.conf.js twa(front): Fix unit tests (kubeflow/kubeflow#6824) 2022-12-09 10:44:11 +00:00
package-lock.json build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /components/crud-web-apps/tensorboards/frontend (kubeflow/kubeflow#6907) 2023-02-16 13:42:06 +00:00
package.json twa(front): Add UI tests with Cypress (kubeflow/kubeflow#6896) 2023-01-26 09:37:10 +00:00
tsconfig.app.json Update CRUD web apps from Angular 8 to Angular 12 (kubeflow/kubeflow#6004) 2021-07-21 02:35:50 -07:00
tsconfig.json [wa-upgrade-k8s-client] Upgrade @kubernetes/client-node in wa frontends (kubeflow/kubeflow#6696) 2022-11-03 08:37:05 +00:00
tsconfig.spec.json Add TWA frontend (kubeflow/kubeflow#5267) 2020-08-31 09:32:21 -07:00

README.md

Frontend

This project was generated with Angular CLI version 8.3.20.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running UI tests

To run UI tests locally, make sure that node modules are installed and the frontend is serving the UI under localhost:4200. Then use npm run ui-test to execute the UI tests via Cypress. This will open Cypress and from there you may select the browser in which the tests will run.

Ideally, tests should be run both in Chrome and Firefox and for that there is the script npm run ui-test-ci-all that runs (instead of opening) Cypress. Note that in order for tests to run in a browser, the browser needs to be already installed on the system.S

Make sure to check out these guides for system-specific information on installing and running Cypress

WSL2

In order to be run in a WSL2 installation, Cypress requires these dependencies.

In the case of WSL2 on Windows 10, this extra setup is required in order to have an X Server running in Windows host and creating the browser window.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI documents.