ngx-dynamic-dashboard-framework
ngx-dynamic-dashboard-framework copied to clipboard
Official Release
We really like this dashboard and would love to start using it in a prod environment; are there plans for an official release?
Hi Erick, I currently don't have an official release date set. There are a few more things that I would like to do before then. For instance, make the gadgets more generic and closer to the vanilla ngx charts. Someone contributed code for that I have yet to implement. Also, I need to create an npm module. That said, feel free to take what is there and tailor it to your needs.
I i can ask you an advice, i want to do some experiment with this type of approach, the component creation is clear for me, what kind of method do you use for reorder? I explain: i add two child components to a host component, i want to swith position. Have you some tecnique or point me to the portion of code you use in this library?
@eppak Sorting or repositioning components may be doable with the drag and drop library. Review the sortable capabilities here: https://github.com/akserg/ng2-dnd In addition, the actual drag and drop code is found within the grid component. Here is the html file: https://github.com/catalogicsoftware/ngx-dynamic-dashboard-framework/blob/master/src/app/grid/grid.html
Updating that to be sortable might be what is needed. I will actually, at some point, add this functionality.
Can we avoid/minimize use of session/local storage and can pass control to developer to pass the board at run time?
@9561690684 feeding in the board's data structure programmatically as input is definitely doable. At some point I actually wrote the code to do that. All you need to do is create an @Input property on the GridComponent and associate it with the model class variable. The value of the Input property can be derived from app/services/configuration-sample-boards.model.ts You can pass it in via the BoardComponent's view.html.