Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

dashing-reload

dashing-reload is a widget for Shopify's dashing framework to cause the browser to reload the page periodically. This is done to work around problems in the browser due to memory utilisation that become apparent after having a dashboard loaded for an extended period of time. (See http://toxaq.com/index.php/2012/12/running-shopifys-dashing-on-a-raspberry-pi/#comment-91)

This repo contains the reload widget that when included in a dashboard will automatically cause the browser to reload.

Configuration

Copy the reload directory to the widgets directory in your dashing installation. Include the reload widget in your dashboard, outside of the gridster div.

<div data-id="reload" data-view="Reload" data-title="Reload" style="display: none"></div>

If you really want to see the countdown you can add it as you would any other widget.

<li data-row="999" data-col="1" data-sizex="1" data-sizey="1">
    <div data-id="reload" data-view="Reload" data-title="Reload"></div>
</li>

The pre-configured reload interval is 30 minutes. You may set this value in reload.coffee

See also

Another author has created the Remote Reload widget which allows you to trigger a page reload from an external process. You could use that widget along with a dashing job that periodically triggers the reload to achieve the same thing provided by this Reload widget.

About

Periodically reloads a dashing dashboard in the browser.

Resources

Releases

No releases published
You can’t perform that action at this time.