Go to file
Pospolita Nikita 24174d66fe Created pie (donut) chart (#4)
* Created pie (donut) chart

* prettier fixes

* added transition, approach changed

* donut chart refactor and transitions

* Update charts.module.ts

* prettier

* fixes

* Update charts.module.ts

* Update charts.module.ts

* fixes

* refactor

* data methods moved to service

* refactor, import transition in charts module

* duplicate removed

* Update donut-chart.component.ts

* Merge branch 'ft/FE-740/creation' of /Users/hedgehog/dashboard with conflicts.

* Update donut-chart.component.ts

* logic moved to service

* prettier

* prettier

* FE-738. Multiple bar chart (#14)

* multiple bar chart, but wrong data show

* multiple bar chart with ease transitions

* rounded bar chart, theme

* logic moved to service

* prettier

* types

* fixes

* fix for few charts

* fix for few charts

* package lock

* refactor

* duplicate removed

* refactor

* @types/pdfmake installed

* charts config

* charts config

* another charts config

* another charts config with prettier

* config fix

* unused svg removed

* fixes

* Update donut-chart.service.ts

* fixes x2
2019-04-30 13:19:18 +03:00
build_utils@ea4aa042f4 FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
e2e FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
schemes/swag FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
src Created pie (donut) chart (#4) 2019-04-30 13:19:18 +03:00
.gitignore FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
.gitmodules FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
.prettierignore FE-770,FE-828: Add auth config (#5) 2019-04-29 17:29:02 +03:00
.prettierrc FE-716: Layout modules (#3) 2018-12-13 16:22:47 +03:00
angular.json FE-770,FE-828: Add auth config (#5) 2019-04-29 17:29:02 +03:00
containerpilot.json FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Dockerfile.sh FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Jenkinsfile FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
Makefile FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
nginx.conf FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
package-lock.json Created pie (donut) chart (#4) 2019-04-30 13:19:18 +03:00
package.json Created pie (donut) chart (#4) 2019-04-30 13:19:18 +03:00
README.md FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
tsconfig.json FE-809: DaData module (#9) 2019-04-09 19:39:03 +05:00
tslint.json FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
webpack.extra.js Form control UI kit (#2) 2018-12-04 20:38:16 +03:00

Dashboard

Libraries

  • Angular CLI
    • 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).
    • To get more help use ng help or go check out the Angular CLI README.
  • Angular Material
  • Prettier

Initialization

# Install packages

npm ci

# Generate swagger

make wc_shell
make swagger-compile

Development server

  1. Run npm start
  2. Navigate to http://localhost:8000/

Production build

  1. Run npm run build
  2. The build artifacts will be stored in the dist/ directory.

Tests

  • Run npm run test to execute the unit tests via Karma.
  • Run npm run e2e to execute the end-to-end tests via Protractor.

Utils

Analyze bundle size

npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json