Closed Bug 571476 Opened 14 years ago Closed 14 years ago

tbpl UI redesign

Categories

(Tree Management Graveyard :: TBPL, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Swatinem, Assigned: Swatinem)

References

Details

Attachments

(2 files)

Attached patch patchSplinter Review
I have ported the UI redesign I have made for tbpl-server to the normal version, changes include:
- bar on top includes a list of failing builds, no more "matrix"
- results bar on bottom is split up better, only shown when a result is active
(will upload screenshot)
Attachment #450631 - Flags: review?(mstange)
Attached image screenshot of changes
This screenshot should contain all the visible changes, feedback appreciated.
Attachment #450632 - Flags: feedback?(ehsan)
I haven't looked at the patch yet, but in the screenshot it looks like you're decreasing the font-size - are you? If you are, please don't do that, I like it the way it is :)

The rest looks good. Good to see the status table go; it becoming uncontrollably wider with every new OS was annoying.
I've decreased my browser-wide default font-size :)
It fits with a default size of 16px as well, just the "add comment" link "disappears" (the page gets a scrollbar) when the machine name wraps to the next line.
Also, I see that I could have used Config.OSNames for the tooltip, I will fix that when landing.
Could the failing jobs list at the top be annotated with OS icons, so that you can immediately know the OS without hovering them?  Here's what I'm thinking about:

+---+
| W |
+---+

Where W is the icon for Linux, Mac or Windows.  We could even add a 64 to the icon for x86-64 versions.

Could we make the summary and star boxes translucent, like the Add Comment UI?

I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind of cool, but it doesn't really convey any useful information.  I'd very much rather see the sheriff name or tree status in place of it, for example!

Also, I think that the lower right corner of the window is empty for no good reason.  We could use it for useful information, for example, the star information (instead of putting them in the current yellow box).

But overall this really looks nice, so feel free to defer all my suggestions to their own bugs (I'm even willing to write the patches to make them happen!)
Attachment #450632 - Flags: feedback?(ehsan) → feedback+
(In reply to comment #4)
> Could the failing jobs list at the top be annotated with OS icons, so that you
> can immediately know the OS without hovering them?  Here's what I'm thinking
> about:
> 
> +---+
> | W |
> +---+
> 
> Where W is the icon for Linux, Mac or Windows.  We could even add a 64 to the
> icon for x86-64 versions.

That would be a nice followup, indeed.

> Could we make the summary and star boxes translucent, like the Add Comment UI?

Done.

> I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind
> of cool, but it doesn't really convey any useful information.  I'd very much
> rather see the sheriff name or tree status in place of it, for example!

I have planned the middle top for that, once we have server integration where the loading indicator can go away. Right now there is no way to get to that information :/

> Also, I think that the lower right corner of the window is empty for no good
> reason.  We could use it for useful information, for example, the star
> information (instead of putting them in the current yellow box).

Indeed, it looks empty for "normal" jobs, one of the talos jobs however outputs a lot of results for which the place is needed.
Comment on attachment 450631 [details] [diff] [review]
patch

(In reply to comment #5)
> > I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind
> > of cool, but it doesn't really convey any useful information.

I agree.

> >  I'd very much
> > rather see the sheriff name or tree status in place of it, for example!
> 
> I have planned the middle top for that, once we have server integration where
> the loading indicator can go away. Right now there is no way to get to that
> information :/

?
Bug 540464 shows how to get the sheriff.

For the tree status we would have to load the whole Tinderbox page, so that's really not viable without server caching.
(The "closed tree" push hook does it - see http://hg.mozilla.org/hgcustom/hghooks/file/tip/mozhghooks/treeclosure.py - and now I have no idea how pushing can be as fast as it is...)

Arpad, when you're done with the styling changes, just push them to the main repo and I'll try them out and adapt as I see fit. I don't find reviewing CSS in form of a diff very enlightening.
Attachment #450631 - Flags: review?(mstange)
Blocks: 571718
(In reply to comment #5)
> (In reply to comment #4)
> > Could the failing jobs list at the top be annotated with OS icons, so that you
> > can immediately know the OS without hovering them?  Here's what I'm thinking
> > about:
> > 
> > +---+
> > | W |
> > +---+
> > 
> > Where W is the icon for Linux, Mac or Windows.  We could even add a 64 to the
> > icon for x86-64 versions.
> 
> That would be a nice followup, indeed.

Filed bug 571718.

> > I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind
> > of cool, but it doesn't really convey any useful information.  I'd very much
> > rather see the sheriff name or tree status in place of it, for example!
> 
> I have planned the middle top for that, once we have server integration where
> the loading indicator can go away. Right now there is no way to get to that
> information :/

If you load the source of the current tinderbox page, there is some JS code which loads the current sheriff and releng contact at the top of the Tinderbox page (search for current-sheriff or current-releng in that page).  That code seems much better to me that the one in bug 540464.

> > Also, I think that the lower right corner of the window is empty for no good
> > reason.  We could use it for useful information, for example, the star
> > information (instead of putting them in the current yellow box).
> 
> Indeed, it looks empty for "normal" jobs, one of the talos jobs however outputs
> a lot of results for which the place is needed.

Oh, OK, good point.

(In reply to comment #6)
> (From update of attachment 450631 [details] [diff] [review])
> (In reply to comment #5)
> > > I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind
> > > of cool, but it doesn't really convey any useful information.
> 
> I agree.
> 
> > >  I'd very much
> > > rather see the sheriff name or tree status in place of it, for example!
> > 
> > I have planned the middle top for that, once we have server integration where
> > the loading indicator can go away. Right now there is no way to get to that
> > information :/
> 
> ?
> Bug 540464 shows how to get the sheriff.
> 
> For the tree status we would have to load the whole Tinderbox page, so that's
> really not viable without server caching.
> (The "closed tree" push hook does it - see
> http://hg.mozilla.org/hgcustom/hghooks/file/tip/mozhghooks/treeclosure.py - and
> now I have no idea how pushing can be as fast as it is...)

There's a much better way!  :-)

http://tinderbox.mozilla.org/admintree.cgi?tree=Firefox

We can get smart about caching it on the server, but even loading that page on the client side is probably fast enough for starters!

> Arpad, when you're done with the styling changes, just push them to the main
> repo and I'll try them out and adapt as I see fit. I don't find reviewing CSS
> in form of a diff very enlightening.

Reviewing CSS in any form is not very enlightening!  ;-)
(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Could the failing jobs list at the top be annotated with OS icons, so that you
> > > can immediately know the OS without hovering them?  Here's what I'm thinking
> > > about:
> > > 
> > > +---+
> > > | W |
> > > +---+
> > > 
> > > Where W is the icon for Linux, Mac or Windows.  We could even add a 64 to the
> > > icon for x86-64 versions.
> > 
> > That would be a nice followup, indeed.
> 
> Filed bug 571718.
> 
> > > I really don't think that the "Firefox is 97% GREEN" line is useful.  It's kind
> > > of cool, but it doesn't really convey any useful information.  I'd very much
> > > rather see the sheriff name or tree status in place of it, for example!
> > 
> > I have planned the middle top for that, once we have server integration where
> > the loading indicator can go away. Right now there is no way to get to that
> > information :/
> 
> If you load the source of the current tinderbox page, there is some JS code
> which loads the current sheriff and releng contact at the top of the Tinderbox
> page (search for current-sheriff or current-releng in that page).  That code
> seems much better to me that the one in bug 540464.

Actually, I'm going to shut my mouth on this:

<http://www.google.com/calendar/feeds/j6tkvqkuf9elual8l2tbuk2umk@group.calendar.google.com/public/full?orderby=starttime&sortorder=ascending&futureevents=true&singleevents=true&max-results=1&alt=json>

(see bug 540464 comment 2.)
One very big flaw here is that we no longer show an indication of whether a log is showing in the background.  This can mislead people, and I think it definitely needs to be fixed before we can deploy this to the live site.
Actually, I just saw those notifications!  Ignore my comment 9!
Excuse me, what log and what notifications? I'm confused.

Arpad, sorry for taking so long, but the other things I'm working on have higher priority at the moment.
(In reply to comment #11)
> Excuse me, what log and what notifications? I'm confused.

By log, I meant the job summary as loaded by SummaryLoader.js.  By notification, I meant the loading message and the throbber that we show in the UI.
Oh, I didn't even notice that before! That's cool!

I finally deployed this after I made some minor changes. Sorry for the long lag.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Depends on: 574207
Depends on: 574211
Blocks: 547976
Blocks: 558272
Blocks: 544373
No longer blocks: 544373
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: