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

Issue 13224043: Fixes #1125352 adding constraints ui to deploy.

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

Description

Fixes #1125352 adding constraints ui to deploy. - Adds the template and UI to the ghost viewlet. - Currently adds it to the top of the display until we get accordion/collapsing UX into place - Adds constraints into the call to deploy to send it to the back end. - Removes the old Go formatting code as it's not required - Renames the viewlet-manager template to service-config-wrapper to match ghost-config-wrapper and to be more truthful to what it is. - Small gardening. https://code.launchpad.net/~rharding/juju-gui/ghost-constraints-1125352/+merge/181553 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fixes #1125352 adding constraints ui to deploy. #

Patch Set 3 : Fixes #1125352 adding constraints ui to deploy. #

Total comments: 10

Patch Set 4 : Fixes #1125352 adding constraints ui to deploy. #

Patch Set 5 : Fixes #1125352 adding constraints ui to deploy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -139 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env/go.js View 1 2 3 4 8 chunks +8 lines, -67 lines 0 comments Download
M app/store/env/python.js View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M app/store/env/sandbox.js View 1 1 chunk +1 line, -8 lines 0 comments Download
M app/templates/ghost-config-viewlet.handlebars View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M app/templates/service-config-wrapper.handlebars View 0 chunks +-1 lines, --1 lines 0 comments Download
M app/views/environment.js View 1 chunk +1 line, -1 line 0 comments Download
M app/views/ghost-inspector.js View 1 4 chunks +17 lines, -5 lines 0 comments Download
M app/views/utils.js View 1 chunk +3 lines, -3 lines 0 comments Download
M app/views/viewlets/service-constraints.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M app/views/viewlets/service-ghost.js View 1 2 3 4 1 chunk +17 lines, -10 lines 0 comments Download
M test/index.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/test_env_go.js View 1 2 3 4 3 chunks +2 lines, -44 lines 0 comments Download
M test/test_ghost_inspector.js View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M test/test_viewlet_manager.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
rharding
Please take a look.
10 years, 8 months ago (2013-08-26 15:01:15 UTC) #1
matthew.scott
LGTM, IEQA okay.
10 years, 8 months ago (2013-08-26 15:22:51 UTC) #2
jeff.pihach
LGTM with the changes mentioned below. Thanks for doing this! https://codereview.appspot.com/13224043/diff/5001/app/store/env/go.js File app/store/env/go.js (right): https://codereview.appspot.com/13224043/diff/5001/app/store/env/go.js#newcode122 ...
10 years, 8 months ago (2013-08-26 15:27:38 UTC) #3
rharding
Feedback on the review below. https://codereview.appspot.com/13224043/diff/5001/app/store/env/go.js File app/store/env/go.js (right): https://codereview.appspot.com/13224043/diff/5001/app/store/env/go.js#newcode122 app/store/env/go.js:122: genericConstraints: ['cpu-power', 'cpu-cores', 'mem', ...
10 years, 8 months ago (2013-08-26 15:41:17 UTC) #4
rharding
10 years, 8 months ago (2013-08-26 17:08:46 UTC) #5
*** Submitted:

Fixes #1125352 adding constraints ui to deploy.

- Adds the template and UI to the ghost viewlet.
- Currently adds it to the top of the display until we get
accordion/collapsing UX into place
- Adds constraints into the call to deploy to send it to the back end.
- Removes the old Go formatting code as it's not required
- Renames the viewlet-manager template to service-config-wrapper to match
ghost-config-wrapper and to be more truthful to what it is.
- Small gardening.

R=matthew.scott, jeff.pihach
CC=
https://codereview.appspot.com/13224043
Sign in to reply to this message.

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