这是一个基于 JSON 的基于 Angular X 的仪表板框架,它受到 JIRA 的仪表板实现和 https://GitHub.com/raulgomis/angular-dashboard 的启发。
这是一个基于 JSON 的基于 Angular X 的仪表板框架,它受到 JIRA 的仪表板实现和 https://GitHub.com/raulgomis/angular-dashboard 的启发。
The following JSON document describes a single board along with its layout, gadgets and their properites.
…Note: This project is under heavy construction and is not intended for general production use yet. As such, we are not accepting bugs at the moment and documentation is quite lacking.
This is an angular (ngx) based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/angular-dashboard-framework/angular-dashboard-framework
The primary projects leveraged:
Features:
The code includes a very simple Todo gadget that can be used as an example for getting started developing your own gadget. The following steps uses that Todo Gadget as a reference. You focus on defining the gadget and the rest of the framework will deal with making it available to the Add Gadget Modal, drag and drop, instance creation, tracking, persistence and cleanup, etc.
The model is used to dynamically create and render the gadget and its property page forms. This model is an entry into a model array used for all gadgets. You will simply add an entry to the model's array. See the Todo entry. Add an entry for the gadget in the library model array gadget-library-model.json
Add an entry for your gadget in the factory gadget class gadget-factory.ts
Define an image/icon for your gadget todo.png
This project was generated with Angular CLI version 7.x.
Clone this repository then run npm install
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.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --aot --prod flag for ahead of time compilation and production mode.
The title of that issue suggests an issue with AOT but in my testing --prod seems to be the problem.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve.
This project uses the compodoc project : https://github.com/compodoc/compodoc
Run npm install -g @compodoc/compodoc to install compodoc globally
Run compodoc -p tsconfig.json -n 'NGX Dynamic Dashboard Framework' to generate the documentation. It will be placed in the documentation folder
Run compodoc -s to serve up the documentation site at http://localhost:8080
There is an accompanying java based backend project that serves up some of the endpoints used by the board.
https://github.com/catalogicsoftware/ngx-dynamic-dashboard-framework-microservice
It is a maven based project so you will need to do the following:
static folder of the microservice project. /mvn install from within the project's root directory. http://localhost:8080 using java -jar /target/ngxdd-x.y.z.jarTo get more help on the Angular CLI use ng help or go check out the Angular CLI README.
暂无开放 Issues,或尚未同步最近议题。