29th April, 2013
Google Tasks is pretty cool - well integrated with Gmail and a good notepad for things to do.
However, I’ve always had problems with it because I quite like working on the Chromebook when I can, and getting to the tasks can take a while with loads of tabs and windows.
So this afternoon I bashed together TaskApp. The basic idea is it packages your Google Tasks into a Chrome app so it gets its own window.
Having looked at the source code for the official Google Tasks Chrome Extension, available on Google Code, and when it renders stuff it basically cheats and dumps an iFrame which contains the iGoogle version of the Tasks app.
So that’s basically what I did with this app. With the exception that it uses the new(-ish) <webview> tag (which, by the way, is AWESOME) so I don’t have to worry about any OAuth stuff. It simply uses redirect listeners to work out whether you are logged in, and if not it launches a new window where you can do so. Then, when you have logged in, it opens the smaller window again.
Simple (only about 30 lines of JS all told) and pretty effective - I’ve quite enjoyed using it already this afternoon.