seomoz / qless

Queue / Pipeline Management
MIT License
295 stars 76 forks source link

Loss of precision on timestamps on UI is unhelpful #107

Closed myronmarston closed 11 years ago

myronmarston commented 11 years ago

qless failed sauron__rebalancer__pipeline__copykey_qless__worker__joblocklost

I find it frustrating that the times displayed on the UI are so imprecise. It would be great if the exact timestamps were still available on the UI somehow. For example, maybe on hover it would display them as a tooltip or something.

dlecocq commented 11 years ago

Totally doable -- I think space permitting I'll put them side-by-side, but otherwise I might tooltip it

dlecocq commented 11 years ago

Got this updated. I don't think it looks terribly cramped with the relative part parenthesized:

screen shot 2013-05-18 at 11 26 51 am

If you're ok with that, then I'll close this one out when this all gets merged.

myronmarston commented 11 years ago

That looks good. One question though: what time zone is that in?

dlecocq commented 11 years ago

It's interpreted as UTC. I snipped off the timezone, actually, to make it look less cramped, but I can add it back in. We could add a config option to set the local timezone for display purposes?

myronmarston commented 11 years ago

I'm on the fence about whether or not the timezone should be included on the UI. I was mostly just asking because I wasn't sure. I like the idea of a config option, though.