These have proved tough-times for everybody, so I am asking for you the community to show some and give this component some likes before it will be released
Very lucky having been on this forum since it began I have linked up with some super-cool dashboard users. So I would like to give @BoSen29 some respect for helping me out on this mini-project.
What is it?
Quite simply it is a drag-and-drop component for universaldashboard
Thanks @insomniacc for the like we are actually looking on developing this a bit more, I can’t release too much details but I have also asked @augustin.ziegler as well as @BoSen29 for additional input. So hopefully soon the 3 amigos will have something new for the community to play with, to enable easy drag-n-drop on any component, plus some other features…I need to make sure I do some proper testing hence the extra people for ideas and support is appreciated.
Here is an updated preview of this component in action:-
Officially released to the UniversalDashboard MarketPlace
What have you gone and done…?
Well what started as a basic movable DIV tag has now evolved to something much bigger and greater. Just have a look from top to bottom of this post to see how this component evolved. I am combining three yes three different components to bring you
Well I am always up for bringing new components to the amazing world of UniversalDashboard and I stumbled across what appears to be the most downloaded component right now https://www.npmjs.com/package/react-draggable and then I managed to integrate the resize handles which is another component to resize the window manually, and then added the last component which was to show or hide the window, giving you the two buttons across the top. I wanted to get the blessing of @adam as this is kind of giving some of the functionality that is only available in Enterprise edition…I just hope all the people who use this software for free will eventually buy the project and show the proper respect the developer is due
How did you do it…?
As I say to everyone who asks just watch the youtube video @adam done on creating custom components, watch it enough times and it will make sense I was also very lucky to be shown the light by @BoSen29 who shared a very handy link which enabled me to imbed UniversalDashboard components inside the window via the -Content scriptblock parameter
Any Questions…?
Please just ask and I will be happy to assist best I can
The Battle Off
So out of this component @BoSen29 actually developed his own component! So this is a double-whammy of components, both Window components, but unique in there own way…so hopefully my fellow good friend @BoSen29 will update this post with his component
Thanks for reading
If you got this far well done. and thanks for reading
I’ll have a look at those!
Yes I want to use the react-beautiful-dnd and then build something like this, which allows me to drag items from one list to another. https://codesandbox.io/s/ql08j35j3q?file=/index.js
I managed to get the react-sortable-list done, so I’ll look at the more tricky options now