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

Issue 13583044: Sync relation menu with inspector open and close

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by gary.poster
Modified:
10 years, 7 months ago
Reviewers:
mp+186107, matthew.scott
Visibility:
Public.

Description

Sync relation menu with inspector open and close While the relation menu is going away soonish, if the plans are to be believed, meanwhile it is what we have. This branch makes it so that when the inspector is first opened--after a ghost or when you click on a service--the relation menu appears. Similarly, when you close the inspector, relation menus close. It is still possible to hide the relation menu while the inspector is open. If you begin to create a relation, the option will disappear; and if you click the canvas it will disappear. These seem like pretty good interactions for me, given the fundamental oddity (to me) of having the relation menu and the inspector separate entities, at least given the current design. https://code.launchpad.net/~gary/juju-gui/syncMenu/+merge/186107 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Sync relation menu with inspector open and close #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -48 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/index.html View 2 chunks +4 lines, -6 lines 0 comments Download
M app/views/environment.js View 1 chunk +5 lines, -0 lines 0 comments Download
M app/views/topology/service.js View 4 chunks +13 lines, -25 lines 0 comments Download
M test/test_environment_view.js View 4 chunks +5 lines, -5 lines 0 comments Download
M test/test_service_module.js View 2 chunks +1 line, -12 lines 0 comments Download

Messages

Total messages: 4
gary.poster
Please take a look.
10 years, 7 months ago (2013-09-17 17:13:01 UTC) #1
gary.poster
Comments https://codereview.appspot.com/13583044/diff/1/app/index.html File app/index.html (left): https://codereview.appspot.com/13583044/diff/1/app/index.html#oldcode44 app/index.html:44: <link rel="stylesheet" href="/juju-ui/assets/juju-gui.css?reload=temporary"> Flyby. We shouldn't need these ...
10 years, 7 months ago (2013-09-17 17:15:18 UTC) #2
matthew.scott
LGTM, QA okay
10 years, 7 months ago (2013-09-17 17:33:49 UTC) #3
gary.poster
10 years, 7 months ago (2013-09-17 17:46:16 UTC) #4
*** Submitted:

Sync relation menu with inspector open and close

While the relation menu is going away soonish, if the plans are to be believed,
meanwhile it is what we have.  This branch makes it so that when the inspector
is first opened--after a ghost or when you click on a service--the relation menu
appears.  Similarly, when you close the inspector, relation menus close.

It is still possible to hide the relation menu while the inspector is open.  If
you begin to create a relation, the option will disappear; and if you click the
canvas it will disappear.  These seem like pretty good interactions for me,
given the fundamental oddity (to me) of having the relation menu and the
inspector separate entities, at least given the current design.

R=matthew.scott
CC=
https://codereview.appspot.com/13583044
Sign in to reply to this message.

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