Show count of jobs classified as "fixed by commit" for push
Categories
(Tree Management :: Treeherder: Frontend, defect, P3)
Tracking
(Not tracked)
People
(Reporter: aryx, Assigned: pachicarlson)
References
Details
(Keywords: good-first-bug, outreachy, Whiteboard: [lang=js])
Attachments
(3 files)
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Fixing this will involve modifying the code here:
You would want to count any job that has failure_classification_id of 2 (which is "Fixed by Commit" here: https://github.com/mozilla/treeherder/blob/4cfdae3f41d656840486b771501f6498836e7710/treeherder/model/fixtures/failure_classification.json#L10)
Next, you want to display that new value. That should be done here: https://github.com/mozilla/treeherder/blob/7f72192565a6eac8af503de67a2783a9756a20a3/ui/job-view/pushes/PushHeader.jsx#L419
If the value is above 0, then it should be shown in red. Use your discretion on how to make it look. Perhaps something that would stand out to a user with color vision impairment.
Comment 6•6 years ago
|
||
In addition, when you've got your changes in a state where you can start testing, you can run your code against our stage environment. You start the code in your command-line with yarn start:stage. You should be able to classify a job as "Fixed by commit", once you're logged in.
When you classify it, your count should update on the top-row of the push.
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
See attachment for where these counts ( and your new count ) will display on each push.
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Nice work, Pachi!
Description
•