dashing-wunderlist-stats
☑️ Wunderlist Stats in your Dashing Dashboard
A Dashing widget to view your Wunderlist task completion statistics.
Dependencies
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.
Authorization
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_idandaccess_token. Enter these two keys intowunderlist_stats.rbor, preferably, create aconf/directory in your main dashboard project, and create a file calledwunderlist_stats.yamlformatted in the following manner::access_token: xxx :client_id: xxx
-
Add widgets to your dashboard using the instructions below.
Usage
For all widgets: Copy wunderlist_stats.rb into your jobs/ folder.
Tasks Completed Today Widget
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>Tasks Completed This Week Widget
- Install jorgemorgado's dashing-barchart
- Note: You must use a version 1.x of Chart.js. I suggest using the
Chart.min.jsfrom 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
.erbfiles.
<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>
