Closed Bug 1440698 Opened 7 years ago Closed 7 years ago

Pushes with no jobs show "% - 0 in progress" rather than "Complete"

Categories

(Tree Management :: Treeherder: Frontend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: camd)

References

Details

Attachments

(1 file)

STR: look at the top right of the push in https://treeherder.allizom.org/#/jobs?repo=mozilla-beta&revision=3df63b8f9bfaeedc47c149528584346910e47e91 Actual: "% - 0 in progress" Expected: nobody expects the DONTBUILD push, its three main weapons are fear, surprise, and a fanatical devotion to dividing by zero.
Priority: -- → P1
Assignee: nobody → cdawson
Attachment #8954252 - Flags: review?(emorley)
Comment on attachment 8954252 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3273 Left a comment :-)
Attachment #8954252 - Flags: review?(emorley)
I agree with your comment, I changed it so that it will be: * be blank if total is 0 * show "{P}% - {N in-progress}" if it's less than 100, but the total is > 0 * show "- Complete -" if it's 100%.
Attachment #8954252 - Flags: review?(emorley)
Comment on attachment 8954252 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3273 Perfect! :-)
Attachment #8954252 - Flags: review?(emorley) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: