1.0.10 • Published 9 months ago
dashboard-module-sdk v1.0.10
dashboard-sdk-library
Instructions for setting up
Delete existing node_modules from project root and from testharness ( If exists ) Now in root, Run :
npm start
This runs the library compiler.
Running Test harness module
cd testharness && npm start
This launches the test harnessing module to localhost:3000, where both library and testharnessing modules are rendered in realtime.
Usage
import React from 'react'
import ComponentName from 'testcreatelib'
import 'testcreatelib/dist/index.css'
class Example extends React.Component {
render() {
return <ComponentName />
}
}
Publishing library to NPM
Login into your npm account & publish
npm login && npm publish
Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
TODOs
- Filter auto apply settings DONE
- Cancel requests before firing new one DONE
- Pass filter options in SDK input DONE
- Multiple downlaod options, global downlaod options DONE
- Follow filters for compnent request update (use dependentFields json param)
- Dashboard selection
- Filters
- Grouping of filters for exclusivity
- Gropuing of filters for non-exclusivity
- Filter alignments
- Filter costomisations "dropdown/switch/radio/checkbox/toggle" etc