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

Issue 10876044: Mis-aligned relation with DnD services

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+172632, jeff.pihach, benji
Visibility:
Public.

Description

Mis-aligned relation with DnD services Dropped services were missing the 'dragged' attribute, which informs the code the deploys them that they have been intentionally placed, and thus their x/y coords need to be stored in annotations. The behavior seen was a result of the service box having .x and .y set, but not .annotations['gui-x'] and .annotations['gui-y']. The attribute 'dragged' is now renamed to 'hasBeenPositioned', and tests added. https://code.launchpad.net/~makyo/juju-gui/rel-fix-2/+merge/172632 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Mis-aligned relation with DnD services #

Patch Set 3 : Mis-aligned relation with DnD services #

Patch Set 4 : Mis-aligned relation with DnD services #

Patch Set 5 : Mis-aligned relation with DnD services #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/charm-panel.js View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M app/views/ghost-inspector.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M app/views/topology/service.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M test/test_charm_panel.js View 1 2 3 3 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 6
matthew.scott
Please take a look.
10 years, 10 months ago (2013-07-02 17:16:27 UTC) #1
jeff.pihach
LGTM - u rock!
10 years, 10 months ago (2013-07-02 17:18:32 UTC) #2
benji
LGTM. It would be nice to have a test too.
10 years, 10 months ago (2013-07-02 18:03:44 UTC) #3
matthew.scott
Please take a look.
10 years, 10 months ago (2013-07-03 15:38:41 UTC) #4
benji
I like the new attribute name. LGTM.
10 years, 10 months ago (2013-07-03 15:42:49 UTC) #5
matthew.scott
10 years, 10 months ago (2013-07-03 15:48:58 UTC) #6
*** Submitted:

Mis-aligned relation with DnD services

Dropped services were missing the 'dragged' attribute, which informs the code
the deploys them that they have been intentionally placed, and thus their x/y
coords need to be stored in annotations.  The behavior seen was a result of the
service box having .x and .y set, but not .annotations['gui-x'] and
.annotations['gui-y'].  The attribute 'dragged' is now renamed to
'hasBeenPositioned', and tests added.

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

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