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

Issue 11110043: Implement the service constraints viewlet.

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

Description

Implement the service constraints viewlet. For now the viewlet can be displayed clicking "C" in the inspector. Implemented constraints update, conflict resolution and data-binding. Also fixed a bug in databinding.js: fixed the context of resolve(). https://code.launchpad.net/~frankban/juju-gui/inspector-constraints/+merge/173941 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Implement the service constraints viewlet. #

Total comments: 10

Patch Set 3 : Implement the service constraints viewlet. #

Total comments: 2

Patch Set 4 : Implement the service constraints viewlet. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -9 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env/fakebackend.js View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
A app/templates/service-constraints-viewlet.handlebars View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A app/templates/service-constraints-viewlet.partial View 1 chunk +19 lines, -0 lines 0 comments Download
M app/templates/view-container.handlebars View 1 chunk +3 lines, -0 lines 0 comments Download
M app/views/databinding.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M app/views/environment.js View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M app/views/service.js View 1 2 2 chunks +129 lines, -1 line 0 comments Download
M app/views/utils.js View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M test/index.html View 1 chunk +1 line, -0 lines 0 comments Download
A test/test_inspector_constraints.js View 1 2 1 chunk +254 lines, -0 lines 0 comments Download
M test/test_utils.js View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M test/test_view_container.js View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7
frankban
Please take a look.
10 years, 10 months ago (2013-07-10 13:25:15 UTC) #1
frankban
Please take a look.
10 years, 10 months ago (2013-07-10 13:27:49 UTC) #2
jeff.pihach
This looks great thanks! LGTM I would like to confirm that you knew that the ...
10 years, 10 months ago (2013-07-10 15:28:59 UTC) #3
bac
The code changes look good. Doing QA I found some oddities. When first seen (for ...
10 years, 10 months ago (2013-07-10 15:42:17 UTC) #4
frankban
Please take a look. https://codereview.appspot.com/11110043/diff/12001/app/templates/service-constraints-viewlet.handlebars File app/templates/service-constraints-viewlet.handlebars (right): https://codereview.appspot.com/11110043/diff/12001/app/templates/service-constraints-viewlet.handlebars#newcode4 app/templates/service-constraints-viewlet.handlebars:4: <!-- XXX Perhaps the following ...
10 years, 10 months ago (2013-07-11 15:07:44 UTC) #5
bac
LGTM, thanks https://codereview.appspot.com/11110043/diff/19001/app/views/databinding.js File app/views/databinding.js (right): https://codereview.appspot.com/11110043/diff/19001/app/views/databinding.js#newcode558 app/views/databinding.js:558: defined values with the users values. typo: ...
10 years, 10 months ago (2013-07-11 15:30:40 UTC) #6
frankban
10 years, 10 months ago (2013-07-11 15:38:44 UTC) #7
*** Submitted:

Implement the service constraints viewlet.

For now the viewlet can be displayed clicking "C"
in the inspector.
Implemented constraints update, conflict resolution
and data-binding.

Also fixed a bug in databinding.js: 
fixed the context of resolve().

R=jeff.pihach, bac
CC=
https://codereview.appspot.com/11110043

https://codereview.appspot.com/11110043/diff/19001/app/views/databinding.js
File app/views/databinding.js (right):

https://codereview.appspot.com/11110043/diff/19001/app/views/databinding.js#n...
app/views/databinding.js:558: defined values with the users values.
On 2013/07/11 15:30:41, bac wrote:
> typo: user's

Done.
Sign in to reply to this message.

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