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

Issue 10724043: Inspector Factory & Single Inspector

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by jeff.pihach
Modified:
10 years, 9 months ago
Reviewers:
benjamin.saller, mp+171935, gary.poster
Visibility:
Public.

Description

Inspector Factory & Single Inspector Restricted the user to a single inspector but it is done in a way which is trivial to remove or wrap a flag around at a later date if we decide to change it back. Also there is a factory function in the environment view to generate new service inspectors. https://code.launchpad.net/~hatch/juju-gui/single-inspector/+merge/171935 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Inspector Factory & Single Inspector #

Total comments: 19

Patch Set 3 : Inspector Factory & Single Inspector #

Patch Set 4 : Inspector Factory & Single Inspector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -71 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/environment.js View 1 2 2 chunks +114 lines, -0 lines 0 comments Download
M app/views/ghost-inspector.js View 1 2 2 chunks +7 lines, -54 lines 0 comments Download
M app/views/topology/service.js View 1 2 2 chunks +2 lines, -17 lines 0 comments Download

Messages

Total messages: 10
jeff.pihach
Please take a look.
10 years, 9 months ago (2013-06-28 00:16:23 UTC) #1
jeff.pihach
Please take a look.
10 years, 9 months ago (2013-06-28 04:14:11 UTC) #2
gary.poster
Hi Jeff. In general I like this a lot. Nice cleanups. Before I approve, I'd ...
10 years, 9 months ago (2013-06-28 13:11:54 UTC) #3
jeff.pihach
Thanks for the review - fix coming https://codereview.appspot.com/10724043/diff/4001/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/10724043/diff/4001/app/views/environment.js#newcode113 app/views/environment.js:113: // the ...
10 years, 9 months ago (2013-06-28 14:42:09 UTC) #4
benjamin.saller
Thanks for this, comments follow. I think this is pretty close. https://codereview.appspot.com/10724043/diff/4001/app/views/environment.js File app/views/environment.js (right): ...
10 years, 9 months ago (2013-06-28 17:07:16 UTC) #5
jeff.pihach
Thanks for the review - updated branch coming shortly https://codereview.appspot.com/10724043/diff/4001/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/10724043/diff/4001/app/views/environment.js#newcode116 app/views/environment.js:116: ...
10 years, 9 months ago (2013-06-28 17:42:26 UTC) #6
jeff.pihach
Please take a look.
10 years, 9 months ago (2013-06-28 17:48:33 UTC) #7
benjamin.saller
LGTM, thanks!
10 years, 9 months ago (2013-06-28 18:20:27 UTC) #8
gary.poster
LGTM
10 years, 9 months ago (2013-06-28 18:22:46 UTC) #9
jeff.pihach
10 years, 9 months ago (2013-06-28 18:28:50 UTC) #10
*** Submitted:

Inspector Factory & Single Inspector

Restricted the user to a single inspector but it
is done in a way which is trivial to remove or 
wrap a flag around at a later date if we decide 
to change it back. Also there is a factory function
in the environment view to generate new service inspectors.

R=gary.poster, benjamin.saller
CC=
https://codereview.appspot.com/10724043
Sign in to reply to this message.

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