Go to file
Konstantina Galouni f51ca5f7ed [Trunk | Monitor Dashboard]:
1. indicators.component.ts:
	a. Added fields "import_loading" and "export_loading" and set "editing", to show loading icon and disable edit options while export or import process is ongoing.
	b. Validate schema of indicators' file when importing it (type (chart or number), url, and jsonPath (for number indicators) are requested).
2. indicators.component.html: 
	a. Instead of import or export icon (next to buttons), show loading icon when "import_loading" or "export_loading" is true.
	b. Disable edit options for indicators when "import_loading" or "export_loading" is true and show tooltip.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@61433 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-19 09:50:08 +00:00
e2e [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
src [Trunk | Monitor Dashboard]: 2021-07-19 09:50:08 +00:00
.browserslistrc [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
README.md [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
angular.json [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
clean-library.sh [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
package.json [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
server.ts [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
tsconfig.json [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00

README.md

Monitor Dashboard

This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.

Install packages

Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.

Development server

Run npm start for a dev server. Navigate to http://localhost:4600/dashboard. The app will automatically reload if you change any of the source files.

Build - CSR

Use the npm run build-dev for a development build.
Use the npm run build-beta for a beta build.
Use the npm run build-prod for a production build.

Build - SSR

Use the npm run build:ssr-dev for a development build.
Use the npm run build:ssr-beta for a beta build.
Use the npm run build:ssr-prod for a production build.

Run SSR

npm run serve:ssr will run the last server build.

Webpack Analyzer

In order to analyze bundle size you can run npm run webpack-bundle-analyzer

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.