Closed
Bug 664235
Opened 13 years ago
Closed 13 years ago
graph colors don't match milestone color
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
VERIFIED
FIXED
2.1
People
(Reporter: jbecerra, Assigned: lonnen)
References
()
Details
Attachments
(2 files, 2 obsolete files)
One of the lines in the graph of crashes per adu doesn't match the column color in the milestones. See 6.0a2 which is yellow, but there's now yellow in the graph. http://grab.by/am1F Steps: 1. Go to crash-stats 2. Choose crashes per adu from the report drop-down Expected: All milestones are represented by a graph matching its color in the column Actual: One of them milestone colors doesn't match.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → chris.lonnen
Assignee | ||
Comment 1•13 years ago
|
||
This patch removes the dashboard.js special case and modifies daily.js to properly color whatever corresponding legend appears. Use `patch -p1 < path/to/b664235v2.patch` to apply.
Attachment #542659 -
Flags: review?(adrian)
Updated•13 years ago
|
Attachment #542659 -
Attachment is patch: true
Attachment #542659 -
Attachment mime type: text/x-patch → text/plain
Comment 2•13 years ago
|
||
Comment on attachment 542659 [details]
Unifies how graph colors are handled
In daily.css, version1, version2 and so on are not used anymore. You should remove it.
Attachment #542659 -
Attachment is patch: false
Attachment #542659 -
Attachment mime type: text/plain → text/x-patch
Attachment #542659 -
Flags: review?(adrian) → review-
Assignee | ||
Comment 3•13 years ago
|
||
Pruned the dead css. This one should be a normal `patch -p0`
Attachment #542659 -
Attachment is obsolete: true
Attachment #542685 -
Flags: review?(adrian)
Updated•13 years ago
|
Attachment #542685 -
Flags: review?(adrian) → review+
Assignee | ||
Comment 4•13 years ago
|
||
checked into trunk as r3253
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
Cool, thanks! When can we expect this to appear in production?
Updated•13 years ago
|
Target Milestone: --- → 2.1
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Juan, mind playing around with this on https://crash-stats.allizom.org, too? I looked at https://crash-stats.allizom.org/daily?form_selection=by_version&p=Firefox&v%5B%5D=5.0&throttle%5B%5D=10.00&v%5B%5D=3.5.13&throttle%5B%5D=10.00&v%5B%5D=3.6&throttle%5B%5D=10.00&v%5B%5D=3.6.3&throttle%5B%5D=10.00&hang_type=any&os%5B%5D=Windows&os%5B%5D=Mac&os%5B%5D=Linux&date_start=2011-07-10&date_end=2011-07-24&submit=Generate
Assignee | ||
Comment 8•13 years ago
|
||
The copy of /js/socorro/daily.js is different than what is in both trunk and the release branch Compare: https://crash-stats.allizom.org/js/socorro/daily.js http://code.google.com/p/socorro/source/browse/branches/releases/2.1/webapp-php/js/socorro/daily.js Significantly, its missing the function that aligns the colors. Also, judging from the out output, the php that generates that page is out of date. It is still generating class="version{someNumber}" tags. The check in that fixes this trimmed those to be class="version".
Comment 9•13 years ago
|
||
As there isn't much data at all on crash-stats-dev, I'll wait until this fix lands on staging, then :-)
Updated•13 years ago
|
Attachment #548337 -
Attachment is obsolete: true
Verified FIXED using https://crash-stats.allizom.org/daily?form_selection=by_version&p=Firefox&v%5B%5D=6.0&throttle%5B%5D=100.00&v%5B%5D=7.0a1&throttle%5B%5D=100.00&v%5B%5D=5.0&throttle%5B%5D=100&v%5B%5D=5.0.1&throttle%5B%5D=10.00&hang_type=any&os%5B%5D=Windows&os%5B%5D=Mac&os%5B%5D=Linux&date_start=2011-07-10&date_end=2011-07-24&submit=Generate.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•