Skip to content

bcongdon/dashing-wunderlist-stats

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

About

☑️ Wunderlist Stats in your Dashing Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages