Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

ngx-dynamic-dashboard-framework

> 前端框架
Open source

This is a JSON driven angular x based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/raulgomis/angular-dashboard

189 stars0 likes2 views
WebsiteGitHub

About

This is a JSON driven angular x based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/raulgomis/angular-dashboard

NGX Dynamic Dashboard Framework

Natural Language Processing (NLP) integration

Sample Board 1

Add Board and Gadget

Layout

Example JSON document

The following JSON document describes a single board along with its layout, gadgets and their properites.

…

Alert/Notification

Sample Realtime Web Socket Based Gadget

Sample Board 2

Drag and Drop

Facet Filter

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:

  • Angular - https://angularjs.org/
  • ngx-charts (angular based d3 charts) - https://github.com/swimlane/ngx-charts
  • Semantic-UI - https://semantic-ui.com/
  • ng2-dnd drag and drop - https://github.com/akserg/ng2-dnd
  • AI Natural Language Processing - The board includes two options for AI, Wit.Ai and IBM Watson.
  • Wit.ai - Natural Language Processing site has been integrated via JSONP
  • IBM Watson - IBM Watson does not support JSONP so the code relies on a backend implementation of the IBM Watson SDK. I offer sample backend code based on Spring Boot within the comments of the Runtime Service

Features:

  • Leverages Angular's dynamic data driven forms approach for gadget property pages and properties - https://angular.io/guide/dynamic-form
  • Dynamic component strategy for creating gadget instances during runtime - https://angular.io/guide/dynamic-component-loader
  • Faceted gadget search approach leveraging tags
  • Support multiple board creation
  • Drag and Drop support
  • Multiple Data Source/Endpoint management
  • Web Socket support
  • Completely customizable and configurable

Getting Started Developing a Gadget

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.

Define the Gadget Component, Service and View

  • Todo Component todo-gadget.component.ts
  • Todo View view.html
  • Todo Service service.ts
  • Sample mock service data todo-model.json

Define the gadget's model

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 the gadget entry to the gadget factory class

Add an entry for your gadget in the factory gadget class gadget-factory.ts

Gadget Icon

Define an image/icon for your gadget todo.png

Gadget Module References

  • Import the gadget's component into the board module board.module.ts
  • Import the gadget's service into the grid module grid.module.ts
  • Import the gadget's component and service into the gadget module gadget.module.ts

NgADF

This project was generated with Angular CLI version 7.x.

Setup

Clone this repository then run npm install

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.

Build

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.

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. Before running the tests make sure you are serving the app via ng serve.

Source Code Documentation

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

Spring Boot Backend Project

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:

  • Install and configure Maven.
  • Copy the dist directory produced from this project's build into the static folder of the microservice project.
  • Build the microservice project using /mvn install from within the project's root directory.
  • Launch the microservice over the default port: http://localhost:8080 using java -jar /target/ngxdd-x.y.z.jar

Further help

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptangularangular-materiald3dashboard

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架