☑️ Wunderlist Stats in your Dashing Dashboard
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitignore
LICENSE
README.md
wunderlist_stats.rb
wunderlist_stats.yaml

README.md

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.

  1. 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 and access_token. Enter these two keys into wunderlist_stats.rb or, preferably, create a conf/ directory in your main dashboard project, and create a file called wunderlist_stats.yaml formatted 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 Today Widget

Tasks Completed This Week Widget

  1. 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.
  2. 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>

Tasks Completed Today Widget