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

Issue 44310043: Implement the remove env functionality.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by frankban
Modified:
10 years, 4 months ago
Reviewers:
bac, mp+199698, gary.poster
Visibility:
Public.

Description

Implement the remove env functionality. It is now possible to remove environments using the interactive session. A confirmation dialog prevents the user to accidentally remove an environment. Tests: `make check`. QA: start the demo app (`make` and `./cli-app-demo.py). Remove environments at will: exiting from the app you should see the new environments YAML without the environments you deleted. Any UX suggestion welcome. Thank you! https://code.launchpad.net/~frankban/juju-quickstart/env-manage-remove-environment/+merge/199698 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : Implement the remove env functionality. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -39 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M quickstart/cli/ui.py View 1 3 chunks +67 lines, -0 lines 0 comments Download
M quickstart/cli/views.py View 2 chunks +22 lines, -2 lines 0 comments Download
M quickstart/models/envs.py View 1 chunk +15 lines, -0 lines 0 comments Download
M quickstart/tests/cli/helpers.py View 1 2 chunks +35 lines, -0 lines 0 comments Download
M quickstart/tests/cli/test_ui.py View 1 2 chunks +70 lines, -0 lines 0 comments Download
M quickstart/tests/cli/test_views.py View 1 7 chunks +79 lines, -31 lines 0 comments Download
M quickstart/tests/models/test_envs.py View 5 chunks +34 lines, -6 lines 0 comments Download

Messages

Total messages: 6
frankban
Please take a look.
10 years, 4 months ago (2013-12-19 18:38:21 UTC) #1
gary.poster
LGTM. The warning says "This action cannot be undone" but really it won't take effect ...
10 years, 4 months ago (2013-12-19 19:11:13 UTC) #2
bac
LGTM https://codereview.appspot.com/44310043/diff/1/quickstart/cli/ui.py File quickstart/cli/ui.py (right): https://codereview.appspot.com/44310043/diff/1/quickstart/cli/ui.py#newcode125 quickstart/cli/ui.py:125: the function tries to generate suitable defaults. If ...
10 years, 4 months ago (2013-12-19 20:29:16 UTC) #3
frankban
On 2013/12/19 19:11:13, gary.poster wrote: > LGTM. > > The warning says "This action cannot ...
10 years, 4 months ago (2013-12-20 10:23:28 UTC) #4
frankban
*** Submitted: Implement the remove env functionality. It is now possible to remove environments using ...
10 years, 4 months ago (2013-12-20 10:35:05 UTC) #5
frankban
10 years, 4 months ago (2013-12-20 10:38:17 UTC) #6
Thank you both for the reviews!
Sign in to reply to this message.

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