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

Issue 10444043: Add annotations to service to prevent jumping.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by matthew.scott
Modified:
10 years, 10 months ago
Reviewers:
mp+170651, jeff.pihach, benji
Visibility:
Public.

Description

Add annotations to service to prevent jumping. Services would jump to the middle of the canvas in the period of time before the RPC call from juju and the delta containing the updated annotations. This is prevented by preemptively setting the annotations on the service in the RPC callback before the x/y attrs are removed. https://code.launchpad.net/~makyo/juju-gui/svc-jump/+merge/170651 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add annotations to service to prevent jumping. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/charm-panel.js View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
10 years, 10 months ago (2013-06-20 15:47:29 UTC) #1
gary.poster
Solution looks good. Trying QA.
10 years, 10 months ago (2013-06-20 15:48:45 UTC) #2
jeff.pihach
LGTM Thanks for the quick fix!
10 years, 10 months ago (2013-06-20 15:49:19 UTC) #3
benji
LGTM as well as QA
10 years, 10 months ago (2013-06-20 17:00:23 UTC) #4
matthew.scott
10 years, 10 months ago (2013-06-20 17:06:48 UTC) #5
*** Submitted:

Add annotations to service to prevent jumping.

Services would jump to the middle of the canvas in the period of time before the
RPC call from juju and the delta containing the updated annotations.  This is
prevented by preemptively setting the annotations on the service in the RPC
callback before the x/y attrs are removed.

R=gary.poster, jeff.pihach, benji
CC=
https://codereview.appspot.com/10444043
Sign in to reply to this message.

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