This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathREADME
37 lines (28 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
This is a free, open-source, sample application demonstrating use of the
Asana API. It takes the form of a Chrome Extension that, when installed,
integrates Asana into your web experience in the following ways:
* Creates a button in your button-bar which, when clicked, pops up a
QuickAdd window to create a new task associated with the current web page.
You can click a button to populate the task name with the page title and
the URL and current selected text in the notes.
* Installs the special Asana ALT+A keyboard shortcut. When this key combo
is pressed from any web page, it brings up the same popup.
This functionality will operate on any window opened after the extension
is loaded.
See: http://developer.asana.com/
Files of special interest:
api_bridge.js:
Handles generic communication with the API.
server_model.js:
Wraps specifics of individual API calls to return objects to calling code.
This is not a real ORM, just the bare bones necessary to get a few
simple things done.
popup.html
Source for the popup window, contains the top-level logic which drives
most of the user-facing functionality.
To install:
1. Download the code, e.g. `git clone git://github.com/Asana/Chrome-Extension-Example.git`
2. Navigate chrome to `chrome://extensions`
3. Check the `Developer mode` toggle
4. Click on `Load Unpacked Extension...`
5. Select the folder containing the extension