NPellet / visualizer

Other
43 stars 23 forks source link

New module : hyperlink tiles #932

Open lpatiny opened 8 years ago

lpatiny commented 8 years ago

We could make a new module that allow to easily create tiles that allows to go to specific pages. It should be compatible with on-rocks and may require to send an event. While it could use tiles we could also think about 'circle' as a possible alternative design.

We could use the following library: http://troolee.github.io/gridstack.js/demo/serialization.html And be able to save / load the position / size of the tiles in localStorage based on the current page name

Input variable: Tiles configuration : array of object containing:

ActionIn:

Text should increase proportionally to the div.

Input variable: Will contain the default event to send if the system is on-tabs

Input variable : object containing the data to send to iFrameBridge On tabs requires:

For the creation of the gridstack seems that new elements could have the attribute: data-gs-auto-position

Should we be able to suppress some icon and then to be able to 'reset' (an action) so that all the possibility appears ? Or toggle so that all the icons (even hidden) are displayed (probably a better solution).