Friday, August 15, 2008

"Hacking" Basecamp: Greasing Those Time Reports

In a previous post I was talking about how we can use HTML tricks through Textile to better organize and document things in basecamp. Some things just can’t be done as simple, though.

Time reports

Basecamp Time Report (Before)The default time report view in Basecamp is useful especially when you want to review how the past time was spent. However, the view is sorted by clients instead of being sorted by day. That’s fine when you’re dealing with only a couple of clients, but when your focus is—per say—the past week and you’ve dealt with 7 clients things get messy.

Won’t fit without some grease

There was no easy “out of the box” way to deal with the issue, which is why we needed some extra help from a dear Firefox extension:
 Greasemonkey. If you want to use the following script, you’ll need to install the  Greasemonkey Firefox add-on.

Basecamp Time Report (Before)Now that you have Greasemonkey installed it’s time to get the script for the sorted time reports. I’ve uploaded the Basecamp: Time Report script on  userscripts.org and version 0.1 is ready to be used! Once you have installed the script head to your local Basecamp and create a time report for a week to test it. Enjoy the beautiful time report sorted by day

I’m planning to update the script soon with more functionality, so be sure to check for updates.

Going back is easy even easier

If you ever need to go back to the per-client view, just switch Greasemonkey off by clicking it’s icon. Sure, it will turn into a sad face, but don’t worry about that yet.

Update: Group by project, Group by day

I've recently updated the script to add a button instead of directly changing the view. You'll find the "Group by day" link near the "Edit report" link.


There’s a lot more that can be done with Greasemonkey, and a quick look through the existing scripts on  userscripts.org will prove just that. In an upcoming article about Basecamp Hacks I will show you how to print branded Writeboards.

No comments: