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

Issue 11714043: Break out left breakout panel from juju-inspector

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rharding
Modified:
10 years, 9 months ago
Reviewers:
bac, benji, mp+176354
Visibility:
Public.

Description

Break out left breakout panel from juju-inspector - In order for items to be reused as a left-breakout they cannot be under the .juju-inspector css tree or else it becomes a css nightmare. - This restructures the default html layout so that the yui3-inspector-panel is css agnostic and inside of it are the two main components, .juju-inspector and the left breakout panel. - The CharmDetails uses the left breakout panel and is situated to show inside of that. - Due to these changes some css needed tweaking. - Anything that wants to reuse the .juju-inspector css rules in the left breakout panel will have to add that css class to their own template output. QA: To QA, run the gui with the serviceInspector flag and deploy a service. Then click on that service to bring up the inspector and click on the cs:... url to open the charm details view into the left breakout panel. https://code.launchpad.net/~rharding/juju-gui/charm-details-viewlet-css/+merge/176354 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 17

Patch Set 2 : Break out left breakout panel from juju-inspector #

Patch Set 3 : Break out left breakout panel from juju-inspector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+585 lines, -520 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/templates/ghost-config-wrapper.handlebars View 1 chunk +0 lines, -1 line 0 comments Download
A app/templates/service-inspector.handlebars View 1 chunk +4 lines, -0 lines 0 comments Download
M app/templates/viewlet-manager.handlebars View 1 chunk +0 lines, -1 line 0 comments Download
M app/views/inspector.js View 1 chunk +2 lines, -4 lines 0 comments Download
M app/views/viewlet-manager.js View 1 2 5 chunks +22 lines, -1 line 0 comments Download
M app/views/viewlets/charm-details.js View 1 2 chunks +16 lines, -4 lines 0 comments Download
M lib/views/browser/charm-full.less View 3 chunks +4 lines, -3 lines 0 comments Download
M lib/views/juju-inspector.less View 1 2 3 chunks +500 lines, -493 lines 0 comments Download
M lib/views/stylesheet.less View 1 chunk +1 line, -1 line 0 comments Download
M test/index.html View 1 chunk +1 line, -1 line 0 comments Download
M test/test_inspector_charm.js View 7 chunks +28 lines, -11 lines 0 comments Download
M test/test_viewlet_manager.js View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rharding
Please take a look.
10 years, 9 months ago (2013-07-23 12:16:24 UTC) #1
bac
Code LGTM but I haven't QA'd. Thanks for this wonderful cleanup and re-org. https://codereview.appspot.com/11714043/diff/1/app/views/inspector.js File ...
10 years, 9 months ago (2013-07-23 12:26:01 UTC) #2
benji
Good stuff. I didn't see any show stoppers. I noted a few small things you ...
10 years, 9 months ago (2013-07-23 12:55:24 UTC) #3
rharding
Comments below. New lbox of the branch on the way. https://codereview.appspot.com/11714043/diff/1/app/views/viewlet-manager.js File app/views/viewlet-manager.js (right): https://codereview.appspot.com/11714043/diff/1/app/views/viewlet-manager.js#newcode145 ...
10 years, 9 months ago (2013-07-23 13:11:26 UTC) #4
rharding
Please take a look.
10 years, 9 months ago (2013-07-23 13:16:23 UTC) #5
rharding
10 years, 9 months ago (2013-07-23 14:19:21 UTC) #6
*** Submitted:

Break out left breakout panel from juju-inspector

- In order for items to be reused as a left-breakout they cannot be under the
.juju-inspector css tree or else it becomes a css nightmare.
- This restructures the default html layout so that the yui3-inspector-panel
is css agnostic and inside of it are the two main components, .juju-inspector
and the left breakout panel.
- The CharmDetails uses the left breakout panel and is situated to show inside
of that.
- Due to these changes some css needed tweaking.
- Anything that wants to reuse the .juju-inspector css rules in the left
breakout panel will have to add that css class to their own template output.


QA:

To QA, run the gui with the serviceInspector flag and deploy a service. Then
click on that service to bring up the inspector and click on the cs:... url to
open the charm details view into the left breakout panel.

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

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