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

Issue 12956045: Normalizing the getConstraints code

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by jeff.pihach
Modified:
10 years, 8 months ago
Reviewers:
mp+180920, bac, benji
Visibility:
Public.

Description

Normalizing the getConstraints code In order to allow us to share constraints code across the three locations it needs to be used it needed to be normalized. This is the first step towards the following ghost constraints and upgrade ux constraints branches. https://code.launchpad.net/~hatch/juju-gui/normalize-constraints/+merge/180920 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 11

Patch Set 2 : Normalizing the getConstraints code #

Patch Set 3 : Normalizing the getConstraints code #

Patch Set 4 : Normalizing the getConstraints code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -51 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/utils.js View 1 2 2 chunks +24 lines, -7 lines 0 comments Download
M app/views/viewlets/service-constraints.js View 2 chunks +1 line, -12 lines 0 comments Download
M test/test_inspector_constraints.js View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M test/test_utils.js View 1 2 1 chunk +14 lines, -29 lines 0 comments Download

Messages

Total messages: 7
jeff.pihach
Please take a look.
10 years, 8 months ago (2013-08-19 17:54:24 UTC) #1
bac
LGTM and QA. As an aside, the units display on constraints is very cluttered as ...
10 years, 8 months ago (2013-08-19 19:50:43 UTC) #2
jeff.pihach
Thanks for the review and QA! Changes has been made. The UI is definitely not ...
10 years, 8 months ago (2013-08-19 19:54:20 UTC) #3
jeff.pihach
Please take a look.
10 years, 8 months ago (2013-08-19 20:05:22 UTC) #4
benji
This LGTM, aside from one test that I'd really like to see un-crippled. https://codereview.appspot.com/12956045/diff/1/test/test_inspector_constraints.js File ...
10 years, 8 months ago (2013-08-19 20:11:02 UTC) #5
jeff.pihach
Thanks for the reviews! https://codereview.appspot.com/12956045/diff/1/test/test_inspector_constraints.js File test/test_inspector_constraints.js (right): https://codereview.appspot.com/12956045/diff/1/test/test_inspector_constraints.js#newcode130 test/test_inspector_constraints.js:130: // mock - copied from ...
10 years, 8 months ago (2013-08-19 20:33:48 UTC) #6
jeff.pihach
10 years, 8 months ago (2013-08-19 21:17:58 UTC) #7
*** Submitted:

Normalizing the getConstraints code

In order to allow us to share constraints code across
the three locations it needs to be used it needed to
be normalized. This is the first step towards the following
ghost constraints and upgrade ux constraints branches.

R=bac, benji
CC=
https://codereview.appspot.com/12956045
Sign in to reply to this message.

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