Merge lp://staging/~gary/juju-gui/inspector-visual-review-bugs into lp://staging/juju-gui/experimental

Proposed by Gary Poster
Status: Merged
Merged at revision: 1058
Proposed branch: lp://staging/~gary/juju-gui/inspector-visual-review-bugs
Merge into: lp://staging/juju-gui/experimental
Diff against target: 283 lines (+34/-49)
9 files modified
app/templates/ghost-config-viewlet.handlebars (+4/-4)
app/templates/inspector-header.handlebars (+3/-1)
app/templates/service-configuration.handlebars (+3/-1)
app/templates/service-configuration.partial (+0/-6)
app/templates/service-expose.partial (+3/-3)
app/views/ghost-inspector.js (+2/-7)
app/views/inspector.js (+2/-2)
lib/views/juju-inspector.less (+15/-23)
test/test_ghost_inspector.js (+2/-2)
To merge this branch: bzr merge lp://staging/~gary/juju-gui/inspector-visual-review-bugs
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+186310@code.staging.launchpad.net

Description of the change

Visual updates from inspector review

Changes from Luca's notes:

General
- The close button is the wrong size. Please see here for the correct size:
http://a.flatsi.es/projects/z9t3pp/images/63hmzx
- When clicking "Destroy service" the popover confirmation feels a bit sluggish,
can we speed this up?
Post-deployment
- The name validation checkmark and cross are not aligned correctly.

Other changes:

Fixed "Use default configuration?" position.
Fixed default configuration settings text colour to match visuals.
Fixed ghost "Import config file..." only active if "Use default configuration?"
is toggled off (bug #1226905)

(landed for Huw)

https://codereview.appspot.com/13457057/

To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :
Download full text (12.9 KiB)

Reviewers: mp+186310_code.launchpad.net,

Message:
Please take a look.

Description:
Visual updates from inspector review

Changes from Luca's notes:

General
- The close button is the wrong size. Please see here for the correct
size:
http://a.flatsi.es/projects/z9t3pp/images/63hmzx
- When clicking "Destroy service" the popover confirmation feels a bit
sluggish,
can we speed this up?
Post-deployment
- The name validation checkmark and cross are not aligned correctly.

Other changes:

Fixed "Use default configuration?" position.
Fixed default configuration settings text colour to match visuals.
Fixed ghost "Import config file..." only active if "Use default
configuration?"
is toggled off (bug #1226905)

(landed for Huw)

https://code.launchpad.net/~gary/juju-gui/inspector-visual-review-bugs/+merge/186310

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/13457057/

Affected files (+33, -46 lines):
   A [revision details]
   M app/assets/images/form-validation-cross.png
   M app/assets/images/form-validation-tick.png
   A app/assets/images/inspector-close.jpg
   M app/templates/ghost-config-viewlet.handlebars
   M app/templates/inspector-header.handlebars
   M app/templates/service-configuration.handlebars
   M app/templates/service-configuration.partial
   M app/templates/service-expose.partial
   M app/views/ghost-inspector.js
   M app/views/inspector.js
   M lib/views/juju-inspector.less
   M test/test_ghost_inspector.js

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: app/templates/ghost-config-viewlet.handlebars
=== modified file 'app/templates/ghost-config-viewlet.handlebars'
--- app/templates/ghost-config-viewlet.handlebars 2013-09-17 14:30:35 +0000
+++ app/templates/ghost-config-viewlet.handlebars 2013-09-18 05:03:17 +0000
@@ -27,12 +27,12 @@
      <i class="sprite inspector_configuration"></i>
      Configuration
    </h2>
- <div class="view-content join-top service-configuration use-defaults">
+ <div class="view-content join-top service-configuration">
      <div class="config-file settings-wrapper">
        <input type="file" id="config-file">
        <div class="fakebutton">Import config file...</div>
      </div>
- <div class="toggle settings-wrapper">
+ <div class="toggle single-line settings-wrapper">
        <label>Use default configuration?</label>
        <div class="toggle-switch">
          <input type="checkbox" class="hidden-checkbox"
id="use-default-toggle" checked>
@@ -40,11 +40,11 @@
            <div class="handle"></div>
          </label>
        </div>
- <div class="textvalue" style="display: none;">true</div>
+ <div class="textvalue"></div>
        <!-- Clear the floating slider/texvalue. -->
        <div class="clearall"></div>
      </div>
- <form class="charm-settings">
+ <form class="charm-settings use-defaults">
        <div class="service-config">
       ...

Revision history for this message
Gary Poster (gary) wrote :

*** Submitted:

Visual updates from inspector review

Changes from Luca's notes:

General
- The close button is the wrong size. Please see here for the correct
size:
http://a.flatsi.es/projects/z9t3pp/images/63hmzx
- When clicking "Destroy service" the popover confirmation feels a bit
sluggish,
can we speed this up?
Post-deployment
- The name validation checkmark and cross are not aligned correctly.

Other changes:

Fixed "Use default configuration?" position.
Fixed default configuration settings text colour to match visuals.
Fixed ghost "Import config file..." only active if "Use default
configuration?"
is toggled off (bug #1226905)

(landed for Huw)

R=
CC=
https://codereview.appspot.com/13457057

https://codereview.appspot.com/13457057/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches