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

Issue 43860044: Environment list/selection view.

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

Description

Environment list/selection view. This branch implements the environment selection Urwid view. It is possible to start it running `make` and then `./cli-app-demo.py`. This is still not integrated in quickstart, but the demo file demonstrates how to show the view passing the required data structures already implemented in the quickstart.models.envs module. To test the branch, run `make check`. To QA the new functionality, run the demo application as described above, and play with the interface: any UX suggestion is welcome, and will be part of a card we already have ("envs management: ux improvements"). Other changes: The Urwid application is no longer an ObjectDict (removed from the code). I decided to use a Python namedtuple which seemed to me a better choice, considering that views are not supposed to modify the app data structure. This way we have both immutability and attribute access to the object. Implemented a TimeoutText wrapper used to wrap the message notification widget. This wayt he timer is restarted when a subsequent message is set and the previous has not yet been removed. https://code.launchpad.net/~frankban/juju-quickstart/env-manage-selection-view/+merge/199484 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 14

Patch Set 2 : Environment list/selection view. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+615 lines, -114 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cli-app-demo.py View 1 chunk +21 lines, -19 lines 0 comments Download
M quickstart/cli/base.py View 1 3 chunks +25 lines, -17 lines 0 comments Download
M quickstart/cli/ui.py View 4 chunks +53 lines, -2 lines 0 comments Download
M quickstart/cli/views.py View 1 3 chunks +141 lines, -7 lines 0 comments Download
M quickstart/tests/cli/test_base.py View 1 2 chunks +2 lines, -10 lines 0 comments Download
M quickstart/tests/cli/test_ui.py View 2 chunks +49 lines, -1 line 0 comments Download
M quickstart/tests/cli/test_views.py View 1 2 chunks +267 lines, -0 lines 0 comments Download
M quickstart/tests/helpers.py View 1 1 chunk +55 lines, -0 lines 0 comments Download
M quickstart/tests/test_utils.py View 1 1 chunk +0 lines, -25 lines 0 comments Download
M quickstart/utils.py View 1 2 chunks +0 lines, -33 lines 0 comments Download

Messages

Total messages: 9
frankban
Please take a look.
10 years, 4 months ago (2013-12-18 15:43:05 UTC) #1
rharding
Code looks good with a couple of readable enhancing notes. The UI code is a ...
10 years, 4 months ago (2013-12-18 16:44:58 UTC) #2
gary.poster
LGTM with mostly trivial comments (discussion on possible decoys is the only thing that ended ...
10 years, 4 months ago (2013-12-18 16:57:15 UTC) #3
rharding
LGTM QA Notes: The * in front of each alternates colors. Two are red, which ...
10 years, 4 months ago (2013-12-18 16:58:53 UTC) #4
gary.poster
QA: looks nice and works well! Mouse support is convenient. Scrolling in main content works ...
10 years, 4 months ago (2013-12-18 17:07:44 UTC) #5
frankban
On 2013/12/18 16:58:53, rharding wrote: > The default is easy to miss down the row. ...
10 years, 4 months ago (2013-12-19 09:32:25 UTC) #6
frankban
On 2013/12/18 17:07:44, gary.poster wrote: > I suggest a bit more space between the different ...
10 years, 4 months ago (2013-12-19 09:33:26 UTC) #7
frankban
*** Submitted: Environment list/selection view. This branch implements the environment selection Urwid view. It is ...
10 years, 4 months ago (2013-12-19 09:36:39 UTC) #8
frankban
10 years, 4 months ago (2013-12-19 09:37:13 UTC) #9
Thank you both!
Sign in to reply to this message.

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