A primitive visualization augments the gloda “other messages by author” listing by showing the messages sent by the author over time.Â Messages are stacked by day.Â The currently selected message is in darkest blue and also very wide.Â Other messages from the same thread/conversation are in lighter blue and less wide.Â Messages not in the conversation are light grey and rather narrow.
It’s not clickable, it lacks any form of scale or any feedback at all, and there are scaling issues.Â (If anyone wants to save me the effort of figuring out how to get the canvas to maintain a 1:1 pixel mapping to the actual display and still ‘flex’ by adding/losing pixels, please do drop me a message or leave a comment.)Â These will all change, but not yet.
I’ve pushed the changes to the mercurial repos and updated the stable tag, but I’m not publishing updated xpi’s, so you’ll need to roll your own if you care.Â (The DB schema has not changed and so does not need to be blown away.)
I am declaring milestone 1 of gloda (the global database extension for Thunderbird 3.x) / expmess (the experimental message view extension for Thunderbird 3.x) reached.Â Milestone 1 basically consists of:
- It statically indexes all of your folders.Â It does not track changes made to your mailboxes.Â It will become confused and angry as time goes on and your message stores change but it stays the same.Â Thankfully, it is also passive aggressive and will merely stop doing useful things rather than trying to eat your data.Â It also refuses to change its ways; if you try and trick it into indexing a message it has already processed but you moved, it will not update the message’s index.Â You can, however, trick it into indexing new messages.
- The indexing sorta happens in the background and has pretty, if dubious from an UX perspective, progress bars (see screenshot).Â This was stolen from M3, making M1 wildly more usable than originally planned.Â At least on my computer, I didn’t notice much performance impact from the indexing, but my system is arguably fairly beefy.Â This can all be tweaked though, especially once we hook the nsIIdleService in.
- It adds a “data mine” pane to the right side of the message window.Â It has a splitter so you can hide it if you want, but you can never be rid of it.Â The data mine shows you the other messages in the current thread and other messages sent by the author… globally!
- If you double-click on a message in the “data mine” added by expmess, it will take you there!Â This is stolen from M2.
- It will print out a lot of debug on standard out.Â It used to print more.
Having said all that, you can get the XPI’s here if you are using Thunderbird/Shredder 3.0a2pre or later, and your build is from July 5th 2008 or later.Â You need to install both of them if you want anything interesting to happen.Â The easiest way to do this is go to “Tools”…”Add-ons” in Shredder, and drag the links into the add-ons pane, at which point it will prompt you and such.Â These extensions will not auto-update.
And the code (in mercurial) is here:
Because of the static indexing, you will probably want to install this extension, mention something about needing to wear sunglasses because of the brightness of the future, and then uninstall it.
Un-installation consists of:
- Disable / remove the gloda and expmess extensions.
- Delete the global-messages-db.sqlite file from your profile directory.Â Or don’t.Â It’s up to you.
I’ll be following this post up with a newsgroup post on mozilla.dev.apps.thunderbird on Monday with more details about planning out the rest of the milestones, as well as the arbitrary changes I had made to my (always tenative) milestone 1 plan.Â Discussion about the global database is probably best directed to the newsgroup, but feel free to post comments here if you want too.