☑️ Wunderlist Stats in your Dashing Dashboard
A Dashing widget to view your Wunderlist task completion statistics.
The Wunderlist Stats widget uses the wunderlist-api
gem, so add that to your project's Gemfile
.
gem 'wunderlist-api'
Now run bundle install
to download the gem.
To get stats from Wunderlist, you have to create an app on the Wunderlist Developer Website.
- Create a new Wunderlist app and generate an access token. The App URL and Auth Callback URL are unimportant.
-
Take note of your
client_id
andaccess_token
. Enter these two keys intowunderlist_stats.rb
or, preferably, create aconf/
directory in your main dashboard project, and create a file calledwunderlist_stats.yaml
formatted in the following manner::access_token: xxx :client_id: xxx
-
Add widgets to your dashboard using the instructions below.
For all widgets: Copy wunderlist_stats.rb
into your jobs/
folder.
Add this widget to one of your dashboard .erb
files.
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="wunderlist_completed_today" data-view="Number" data-title="Wunderlist" data-moreinfo="Tasks Completed Today" style="background-color:#dd4c39"></div>
</li>
- Install jorgemorgado's dashing-barchart
- Note: You must use a version 1.x of Chart.js. I suggest using the
Chart.min.js
from this release.
- Note: You must use a version 1.x of Chart.js. I suggest using the
- Add this widget to one of your dashboard
.erb
files.
<li data-row="2" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="wunderlist_last_week" data-view="BarChart" data-title="Wunderlist" style="background-color:#dd4c39"></div>
</li>