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

Issue 31190043: Display all unit status categories in unit list

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by jeff.pihach
Modified:
10 years, 4 months ago
Reviewers:
rharding, mp+196405, gary.poster
Visibility:
Public.

Description

Display all unit status categories in unit list The inspector unit list will now display all unit error types split out each into their own section. It now also has the ability to display all unit pending types but there are other components which are holding this functionality back. To see it in action load up the GUI with the 'simPend' flag. It will now show 'installing', 'dying' as well as 'pending'. This is just for illustrative purposes. https://code.launchpad.net/~hatch/juju-gui/split-unit-error/+merge/196405 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 39

Patch Set 2 : Display all unit status categories in unit list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -227 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/models.js View 1 chunk +1 line, -1 line 0 comments Download
M app/store/env/simulator.js View 2 chunks +33 lines, -21 lines 0 comments Download
M app/views/utils.js View 2 chunks +26 lines, -21 lines 0 comments Download
M app/views/viewlets/service-overview.js View 10 chunks +98 lines, -40 lines 0 comments Download
M lib/views/juju-inspector.less View 1 2 chunks +2 lines, -13 lines 0 comments Download
M test/test_inspector_overview.js View 23 chunks +195 lines, -117 lines 0 comments Download
M test/test_utils.js View 1 chunk +3 lines, -14 lines 0 comments Download

Messages

Total messages: 8
jeff.pihach
Please take a look.
10 years, 5 months ago (2013-11-22 23:06:08 UTC) #1
jeff.pihach
Reviewer notes. https://codereview.appspot.com/31190043/diff/1/app/views/utils.js File app/views/utils.js (right): https://codereview.appspot.com/31190043/diff/1/app/views/utils.js#newcode1237 app/views/utils.js:1237: utils.simplifyState = function(unit) { The other code ...
10 years, 5 months ago (2013-11-22 23:18:57 UTC) #2
rharding
Code looks ok with a couple of comments below. Please verify the categoryType usage and ...
10 years, 4 months ago (2013-11-25 16:55:32 UTC) #3
rharding
The UI on the 42machines need to be restarted section moves when you expand it. ...
10 years, 4 months ago (2013-11-25 17:12:59 UTC) #4
rharding
QA ok, LGTM as long as the other notes are addressed.
10 years, 4 months ago (2013-11-25 17:31:09 UTC) #5
gary.poster
Thank you for this work, Jeff. Cool. I'm concerned about the direction of simplifyState and ...
10 years, 4 months ago (2013-11-25 17:38:02 UTC) #6
jeff.pihach
Thanks for the reviews! - comments below and code changes will be landing. https://codereview.appspot.com/31190043/diff/1/app/store/env/simulator.js File ...
10 years, 4 months ago (2013-11-25 17:57:32 UTC) #7
jeff.pihach
10 years, 4 months ago (2013-11-25 19:04:01 UTC) #8
*** Submitted:

Display all unit status categories in unit list

The inspector unit list will now display all unit error types split out each
into their own section. 

It now also has the ability to display all unit pending types but there are
other components which are holding this functionality back. To see it in
action load up the GUI with the 'simPend' flag. It will now show 
'installing', 'dying' as well as 'pending'. This is just for illustrative
purposes.

R=rharding, gary.poster
CC=
https://codereview.appspot.com/31190043
Sign in to reply to this message.

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