A Dashing widget for displaying tasks assigned to you in Asana.
You need an account with Asana to use this.
Add to dashing's gemfile:
gem 'asana'
gem 'json'
and run bundle install
.
Add the widget HTML to your dashboard
<li data-row="1" data-col="1" data-sizex="1" data-sizey="2">
<div data-id="asana_tasks" data-view="AsanaTasks" data-title="Today's Tasks"></div>
</li>
Create a directory titled "asana_tasks" under your widgets directory and move asana_tasks.coffee, asana_tasks.html, and asana_tasks.scss into that directory.
Get your API key from Asana by logging into asana.com, clicking on your name in the bottom left, and selecting account settings. Select the Apps tab and click on API key.
You also need the name of the workspace that you want to show tasks from.
Modify the api_key and workspace_name variables of the asana_tasks.rb file.
Move asana_tasks.rb into your jobs folder.
This no longer works. I suspect it's because the current asana gem is using an updated api. I am close to making this work with the updated version. I can get a list of tasks in irb but can't get the list to show on my dashboard. Any ideas on how to make this work with the current version of the asana gem?