Skip to content

thunderbird, gloda, exptoolbar, protovis, paninaro, oh oh oh

exptoolbar-protovis-gloda-256

Thunderbird.  With the global database, gloda.  Using the exptoolbar extension.  Using the protovis javascript visualization library.  For reals!  Not a prank!  Just grab the most recent XPI or grab the repo.  And be using a nightly (beta 2 might work?)

What you are looking at:

  • The exptoolbar search results page, augmented with a visualization.
  • Each conversation with search results gets its own wedge.
    • Wedges can be distinguished because of the alternating background colors.
    • Conversations that you sent a message to will have a red shading to them.  The examples may be somewhat misleading because the account where a lot of my sent mail ends up is not part of the profile used to create the screenshots.
  • Each message is placed in its conversation wedge…
    • The radius is based on the ‘age’ of the message using a log-ish scale.  Interpolation is actually linear at each level (one day, one week, one month, three months, one year, 5 years, ‘forever’.)
    • The angular placement within the wedge is based on the author of the message.  Across all wedges the placement is the same.  This helps ‘bursty’ parts of conversations (which are extremely likely) be made more obvious, while also helping to provide some understanding of conversation dynamics.
  • Message shapes are determined by whether the message is starred (diamond), sent by a ‘popular’ contact (circle), or an unpopular one (cross).  The use of popularity is a temporary measure because current gloda in trunk does not cache address-book lookups, and they are expensive.  Once the new gloda search code lands with those changes, we can rely on the existence of an address book entry.  (Starring a contact using the new message reader adds them to your address book.)
  • Message opacity is determined by whether the message is a ‘hit’ or not.  All messages in a conversation are eventually retrieved, though initially we only have the hits.
  • Message color is determined by applied tags (using the closest tango color for the first tag), or whether the message is starred (closest tango color to yellow, where I think I had removed the yellow tango colors for some unknown reason, so we get green I guess).  It’s grey if the message has no tag or star.
  • The subject of the conversation is displayed in the wedge.

exptoolbar-protovis-seek-thunderbird-256

Things that are happy:

Things that are sad (aka caveats):

  • It would probably be better if the visualization was not radar-inspired.  Besides the perceptual reasons, the subjects are harder to read than they would be in an equivalent linear-styled visualization.
  • The visualization is not interactive.  protovis officially has no interaction support yet, but if you look in the (only available minified?) source, it’s almost there.  It might be entirely there, but it didn’t work for me immediately after a quick reading of the (indented) source.
  • There is some low probability failure that occurs during the visualization updating as gloda backfills the message collections.  If it happens on the last update, you can end up with a half-built visualization.  Re-running the search will generally resolve the issue.
  • The visualization does a pretty solid job of taking up all the screen real estate and has no way to be disabled, so you have to scroll past it every time.

Future work:

  • Interactivity.
  • Perhaps showing the gravatars for the people involved in a conversation at the outer rim of the wedge, positioning them based on the author positioning we determined.
  • Perhaps lose the radar motif.
  • Your thoughts / patches!

{ 5 } Comments

  1. Merike | April 1, 2009 at 4:16 pm | Permalink

    It’s refreshing to see data without a table. As for reading text it makes you want to *roll* it as you’d do with a lottery wheel. Could be done with left and right arrows for example.

  2. willyaranda | April 1, 2009 at 4:57 pm | Permalink

    It seems that it’s not working on beta 2, at least on my es-ES official build.

    Using the latest comm-central l10n build, it works! nice and awesome work!

  3. fishy | April 1, 2009 at 9:34 pm | Permalink

    some problems:
    1. no reply button on exptoolbar, so I have to reply a mail by keyboard shortcut
    2. in search result, mail body decoding is horrible. Even well encoded UTF-8 mail like this (sent from Thunderbird):
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    will show lots of garbled texts.

  4. VLS | April 2, 2009 at 12:01 am | Permalink

    Cool stuff, but after reading this I couldn’t help but think of “Radial Dialogue Tree”s.

    See: http://www.blizzard.com/diablo3/_images/lang/en-US/ss83-hires.jpg
    From: http://www.blizzard.com/diablo3/characters/archivist.xml

    (might want to note it was 2009-04-01 !)

  5. Andrew Sutherland | April 2, 2009 at 5:13 am | Permalink

    Merike, yes, we could do that. I feel like that would be a ‘workaround’ for a design that is hard to read, though. Do you think you’d really be able to work with the visualization on a day-to-day basis? Of course, there are some things we could do to increase readability without losing the ‘radar’ look, but it still seems wasteful…

    willyaranda, thanks for checking and glad you like it!

    fishy,
    1) The message reader has a reply button on it (if sufficiently expanded?). Or, you can also bring the old toolbar back and/or customize the exptoolbar (I think…?)
    2) There was a problem with the JavaScript Mime emitter that was resolved somewhat recently. However, unless you blew away your global-messages-db.sqlite manually, the messages will not have been re-indexed correctly. If you quit Shredder/Thunderbird, delete the global-messages-db.sqlite file, and then start Shredder/Thunderbird again, wait a while for it to index, then you should have non-garbled text.

    VLS, hmm… maybe that would make a good templated reply system… ;)

{ 1 } Trackback

  1. [...] that I will dump Gmail for something he and the Messaging team come up with one day ;) and the visualizations that he is playing with are quite cool indeed. Seeing your email in different ways (not just in a table) can open the [...]