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

Issue 8589050: Fix retry and resolved buttons never displayed

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by frankban
Modified:
11 years, 1 month ago
Reviewers:
bac, teknico, mp+158973
Visibility:
Public.

Description

Fix retry and resolved buttons never displayed When the GUI is connected to PyJuju, error states are represented by an agent state like "install-error". In juju-core this is just an "error", and the info about what went wrong can be found in the StatusInfo. This branch makes the GUI able to handle both cases, and as a consequence it shows the "retry" and "resolved" buttons in the unit detail view when required. https://code.launchpad.net/~frankban/juju-gui/bug-1169159-retry-resolved/+merge/158973 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fix retry and resolved buttons never displayed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -35 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/templates/unit.handlebars View 2 chunks +4 lines, -4 lines 0 comments Download
M app/views/unit.js View 2 chunks +4 lines, -6 lines 0 comments Download
M app/views/utils.js View 1 chunk +6 lines, -6 lines 0 comments Download
M test/test_utils.js View 1 chunk +41 lines, -19 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
11 years, 1 month ago (2013-04-15 16:36:34 UTC) #1
bac
On 2013/04/15 16:36:34, frankban wrote: > Please take a look. LGTM Francesco. Thanks.
11 years, 1 month ago (2013-04-15 20:19:06 UTC) #2
teknico
LGTM, nice, thanks.
11 years, 1 month ago (2013-04-16 08:52:20 UTC) #3
frankban
Landing. Thank you both for the reviews.
11 years, 1 month ago (2013-04-16 08:55:05 UTC) #4
frankban
11 years, 1 month ago (2013-04-16 08:59:15 UTC) #5
*** Submitted:

Fix retry and resolved buttons never displayed

When the GUI is connected to PyJuju, error states are
represented by an agent state like "install-error".
In juju-core this is just an "error", and the info
about what went wrong can be found in the StatusInfo.
This branch makes the GUI able to handle both cases, and 
as a consequence it shows the "retry" and "resolved"
buttons in the unit detail view when required.

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

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