-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rotating dashboards #369
Comments
It would be great to include those nice transitions https://gist.github.com/jwalton/6670630 and to create aggregating dashboard which would take list of rotating dashboards as parameter, ie. |
@GreatPotato It's unclear to me whether you wanted per-request control over which dashboards are shown, but let me describe our setup. We use a combination of the aforementioned gist and PR #306 (purely to keep things organized). Pretty straightforward:
department1.slim, department2.slim, [...departmentN.slim] and company.slim are all aggregating dashboards. For example (company.slim): script type="text/javascript"
| Dashing.on('ready', function() {
| Dashing.cycleDashboards({timeInSeconds: 60});
| });
== Slim::Template.new('dashboards/department1/dash1.slim').render
== Slim::Template.new('dashboards/department1/dash2.slim').render
== Slim::Template.new('dashboards/department2/dash1.slim').render
== Slim::Template.new('dashboards/department2/dash2.slim').render We can trigger individual dashboards (e.g.
Note: better escaping of |
@GreatPotato did you check out cyclist? https://github.com/vrish88/sinatra_cyclist |
There are a number of options in this list: https://github.com/Shopify/dashing/wiki/Additional-Widgets#other-third-party-tools Please close this issue. |
@protomouse Did you (or anyone else) document anywhere how to run dashboards with slim? I could not find much about that and it would be very useful. I tried the obvious, adding slim to the Gemfile and renaming the dashbaords to .html.slim or just .slim,and it does not seem to work. I see that you include the parts of a dashboard, however, how does the layout and the main entry point for a dashboard? |
We've setup lots of dashing dashboards - different departments need different data. This all works great out of the box.
What we'd really like to do is have our management to rotate between all dashboards - is there anyway to do this? Would this be something to make the browser do instead? Not sure on the best approach for this...
Would love your thoughts!
The text was updated successfully, but these errors were encountered: