Bugzilla, YUI, and other things.

Monday, March 08, 2010

Bugzilla Extensions: Gravatar and Inline Images

There are 2 bugs which I have been paying some attention to recently.

The first one is Bug 222861 which requests that images are displayed when they are mentioned in comments. This bug was important to me because I often found myself and others referring to images and attachments in comments and then having to open them up in a new window. I really wanted developers to just see the mocks i made along with my comments about them. It was determined that this bug makes more sense as an extension. So I wrote one. I've posted it here: http://github.com/pyrzak/Bugzilla-Extension--Inline-Images. Hopefully you guys like it!

The second one is Bug 395802 which requests to be able to support gravatar images. This is something Aza Raskin specifically mentioned by saying make it easier to know "who is this guy". Step 1 is adding a human face to a comment via the gravatar, Step 2 might be about grabbing their stats.

There were 2 mocks that I made as suggestions for how this should look. The first is:

Here is the other mock:

My hope is that we're finally to the point where many of Aza's and other's ideas might be possible thanks to the new extension system and the jsonp bug 550727. Both of which wouldn't be possible if mkanat didn't work so hard to add this kind of mash-up and extensibility, so thanks!

Any feedback about either of these extensions or anything else I mentioned is very welcomed.


  1. Hey, thanks for the shout-out, there. :-)

    As you know, I'm partial to mock #1. Think it looks pretty nice. :-)


  2. Your buglinks are broken.

  3. The second mockup takes up too much space, draws too much attention to the picture (and away from the comment, which is the important content), and makes it harder to find the date/time of the comment.

    Bugzilla is not LiveJournal, so if you’re going to add pictures, small and inline (and out-of-the-way) is much better.

  4. Moving the header to the side (like nearly every forum in the world) makes a lot of sense to me. Especially because vertical space is at a premium, so moving all the header bits to the side helps free that up (especially on wide-screen displays). Though I don't care much for the particular style mocked up here, maybe something a little more like http://grab.by/2WrW

  5. @Justin Dolske: Yeah the mock i did was real code and totally unpolished. Thanks for the additional polish!

  6. Colby Russell3/09/2010 1:46 PM

    Don't many people use dedicated e-mail accounts for their bugmail? Doesn't that defeat the purpose of using Gravatars?

  7. @Colby Russell
    I think you can set up gravatars for multiple emails so in theory if the email is real then you can set it up with a gravatar.

  8. Colby Russell3/11/2010 11:02 AM

    Right, but the point behind Gravatars is so that you can set an avatar once—one that's tied to your e-mail account—then can be used across the Web, like single sign-on for avatars; no need for updating settings for multiple, discrete accounts. But if so many people have effectively discrete accounts for bugmail, is Gravatar's solution applicable?

    Although I suppose there is still benefit for those who don't use separate accounts for bugmail.