Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes bug 884944 - Colors in /daily once again don't match #1419

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented Aug 20, 2013

@brandonsavage r?

I recommend you pull down my fork and play around with it.

@@ -537,6 +550,11 @@ def daily(request, default_context=None):
context['data_table'] = data_table
context['graph_data'] = json.dumps(cadu)
context['report'] = 'daily'
print context['os_names']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preeent

@brandonsavage
Copy link
Contributor

This still doesn't actually fix the issue which was reported, namely the fact that the table colors don't match the graph colors. See attached screenshot, where the purple line actually represents WaterWolf 5.0a1's data from the table. In fact, the labels on the graph don't match the data they display (even though they DO correlate with the specific color in the table).
screen shot 2013-08-20 at 4 58 09 pm

r-

@peterbe
Copy link
Contributor Author

peterbe commented Aug 21, 2013

As discussed in person, the ordering of the versions has now been fixed in peterbe@187e18b

@@ -246,7 +246,6 @@
<div class="body">
<div id="adu-chart"></div>
<p class="adu-chart-help">This graph uses an approximate <a href="https://wiki.mozilla.org/Socorro/SocorroUI/Branches_Admin#Throttle">throttle value</a> for each version, which may not be completely accurate for the entire time period.</p>
<div id="adu-chart-legend"></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we remove this?

@brandonsavage
Copy link
Contributor

r+ when Leeroy is happy. FWIW I ran the tests locally and they pass.

@peterbe
Copy link
Contributor Author

peterbe commented Aug 21, 2013

Merged 9a11802

@peterbe peterbe closed this Aug 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants