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

Issue 13358045: Enable Landscape links.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by frankban
Modified:
10 years, 8 months ago
Reviewers:
bac, matthew.scott, mp+184288
Visibility:
Public.

Description

Enable Landscape links. Add support for Landscape external links in the inspector unit listing and unit detail views. Move the getLandscapeURL function from the landscape view to the utils module, so that the URL can be retrieved without instantiating a view. Include the viewlet manager attributes in the generated viewlets, so that binding objects can have access to the objects included in the manager, e.g. the db instance. Split the unit detail viewlet rendering logic into two methods (render and getContext) in order to make it easier to test the viewlet. Include some docstring/CSS clean up. https://code.launchpad.net/~frankban/juju-gui/landscape-improvements/+merge/184288 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Enable Landscape links. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -90 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/templates/unit-action-buttons.handlebars View 1 chunk +1 line, -1 line 0 comments Download
M app/templates/unitOverview.handlebars View 1 chunk +3 lines, -0 lines 0 comments Download
M app/views/landscape.js View 3 chunks +3 lines, -47 lines 0 comments Download
M app/views/utils.js View 1 chunk +64 lines, -0 lines 0 comments Download
M app/views/viewlet-manager.js View 1 chunk +4 lines, -2 lines 0 comments Download
M app/views/viewlets/service-overview.js View 7 chunks +37 lines, -9 lines 0 comments Download
M app/views/viewlets/unit-details.js View 2 chunks +24 lines, -20 lines 0 comments Download
M lib/views/juju-inspector.less View 2 chunks +2 lines, -2 lines 0 comments Download
M test/index.html View 1 chunk +1 line, -0 lines 0 comments Download
M test/test_inspector_overview.js View 5 chunks +10 lines, -5 lines 0 comments Download
A test/test_unit_detail_viewlet.js View 1 chunk +105 lines, -0 lines 0 comments Download
M test/test_utils.js View 2 chunks +129 lines, -4 lines 0 comments Download
M test/test_viewlet_manager.js View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
10 years, 8 months ago (2013-09-06 12:35:12 UTC) #1
matthew.scott
LGTM - IEQA okay. Thanks!
10 years, 8 months ago (2013-09-06 12:56:39 UTC) #2
bac
LGTM. No QA. https://codereview.appspot.com/13358045/diff/1/app/views/utils.js File app/views/utils.js (right): https://codereview.appspot.com/13358045/diff/1/app/views/utils.js#newcode1243 app/views/utils.js:1243: url += utils.ensureTrailingSlash(annotation); This line, and ...
10 years, 8 months ago (2013-09-06 13:56:01 UTC) #3
frankban
*** Submitted: Enable Landscape links. Add support for Landscape external links in the inspector unit ...
10 years, 8 months ago (2013-09-06 14:08:11 UTC) #4
frankban
10 years, 8 months ago (2013-09-06 14:09:46 UTC) #5
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