ngx-dynamic-dashboard-framework icon indicating copy to clipboard operation
ngx-dynamic-dashboard-framework copied to clipboard

Official Release

Open ebourgeois opened this issue 6 years ago • 5 comments

We really like this dashboard and would love to start using it in a prod environment; are there plans for an official release?

ebourgeois avatar Apr 11 '18 19:04 ebourgeois

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.

jayhamilton avatar Apr 12 '18 02:04 jayhamilton

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 avatar Jul 06 '18 14:07 eppak

@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.

jayhamilton avatar Jul 18 '18 00:07 jayhamilton

Can we avoid/minimize use of session/local storage and can pass control to developer to pass the board at run time?

9561690684 avatar Dec 31 '18 09:12 9561690684

@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.

jayhamilton avatar Jan 01 '19 14:01 jayhamilton