Closed
Bug 757879
Opened 12 years ago
Closed 12 years ago
Consider removing the concept of latest job of each type
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
5.80 KB,
patch
|
Swatinem
:
review+
|
Details | Diff | Splinter Review |
Following on from bug 656732 comment 10. Bug 656732 is removing the failing job squares from the top right TBPL status panel. This just leaves the tab title and the "N Jobs is/are failing" string that use the concept of the latest job for each type of run. If we decided that having the tab title/other string display the total unstarred jobs, and not just of each type, then we could do a fair amount more cleanup.
Assignee | ||
Comment 1•12 years ago
|
||
Sorry, the last sentence should read: If we decided that having the tab title/other string display the total unstarred jobs, and not just of each type, was acceptable (or even preferable, given it shows how much work the tree needs in terms of starring), then we could do a fair amount more cleanup.
Assignee | ||
Updated•12 years ago
|
Summary: Remove concept of latest job of each type → Consider removing the concept of latest job of each type
Assignee | ||
Comment 2•12 years ago
|
||
Patch for if we go ahead with this. Think I've got everything that can be cleaned out.
Comment 3•12 years ago
|
||
Comment on attachment 627249 [details] [diff] [review] Patch v1 Review of attachment 627249 [details] [diff] [review]: ----------------------------------------------------------------- Awesome! I need to take a deeper look at this myself, maybe i find something as well. Haven`t been around that code for a while. ::: js/UserInterface.js @@ +786,5 @@ > } > } > > $('#status').get(0).innerHTML = (function calcHTML() { > + return '<strong>' + failing.length + '</strong> Unstarred'; This should be `unstarred`. You can probably add both failing and unstarred in there.
Attachment #627249 -
Flags: review?(arpad.borsos) → review+
Comment 4•12 years ago
|
||
Failing might be interesting if someone wants to write a "display failing when we're displaying a single push" patch, but in general, let's not. I haven't refreshed since I woke up, so my mozilla-inbound tab is displaying 20 or 30 pushes, and I don't have any need whatsoever to be told that that's "120 failing" or "180 failing" or whatever it is.
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Arpad Borsos (Swatinem) from comment #3) > This should be `unstarred`. I capitalised it to match "N Jobs...". I don't really mind either way though...
Assignee | ||
Comment 6•12 years ago
|
||
Ah! You meant use the variable unstarred instead of failing.length, rather than talking about the capitalisation of the string 'unstarred', sorry that makes more sense. (Just realised what you meant after testing locally and spotting that the tab title wasn't matching the number shown in-page). Landed with that change: http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/b5e2ef235e55
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
Yep that is what i meant. Thanks!
Updated•10 years ago
|
Product: Webtools → Tree Management
Updated•9 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•