Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(591)

Issue 7095061: Service health graphs sized properly on update.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by matthew.scott
Modified:
11 years, 3 months ago
Reviewers:
bcsaller, mp+143399
Visibility:
Public.

Description

Service health graphs sized properly on update. Service health graphs were not being resized properly due to d3's enter() not noticing that the values had changed. This is fixed, and may also fix https://bugs.launchpad.net/juju-gui/+bug/1098589 in the process, depending on whether or not we can duplicate that issue. https://code.launchpad.net/~makyo/juju-gui/service-health-graph-update/+merge/143399 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : Service health graphs sized properly on update. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/topology/service.js View 1 2 chunks +15 lines, -2 lines 0 comments Download
M test/test_environment_view.js View 1 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
11 years, 3 months ago (2013-01-15 20:37:30 UTC) #1
gary.poster
Land with (super trivial) changes. Thank you! Looks good to me, tests pass, and it ...
11 years, 3 months ago (2013-01-15 21:19:14 UTC) #2
bcsaller
LGTM, Thanks!
11 years, 3 months ago (2013-01-15 22:37:35 UTC) #3
matthew.scott
Thanks for the reviews! https://codereview.appspot.com/7095061/diff/1/app/views/topology/service.js File app/views/topology/service.js (right): https://codereview.appspot.com/7095061/diff/1/app/views/topology/service.js#newcode548 app/views/topology/service.js:548: .attr('data-outerradius', outerRadius); On 2013/01/15 21:19:14, ...
11 years, 3 months ago (2013-01-15 22:53:39 UTC) #4
matthew.scott
11 years, 3 months ago (2013-01-15 22:57:03 UTC) #5
*** Submitted:

Service health graphs sized properly on update.

Service health graphs were not being resized properly due to d3's enter() not
noticing that the values had changed.  This is fixed, and may also fix
https://bugs.launchpad.net/juju-gui/+bug/1098589 in the process, depending on
whether or not we can duplicate that issue.

R=gary.poster, bcsaller
CC=
https://codereview.appspot.com/7095061
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b