Merge lp:~hatch/juju-gui/bundle-topo-names into lp:juju-gui/experimental

Proposed by Jeff Pihach
Status: Merged
Merged at revision: 1150
Proposed branch: lp:~hatch/juju-gui/bundle-topo-names
Merge into: lp:juju-gui/experimental
Diff against target: 26 lines (+0/-5)
2 files modified
app/views/topology/bundle.js (+0/-3)
test/test_bundle_module.js (+0/-2)
To merge this branch: bzr merge lp:~hatch/juju-gui/bundle-topo-names
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+192353@code.launchpad.net

Description of the change

Removes the service names from the bundle topology

https://codereview.appspot.com/16080043/

To post a comment you must log in.
Revision history for this message
Jeff Pihach (hatch) wrote :

Reviewers: mp+192353_code.launchpad.net,

Message:
Please take a look.

Description:
Removes the service names from the bundle topology

To QA, open a bundle details view and the bundle
topology should not have service names on each icon.

https://code.launchpad.net/~hatch/juju-gui/bundle-topo-names/+merge/192353

(do not edit description out of merge proposal)

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

Affected files (+2, -5 lines):
   A [revision details]
   M app/views/topology/bundle.js
   M test/test_bundle_module.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: test/test_bundle_module.js
=== modified file 'test/test_bundle_module.js'
--- test/test_bundle_module.js 2013-10-10 00:05:02 +0000
+++ test/test_bundle_module.js 2013-10-23 16:03:22 +0000
@@ -79,8 +79,6 @@

            // We should have the two rendered services
            assert.equal(container.all('.service').size(), 2);
- assert.deepEqual(container.all('tspan.name').get('text'), [
- 'mysql', 'wordpress']);
            var service = svg.select('.service');

            // Sizing

Index: app/views/topology/bundle.js
=== modified file 'app/views/topology/bundle.js'
--- app/views/topology/bundle.js 2013-10-18 16:47:34 +0000
+++ app/views/topology/bundle.js 2013-10-23 16:03:22 +0000
@@ -137,9 +137,6 @@
                  width: 96,
                  height: 96
                });
- node.append('text').append('tspan')
- .attr('class', 'name')
- .text(function(d) { return d.displayName; });
      },

      /**

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

*** Submitted:

Removes the service names from the bundle topology

R=gary.poster
CC=
https://codereview.appspot.com/16080043

https://codereview.appspot.com/16080043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'app/views/topology/bundle.js'
2--- app/views/topology/bundle.js 2013-10-18 16:47:34 +0000
3+++ app/views/topology/bundle.js 2013-10-23 16:08:01 +0000
4@@ -137,9 +137,6 @@
5 width: 96,
6 height: 96
7 });
8- node.append('text').append('tspan')
9- .attr('class', 'name')
10- .text(function(d) { return d.displayName; });
11 },
12
13 /**
14
15=== modified file 'test/test_bundle_module.js'
16--- test/test_bundle_module.js 2013-10-10 00:05:02 +0000
17+++ test/test_bundle_module.js 2013-10-23 16:08:01 +0000
18@@ -79,8 +79,6 @@
19
20 // We should have the two rendered services
21 assert.equal(container.all('.service').size(), 2);
22- assert.deepEqual(container.all('tspan.name').get('text'), [
23- 'mysql', 'wordpress']);
24 var service = svg.select('.service');
25
26 // Sizing

Subscribers

People subscribed via source and target branches