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

Issue 7308086: Create ghost service while configuring.

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

Description

Create ghost service while configuring. When deploying from the charm panel, a ghost service is created in the environment while the user configures the charm. Once the charm is deployed, the service is made 'real'. If the deploy is canceled, the ghost is removed. If the panel is closed by a clickoutside event, the ghost remains, and clicking on it opens the panel back to the configuration pane (this allows panning, zooming, dragging, etc). If the service is dragged, it maintains its position after being deployed. https://code.launchpad.net/~makyo/juju-gui/service-ghost-1110715/+merge/147740 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Create ghost service while configuring. #

Patch Set 3 : Create ghost service while configuring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -38 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/models.js View 1 chunk +3 lines, -0 lines 0 comments Download
M app/views/charm-panel.js View 1 6 chunks +65 lines, -16 lines 0 comments Download
M app/views/topology/service.js View 1 10 chunks +48 lines, -7 lines 0 comments Download
M app/views/utils.js View 1 chunk +5 lines, -0 lines 0 comments Download
M lib/views/stylesheet.less View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M test/test_charm_configuration.js View 7 chunks +24 lines, -11 lines 0 comments Download
M test/test_charm_panel.js View 1 5 chunks +63 lines, -4 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
11 years, 2 months ago (2013-02-11 18:33:49 UTC) #1
gary.poster
Land with changes. Really nice, Matt. Thank you. It works really well. I only found ...
11 years, 2 months ago (2013-02-11 19:43:53 UTC) #2
matthew.scott
Please take a look.
11 years, 2 months ago (2013-02-11 20:58:28 UTC) #3
teknico
Land as is. Very nice code, Matt, thanks.
11 years, 2 months ago (2013-02-12 14:27:15 UTC) #4
matthew.scott
11 years, 2 months ago (2013-02-12 15:03:44 UTC) #5
*** Submitted:

Create ghost service while configuring.

When deploying from the charm panel, a ghost service is created in the
environment while the user configures the charm.  Once the charm is deployed,
the service is made 'real'.  If the deploy is canceled, the ghost is removed. 
If the panel is closed by a clickoutside event, the ghost remains, and clicking
on it opens the panel back to the configuration pane (this allows panning,
zooming, dragging, etc).  If the service is dragged, it maintains its position
after being deployed.

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

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