Merge lp:~hatch/juju-gui/agent-data-support into lp:juju-gui/experimental
Proposed by
Jeff Pihach
Status: | Merged |
---|---|
Merged at revision: | 1205 |
Proposed branch: | lp:~hatch/juju-gui/agent-data-support |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
325 lines (+31/-170) 9 files modified
app/models/handlers.js (+3/-1) app/models/models.js (+3/-1) app/store/env/sandbox.js (+2/-1) app/templates/unit.handlebars (+0/-116) app/templates/unitOverview.handlebars (+1/-0) app/views/utils.js (+0/-12) app/views/viewlets/unit-details.js (+13/-0) lib/views/juju-inspector.less (+9/-6) test/test_utils.js (+0/-33) |
To merge this branch: | bzr merge lp:~hatch/juju-gui/agent-data-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email:
|
Description of the change
Adds agent_state_
The simulator and juju-core return SourceData along with any
error messages. These are now displayed in the unit details
left breakout panel in the new inspector.
I also removed an unused template from the old inspectors and
modified some css to make the left panel react properly to
varying unit detail header heights.
To post a comment you must log in.
Reviewers: mp+195896_ code.launchpad. net,
Message:
Please take a look.
Description: data(SourceData ) support
Adds agent_state_
The simulator and juju-core return SourceData along with any
error messages. These are now displayed in the unit details
left breakout panel in the new inspector.
I also removed an unused template from the old inspectors and
modified some css to make the left panel react properly to
varying unit detail header heights.
I have tested it's functionality on LXC and the sandbox
To QA:
On sandbox
Deploy any two relatable services with a number of units
Relate the two services and wait until there are unit errors
Clicking on a unit in the inspector should show the ServiceData
below the ServiceInfo which is always there.
For best results look for a unit with a relation error.
On real env
Deploy two services (with different names) of failtester with
one with the 'relation-changed' configuration option set to 'true'.
Once both services turn green, relate them.
After a few seconds the one should turn red.
Clicking on it's errored unit should show the ServiceData relation
error information in the left details panel.
https:/ /code.launchpad .net/~hatch/ juju-gui/ agent-data- support/ +merge/ 195896
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/29400043/
Affected files (+33, -170 lines): handlers. js models. js env/sandbox. js unit.handlebars unitOverview. handlebars viewlets/ unit-details. js juju-inspector. less
A [revision details]
M app/models/
M app/models/
M app/store/
D app/templates/
M app/templates/
M app/views/utils.js
M app/views/
M lib/views/
M test/test_utils.js