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

Issue 6736051: Implement ambiguous relation menu for adding rels

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by matthew.scott
Modified:
11 years, 6 months ago
Reviewers:
mp+130616
Visibility:
Public.

Description

Implement ambiguous relation menu for adding rels Displays a menu of choices when adding a relation between two services would result in ambiguity, otherwise simply adds a relation. Also, a bit of minor test clean-up in charm config, due to floating point inequality. https://code.launchpad.net/~makyo/juju-gui/ambiguous-relations/+merge/130616 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : Implement ambiguous relation menu for adding rels #

Total comments: 11

Patch Set 3 : Implement ambiguous relation menu for adding rels #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -36 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A app/templates/ambiguousRelationList.handlebars View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M app/templates/overview.handlebars View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M app/views/environment.js View 1 2 12 chunks +100 lines, -17 lines 0 comments Download
M app/views/utils.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M lib/views/stylesheet.less View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M test/test_application_notifications.js View 1 chunk +5 lines, -1 line 0 comments Download
M test/test_charm_configuration.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M test/test_environment_view.js View 1 2 1 chunk +31 lines, -13 lines 0 comments Download

Messages

Total messages: 8
matthew.scott
Please take a look.
11 years, 6 months ago (2012-10-19 17:35:55 UTC) #1
thiago
https://codereview.appspot.com/6736051/diff/1/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6736051/diff/1/app/views/environment.js#newcode1449 app/views/environment.js:1449: var menu = container.one('#ambiguous-relation-menu'), If you are using ids ...
11 years, 6 months ago (2012-10-19 18:09:28 UTC) #2
matthew.scott
Thanks for the review, Thiago. See below for notes. https://codereview.appspot.com/6736051/diff/1/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6736051/diff/1/app/views/environment.js#newcode1449 app/views/environment.js:1449: ...
11 years, 6 months ago (2012-10-19 19:16:58 UTC) #3
matthew.scott
Please take a look.
11 years, 6 months ago (2012-10-19 19:18:46 UTC) #4
benjamin.saller
Thanks for this. A number of things, some of which will be good talks for ...
11 years, 6 months ago (2012-10-19 19:19:04 UTC) #5
hazmat
Looks pretty good. some minors below. could you a new card for the menu scroll ...
11 years, 6 months ago (2012-10-19 21:48:58 UTC) #6
matthew.scott
Cards created in FrontPage. https://codereview.appspot.com/6736051/diff/3002/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6736051/diff/3002/app/views/environment.js#newcode1076 app/views/environment.js:1076: .ambiguousAddRelationTest(endpoint, self, rect); On 2012/10/19 ...
11 years, 6 months ago (2012-10-20 18:14:16 UTC) #7
matthew.scott
11 years, 6 months ago (2012-10-20 18:19:04 UTC) #8
*** Submitted:

Implement ambiguous relation menu for adding rels

Displays a menu of choices when adding a relation between two services would
result in ambiguity, otherwise simply adds a relation.  Also, a bit of minor
test clean-up in charm config, due to floating point inequality.

R=thiago, benjamin.saller, hazmat
CC=
https://codereview.appspot.com/6736051
Sign in to reply to this message.

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