Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Release #9

Open
ebourgeois opened this issue Apr 11, 2018 · 5 comments
Open

Official Release #9

ebourgeois opened this issue Apr 11, 2018 · 5 comments
Labels

Comments

@ebourgeois
Copy link

ebourgeois commented Apr 11, 2018

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

@jayhamilton
Copy link
Contributor

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.

@eppak
Copy link

eppak commented Jul 6, 2018

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?

@jayhamilton
Copy link
Contributor

jayhamilton commented Jul 18, 2018

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

@9561690684
Copy link

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

@jayhamilton
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants