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

Issue 6533055: Move expose button to well

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by thiago
Modified:
11 years, 7 months ago
Reviewers:
mp+125298, hazmat, benji
Visibility:
Public.

Description

Move expose button to well https://code.launchpad.net/~tveronezi/juju-ui/move-expose-button/+merge/125298 Requires: https://code.launchpad.net/~tveronezi/juju-ui/my-ui/+merge/125054 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -267 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 chunk +15 lines, -26 lines 2 comments Download
M app/templates/overview.handlebars View 1 chunk +3 lines, -0 lines 2 comments Download
M app/templates/service.handlebars View 1 chunk +1 line, -36 lines 0 comments Download
M app/templates/service-config.handlebars View 1 chunk +1 line, -36 lines 0 comments Download
M app/templates/service-constraints.handlebars View 1 chunk +1 line, -30 lines 0 comments Download
A app/templates/service-header.partial View 1 chunk +37 lines, -0 lines 0 comments Download
M app/templates/service-relations.handlebars View 1 chunk +1 line, -30 lines 0 comments Download
M app/views/environment.js View 15 chunks +148 lines, -43 lines 1 comment Download
M app/views/service.js View 7 chunks +65 lines, -56 lines 2 comments Download
M lib/views/stylesheet.less View 2 chunks +10 lines, -2 lines 1 comment Download
M lib/views/templates.handlebars View 1 chunk +2 lines, -2 lines 0 comments Download
M test/test_environment_view.js View 4 chunks +79 lines, -2 lines 1 comment Download
M test/test_service_config_view.js View 4 chunks +19 lines, -4 lines 1 comment Download

Messages

Total messages: 4
thiago
Please take a look.
11 years, 7 months ago (2012-09-19 18:43:42 UTC) #1
thiago
Moving the expose button to "well" https://codereview.appspot.com/6533055/diff/1/app/templates/overview.handlebars File app/templates/overview.handlebars (right): https://codereview.appspot.com/6533055/diff/1/app/templates/overview.handlebars#newcode7 app/templates/overview.handlebars:7: <button id="zoom-in-btn">+</button> This ...
11 years, 7 months ago (2012-09-19 18:56:20 UTC) #2
hazmat
https://codereview.appspot.com/6533055/diff/1/app/app.js File app/app.js (right): https://codereview.appspot.com/6533055/diff/1/app/app.js#newcode210 app/app.js:210: service: service, s/service/model .. we want the generic name ...
11 years, 7 months ago (2012-09-19 19:56:29 UTC) #3
benji
11 years, 7 months ago (2012-09-19 20:32:37 UTC) #4
The requested changes (the ones that are possible) are going to be in the
roll-up branch.

https://codereview.appspot.com/6533055/diff/1/app/app.js
File app/app.js (right):

https://codereview.appspot.com/6533055/diff/1/app/app.js#newcode210
app/app.js:210: service: service,
On 2012/09/19 19:56:29, hazmat wrote:
> s/service/model .. we want the generic name so views bound to models can use
> base class support for binding later.

We are fixing this in a "roll-up" branch.

https://codereview.appspot.com/6533055/diff/1/app/views/service.js
File app/views/service.js (right):

https://codereview.appspot.com/6533055/diff/1/app/views/service.js#newcode54
app/views/service.js:54: Y.mix(this, exposeButtonMixin, undefined, undefined,
undefined, true);
On 2012/09/19 19:56:29, hazmat wrote:
> the mix should be done at definition scope instead of initialization.

That won't work because in the definition scope ServiceRelations is a function
instead of an object.

> i'd
> suggest instead creating a BaseServiceView that inherits JujUBaseView, with
> these methods, and then using that for the inheritance structure of the other
> service views instead of JujuBaseView

That doesn't quite work either.  We settled on this approach was suggested by
Ben.
Sign in to reply to this message.

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