Ben and Matt suggested adding a "ghosted" flag to the Service model, setting it to "true" on service creation, and checking it to both change the service visualizion and to block handling of clicks and double clicks.
On user confirmation, the environment will actually create the server in Juju, reset the "ghosted" flag in the service model and redraw the service.
This logic is already used when drawing temporary relations between services: while the user is dragging the relation, the services that are uneligible as relation ends are ghosted.
Ben and Matt suggested adding a "ghosted" flag to the Service model, setting it to "true" on service creation, and checking it to both change the service visualizion and to block handling of clicks and double clicks.
On user confirmation, the environment will actually create the server in Juju, reset the "ghosted" flag in the service model and redraw the service.
This logic is already used when drawing temporary relations between services: while the user is dragging the relation, the services that are uneligible as relation ends are ghosted.