Merge lp:~mpt/errors/1267830-series-colors into lp:errors

Proposed by Matthew Paul Thomas
Status: Merged
Merged at revision: 450
Proposed branch: lp:~mpt/errors/1267830-series-colors
Merge into: lp:errors
Diff against target: 27 lines (+5/-3)
1 file modified
errors/api/resources.py (+5/-3)
To merge this branch: bzr merge lp:~mpt/errors/1267830-series-colors
Reviewer Review Type Date Requested Status
Daisy Pluckers Pending
Review via email: mp+205373@code.launchpad.net

Description of the change

a. Changes Ubuntu 14.04 colors in the error rate graphs so that they are much more distinct from Ubuntu 13.10, fixing bug 1267830.
b. Tweaks the '13.10 by 12.04 standards' color, so that it is more distinct from the 13.10 color.
c. Adds 15.04 colors, commented out for now.
d. Adds a spreadsheet to make experimenting with series colors easy in future. The spreadsheet is in Gnumeric format because LibreOffice does not allow specifying precise cell colors.

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

I'll go ahead and fix this but errors/static/js/retracers.js and errors/static/js/most_common_problems.js also need updating.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'errors/api/resources.py'
2--- errors/api/resources.py 2013-12-03 20:50:28 +0000
3+++ errors/api/resources.py 2014-02-07 14:39:44 +0000
4@@ -27,15 +27,17 @@
5 release_color_mapping['Ubuntu 12.10'] = '#05b8ea'
6 release_color_mapping['Ubuntu 13.04'] = '#4f2f8e'
7 release_color_mapping['Ubuntu 13.10'] = '#d20700'
8-release_color_mapping['Ubuntu 14.04'] = '#dd4814'
9+release_color_mapping['Ubuntu 14.04'] = '#ff8b00'
10 #release_color_mapping['Ubuntu 14.10'] = '#d9c200'
11+#release_color_mapping['Ubuntu 15.04'] = '#00e600'
12
13 precise_standards_color_mapping = {
14 'Ubuntu 12.10': '#8edbf4',
15 'Ubuntu 13.04': '#9f8acb',
16- 'Ubuntu 13.10': '#d04a46',
17- 'Ubuntu 14.04': '#eea389',
18+ 'Ubuntu 13.10': '#d26c69',
19+ 'Ubuntu 14.04': '#ffc580',
20 # 'Ubuntu 14.10': '#ece180',
21+# 'Ubuntu 15.10': '#73E673'
22 }
23
24 codenames = {
25
26=== added file 'errors/api/series-colors.gnumeric'
27Binary files errors/api/series-colors.gnumeric 1970-01-01 00:00:00 +0000 and errors/api/series-colors.gnumeric 2014-02-07 14:39:44 +0000 differ

Subscribers

People subscribed via source and target branches