Axel Hecht Mozilla in Your Language

February 20, 2009

Not a Bonsai

Filed under: Mozilla — Tags: — Axel Hecht @ 11:34 am

News from the tooling sink.

I just brought up what I needed to replace bonsai for hg on stage/pushes. My request list was as follows

  • Query multiple repositories at once
  • Query for landings to particular directories and files

I would love to get graphs and blame and mark, but I’m still hoping on hgweb on that.

The navigation is a bit rough still, it doesn’t have pages, yet, for example. I’m rather happy with the search, though. As it’s not discoverable, I’ll guide you through a bit. Here’s what a sample search would look like:

Sample search dialog

You get to this dialog by hitting the search button on the top left. First, you see a limit, this is the maximum number of pushes shown. The button switches that on or off in the query. The next two options are a tad more interesting, they allow you to search in a period of time. I use a date-time-picker for both from and until. Again, the buttons switch those on and off. The choice button lets you add more queries for paths and repository names, which are the piece after hg.mozilla.org in this setup. But on to the date-time-pickers…

I actually think those are fancy, and yes, I wrote those from scratch. I shamelessly stole the navigation pattern from Simile’s Timeline, i.e., I have bands with different resolution in time, which you can scroll. As I don’t display any events inside the bands, they’re actually empty, but the topmost band is months, then you have a band for days and one for hours. That lets you select a date and a time in a rather untuitive fashion, once you get used to the fact that sliding to the right is decreasing. Which is right for the UI pattern, it just feels awkward.

I find that UI pretty good, in fact, much better than other datetime pickers I found on the net, or the one that Philipp presented at FOSDEM.

The biggest challenge I have is making it accessible, though. Suggestions welcome. I think that a11y on pushes sucks in general, patches accepted :-).

A note of warning to end this post. We’re adding services at a faster pace than CPUs on the l10n server. Please pound this one with care, i.e., don’t pound it. It’s gonna enforce limits on searches right now to some extent, be nice. Thanks.

2 Comments

  1. In the date picker, if I start dragging towards the left and then I have realized that I have gone too far I would pull towards the right but for my surprise it continues rolling as if I was still dragging to the left. It is an odd feeling to have to let go of the control to be able to go in the opposite direction.

    Comment by armenzg — March 3, 2009 @ 8:16 am

  2. Can’t reproduce that here. What your browser? Platform, version, etc.

    Comment by Axel Hecht — March 3, 2009 @ 11:40 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress